Web Service Endpoint

Get a Library Album

Fetch a library album by using its identifier.

URL

GET https://api.music.apple.com/v1/me/library/albums/{id}

Path Parameters

id
string
(Required)

The unique identifier for the album.

Query Parameters

l
string

The localization to use, specified by a language tag. The possible values are in the supportedLanguageTags array belonging to the Storefront object specified by storefront. Otherwise, the storefront’s defaultLanguageTag is used.

include
[string]

Additional relationships to include in the fetch.

Response Codes

OK

The request was successful.

Discussion

If successful, the HTTP status code is 200 (OK) and the data array in the ResponseRoot object contains a single LibraryAlbum object. If unsuccessful, the HTTP status code indicates the error and the details are in the errors array. See Handle a Response.

This endpoint requires a music user token. See Getting Keys and Creating Tokens.

Example

https://api.music.apple.com/v1/me/library/albums/l.424stuk

See Also

Requesting User Library Albums

Get a Library Album's Relationship Directly by Name

Fetch a library album's relationship by using its identifier.

Get Multiple Library Albums

Fetch one or more library albums by using their identifiers.

Get All Library Albums

Fetch all the library albums in alphabetical order.