Albums
Get Album Relationships
Fetch an album's tracks or artists.
Albums expose two dedicated relationship endpoints.
Endpoint references:
Relationship Endpoints
| Relationship | Endpoint | Response |
|---|---|---|
| Tracks | GET /albums/{id}/rel/tracks | SongListResponse |
| Artists | GET /albums/{id}/rel/artists | ArtistListResponse |
Path Parameters
| Name | Description | Type | Example |
|---|---|---|---|
id | Album id | string | album_123 |
Query Parameters
Scoped parameters like view[...] and limit[...] can shape included relationships.
Tracks
GET /albums/{id}/rel/tracks
| Name | Values | Required |
|---|---|---|
lang | locale string | false |
include | albums, artists | false |
view | minimal | false |
view[songs] | minimal | false |
view[albums] | minimal | false |
view[artists] | minimal | false |
limit[albums] | 1-25 | false |
limit[artists] | 1-25 | false |
Artists
GET /albums/{id}/rel/artists
| Name | Values | Required |
|---|---|---|
lang | locale string | false |
include | albums | false |
view | minimal | false |
view[artists] | minimal | false |
view[albums] | minimal | false |
limit[albums] | 1-25 | false |
Responses
- Tracks:
SongListResponse - Artists:
ArtistListResponse - Errors:
ErrorResponse