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"
}
]
}
],
"message": "Success",
"statusCode": 200,
"pagination": {
"total": 100,
"hasMore": true,
"continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
}
}Get tracks from a specific album
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"
}
]
}
],
"message": "Success",
"statusCode": 200,
"pagination": {
"total": 100,
"hasMore": true,
"continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
}
}API Key
Spotify album or prerelease URI to get the detail of
^spotify:(album|prerelease):[a-zA-Z0-9]+$"spotify:album:70hX7IYqmUGV97OXs2v848"
Offset for pagination
x >= 00
Number of results to return
1 <= x <= 300300
Was this page helpful?