Get an Album's Tracks
Developing
GET
/albums/{id}/tracks
category-albums
Optional parameters can be used to limit the number of tracks returned.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.spotify.com/v1/albums//tracks' \
--header 'Authorization;'
Response Response Example
200 - Example 1
{
"href": "string",
"items": [
{
"artists": [
{
"external_urls": {
"spotify": "string"
},
"href": "string",
"id": "string",
"name": "string",
"type": "string",
"uri": "string"
}
],
"available_markets": [
"string"
],
"disc_number": 0,
"duration_ms": 0,
"explicit": true,
"external_urls": {
"spotify": "string"
},
"href": "string",
"id": "string",
"is_local": true,
"is_playable": true,
"linked_from": {
"external_urls": {
"spotify": "string"
},
"href": "string",
"id": "string",
"type": "string",
"uri": "string"
},
"name": "string",
"preview_url": "string",
"restrictions": {
"reason": "string"
},
"track_number": 0,
"type": "string",
"uri": "string"
}
],
"limit": 0,
"next": "string",
"offset": 0,
"previous": "string",
"total": 0
}
Request
Path Params
id
string
required
Query Params
market
string
optional
limit
integer
optional
offset
integer
optional
Header Params
Authorization
string
required
Responses
Modified at 2022-09-12 10:04:50