Spotify
Retrieve Spotify album tracks
Lists the tracks of a Spotify album, identified by uri (a Spotify URI or open.spotify.com URL) or id. offset defaults to 0 and limit runs 1 to 50, default 50. Each track has its title, URI, subtitle, image and URL. The album's name, artists and track total come back alongside. An invalid identifier returns 400.
get/spotify/album/tracks
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/spotify/album/tracks
- Auth: API key in header x-api-key
Query parameters
uristring
Spotify album URI or open.spotify.com album URL
idstring
Spotify album ID
offsetinteger
Track offset
limitinteger
Track limit, clamped to 1-50
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"data": {
"artists": [
{
"description": "The official podcast of comedian Joe Rogan.",
"externalUrl": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
"imageUrl": "https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b",
"images": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0",
"width": 640
}
],
"publisher": "Joe Rogan",
"subtitle": "Joe Rogan",
"title": "The Joe Rogan Experience",
"type": "Podcast",
"uri": "spotify:show:4rOoJ6Egrf8K2IrywzwOMk"
}
],
"images": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0",
"width": 640
}
],
"tracks": [
{
"description": "The official podcast of comedian Joe Rogan.",
"externalUrl": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
"imageUrl": "https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b",
"images": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0",
"width": 640
}
],
"publisher": "Joe Rogan",
"subtitle": "Joe Rogan",
"title": "The Joe Rogan Experience",
"type": "Podcast",
"uri": "spotify:show:4rOoJ6Egrf8K2IrywzwOMk"
}
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.