cURL
curl --request GET \ --url https://spotify-api31.p.rapidapi.com/api/v1/albums/tracks \ --header 'x-rapidapi-key: <api-key>'
{ "data": [ { "id": "5ftED3IYts5K7gChGOUuHG", "name": "20180512", "uri": "spotify:track:5ftED3IYts5K7gChGOUuHG", "duration": 247663, "artists": [ { "name": "Luis Fonsi", "uri": "spotify:artist:4V8Sr092TqfHkfAA5fXXqG" } ], "contentRating": { "label": "NONE" }, "playability": { "playable": true } } ], "message": "Success", "statusCode": 200, "pagination": { "total": 100, "hasMore": true, "continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX" } }
Get tracks from a specific album
API Key
Spotify album or prerelease URI to get the detail of
"spotify:album:70hX7IYqmUGV97OXs2v848"
Offset for pagination
x >= 0
0
Number of results to return
1 <= x <= 300
300
Success
Array of tracks in the album
Show child attributes
"Success"
200
Was this page helpful?