cURL
curl --request GET \ --url https://spotify-api31.p.rapidapi.com/api/v1/tracks/recommendations \ --header 'x-rapidapi-key: <api-key>'
{ "message": "Success", "statusCode": 200, "pagination": { "total": 100, "hasMore": true, "continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX" }, "data": [ { "id": "5QTlj4L7ODIKNnTkhDE16p", "name": "Rhymes", "uri": "spotify:track:5QTlj4L7ODIKNnTkhDE16p", "duration": 200005, "artists": [ { "name": "Hannah Wants", "uri": "spotify:artist:7sK4hnuUOXw6VStDw0q8NI" } ], "album": { "id": "4hqlx8mdrCorDXsdzQfmX1", "uri": "spotify:album:4hqlx8mdrCorDXsdzQfmX1", "name": "Rhymes", "coverArt": [ { "url": "https://i.scdn.co/image/ab67616d00001e02823349c9546161f25941b7c9", "width": 300, "height": 300 } ] }, "playability": { "playable": true, "reason": "PLAYABLE" }, "contentRating": { "label": "NONE" } } ] }
Get recommended tracks based on a specific track
API Key
Spotify track URI to get recommendations for
"spotify:track:4WNcduiCmDNfmTEz7JvmLv"
Number of recommendations to return
1 <= x <= 50
20
Success
"Success"
200
Show child attributes
Recommended tracks information
Was this page helpful?