Web Service Endpoint

Get Multiple Catalog Playlists

Fetch one or more playlists by using their identifiers.

URL

GET https://api.music.apple.com/v1/catalog/{storefront}/playlists

Path Parameters

storefront
string
(Required)

An iTunes Store territory, specified by an ISO 3166 alpha-2 country code. The possible values are the id attributes of Storefront objects.

Query Parameters

ids
[string]
(Required)

The unique identifiers for the playlists. The maximum fetch limit is 25.

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 an array of one or more Playlist objects. If unsuccessful, the HTTP status code indicates the error and the details are in the errors array. See Handle a Response.

Example

https://api.music.apple.com/v1/catalog/us/playlists?ids=pl.acc464c750b94302b8806e5fcbe56e17,pl.97c6f95b0b884bedbcce117f9ea5d54b

See Also

Requesting a Catalog Playlist

Get a Catalog Playlist

Fetch a playlist by using its identifier.

Get a Catalog Playlist's Relationship Directly by Name

Fetch a playlist's relationship by using its identifier.