Spotify: Track
Track from Spotify as JSON. 1 credit per successful call.
GET /v1/spotify/track
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
id | string | Required | Up to 200 characters |
Example request
Spotify
GET/v1/spotify/track?id=2Foc5Q5nqNiosCNqttzHof
{
"search_parameters": {
"engine": "spotify_track",
"id": "2Foc5Q5nqNiosCNqttzHof"
},
"__typename": "Track",
"associationsV3": {
"audioAssociations": {
"__typename": "TrackAudioAssociationPage"
},
"videoAssociations": {
"totalCount": 0
}
},
"contentRating": {
"label": "NONE"
},
"duration": {
"totalMilliseconds": 247632
},
"id": "2Foc5Q5nqNiosCNqttzHof",
"mediaType": "AUDIO",
"name": "Get Lucky (Radio Edit) [feat. Pharrell Williams and Nile Rodgers]",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"playcount": "1469144345",
"saved": false,
"sharingInfo": {
"shareId": "ZFybGWRzQ4uxsOkLNmYynw",
"shareUrl": "https://open.spotify.com/track/2Foc5Q5nqNiosCNqttzHof?si=ZFybGWRzQ4uxsOkLNmYynw"
},
"trackNumber": 1,
"uri": "spotify:track:2Foc5Q5nqNiosCNqttzHof",
"visualIdentity": {
"squareCoverImage": {
"__typename": "VisualIdentityImage",
"extractedColorSet": {
"encoreBaseSetTextColor": {
"alpha": 255,
"blue": 142,
"green": 163,
"red": 255
},
"highContrast": {
"backgroundBase": {
"alpha": 255,
"blue": 24,
"green": 40,
"red": 136
},
"backgroundTintedBase": {
"alpha": 255,
"blue": 0,
"green": 0,
"red": 78
},
"textBase": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textBrightAccent": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textSubdued": {
"alpha": 255,
"blue": 174,
"green": 190,
"red": 255
}
},
"higherContrast": {
"backgroundBase": {
"alpha": 255,
"blue": 0,
"green": 0,
"red": 101
},
"backgroundTintedBase": {
"alpha": 255,
"blue": 41,
"green": 52,
"red": 147
},
"textBase": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textBrightAccent": {
"alpha": 255,
"blue": 96,
"green": 215,
"red": 30
},
"textSubdued": {
"alpha": 255,
"blue": 174,
"green": 190,
"red": 255
}
},
"minContrast": {
"backgroundBase": {
"alpha": 255,
"blue": 24,
"green": 40,
"red": 136
},
"backgroundTintedBase": {
"alpha": 255,
"blue": 0,
"green": 0,
"red": 78
},
"textBase": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textBrightAccent": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textSubdued": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
}
}
}
}
},
"albumOfTrack": {
"copyright": {
"items": [
{
"text": "(P) 2013 Daft Life Limited under exclusive license to Columbia Records, a Division of Sony Music Entertainment",
"type": "P"
}
],
"totalCount": 1
},
"courtesyLine": "",
"id": "2ePFIvZKMe8zefATp9ofFA",
"date": {
"isoString": "2013-04-19T00:00:00Z",
"precision": "DAY",
"year": 2013
},
"name": "Get Lucky (Radio Edit) [feat. Pharrell Williams and Nile Rodgers]",
"playability": {
"playable": true
},
"sharingInfo": {
"shareId": "dsoui9C0TQGGnPHJJaZBAA",
"shareUrl": "https://open.spotify.com/album/2ePFIvZKMe8zefATp9ofFA?si=dsoui9C0TQGGnPHJJaZBAA"
},
"tracks": {
"items": [
{
"track": {
"trackNumber": 1,
"uri": "spotify:track:2Foc5Q5nqNiosCNqttzHof"
}
}
],
"totalCount": 1
},
"type": "SINGLE",
"uri": "spotify:album:2ePFIvZKMe8zefATp9ofFA",
"coverArt": {
"extractedColors": {
"colorRaw": {
"hex": "#882818"
}
},
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e0219a88dd5c7118e87d7b1619e",
"width": 300
},
{
"height": 64,
"url": "https://i.scdn.co/image/ab67616d0000485119a88dd5c7118e87d7b1619e",
"width": 64
},
{
"height": 640,
"url": "https://i.scdn.co/image/ab67616d0000b27319a88dd5c7118e87d7b1619e",
"width": 640
}
]
}
},
"firstArtist": {
"items": [
{
"discography": {
"albums": {
"items": [
"…",
"…",
"…"
],
"totalCount": 15
},
"popularReleasesAlbums": {
"items": [
"…",
"…",
"…"
]
},
"singles": {
"items": [
"…",
"…",
"…"
],
"totalCount": 21
},
"topTracks": {
"items": [
"…",
"…",
"…"
]
}
},
"id": "4tZwfgrHOc3mvqYlEYSvVi",
"profile": {
"name": "Daft Punk"
},
"relatedContent": {
"relatedArtists": {
"items": [
"…",
"…",
"…"
],
"totalCount": 40
}
},
"uri": "spotify:artist:4tZwfgrHOc3mvqYlEYSvVi",
"visuals": {
"avatarImage": {
"sources": [
"…",
"…",
"…"
]
}
}
}
],
"totalCount": 3
},
"otherArtists": {
"items": [
{
"discography": {
"popularReleasesAlbums": {
"items": [
"…",
"…",
"…"
],
"totalCount": 20
}
},
"id": "2RdwBSPQiwcmiDo9kixcl8",
"profile": {
"name": "Pharrell Williams"
},
"uri": "spotify:artist:2RdwBSPQiwcmiDo9kixcl8",
"visuals": {
"avatarImage": {
"sources": [
"…",
"…",
"…"
]
}
}
},
{
"discography": {
"popularReleasesAlbums": {
"items": [
"…",
"…",
"…"
],
"totalCount": 20
}
},
"id": "3yDIp0kaq9EFKe07X1X2rz",
"profile": {
"name": "Nile Rodgers"
},
"uri": "spotify:artist:3yDIp0kaq9EFKe07X1X2rz",
"visuals": {
"avatarImage": {
"sources": [
"…",
"…",
"…"
]
}
}
}
]
}
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 18 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
search_parameters | object |
__typename | string |
associationsV3 | object |
contentRating | object |
duration | object |
id | string |
mediaType | string |
name | string |
playability | object |
playcount | string |
saved | boolean |
sharingInfo | object |
trackNumber | integer |
uri | string |
visualIdentity | object |
albumOfTrack | object |
firstArtist | object |
otherArtists | object |