API · Apple Music
GET /applemusic/albums/{id}
An Apple Music album with every track, release date, genre and copyright.
| |
|---|
| Request | GET /v1/applemusic/albums/{id} |
| Operation id | applemusic.album.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
An Apple Music album with every track, release date, genre and copyright.
| Name | Type | Required | Description |
|---|
id | string | yes | An Apple Music album id or music.apple.com link (URL-encoded). Example: 1440913923. |
| Name | Type | Required | Description |
|---|
country | string | no | Storefront, ISO 3166-1 alpha-2 in any case (default us, or the link’s). uk reads as gb. Example: gb. |
| Status | Meaning | Schema |
|---|
200 | The album and its tracks. | AppleMusicAlbumResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No Apple Music item by that id in that storefront. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Apple Music is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
album | AppleMusicAlbum | |
tracks | AppleMusicTrack[] | |
Errors use one shape everywhere; see Errors for every code and what to do.