Spotify API endpoint
Returns Spotify's recommendations for a track, given its URI, `open.spotify.com` URL or track id. Each recommendation has a type, title, subtitle, description, Spotify URI, external URL and images. `limit` is clamped to 1-50 and defaults to 5.
/spotify/track/recommendedMCP tool: spotify_track_recommended
Returns recommended Spotify entities.
Path/query/body parameters:
uri query string, optional. Spotify track URI or open.spotify.com track URL.id query string, optional. Spotify track ID. Used when uri is omitted.limit query integer, optional. Recommendation limit, clamped to 1-50. Defaults to 5.Notable response behavior:
uri and id are omitted, a known public track is used.503.| Field | Filled in, of 5 checked | Values in the sample |
|---|---|---|
| uri | 5 | “spotify:track:0KMxxchUDpKAR9bq34WdKP” and 4 other values |
| type | 3 | “Track” |
| title | 5 | “傷口上灑辣椒醬” and 4 other values |
| imageUrl | 3 | i.scdn.co |
| images | 3 | median 3 entries |
| externalUrl | 5 | open.spotify.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| uri | string | No | Spotify track URI or open.spotify.com track URL | spotify:track:4vGg44GdCw3X8i8r01XJH0 | |
| id | string | No | Spotify track ID. Used when uri is omitted | 4vGg44GdCw3X8i8r01XJH0 | |
| limit | integer | No | Recommendation limit, clamped to 1-50 | 5 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/spotify/track/recommended?limit=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"uri": "spotify:track:4vGg44GdCw3X8i8r01XJH0",
"limit": 5,
"recommendations": [
{
"uri": "spotify:track:example",
"type": "Track",
"title": "Recommended Track",
"externalUrl": "https://open.spotify.com/track/example"
}
],
"meta": {
"operationName": "internalLinkRecommenderTrack",
"count": 1,
"fetchedAt": "2026-05-13T15:22:41Z"
}
}
}Request schema
No body schema
Response schema
#/definitions/spotify.trackRecommendedResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | spotify.TrackRecommendedResponse | No | ||||
| data.limit | integer | No | 10 | Maximum number of recommendations requested. | ||
| data.meta | object | No | Details about this response. | |||
| data.meta.appVersion | string | No | 1.2.90.403.gf901f20f | Version of the Spotify web player the data was read from. | ||
| data.meta.count | integer | No | 10 | Number of recommendations returned. | ||
| data.meta.fetchedAt | string | No | 2026-05-13T20:41:12Z | Time the data was fetched, in UTC (RFC 3339). | ||
| data.meta.operationName | string | No | internalLinkRecommenderTrack | Name of the Spotify web player operation that returned the data. | ||
| data.recommendations | array | No | Items Spotify recommends for the track. | |||
| data.recommendations[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the recommended item. | ||
| data.recommendations[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the recommended item on open.spotify.com. | ||
| data.recommendations[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the recommended item. | ||
| data.recommendations[].images | array | No | Images available for the recommended item, with their sizes. | |||
| data.recommendations[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.recommendations[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.recommendations[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.recommendations[].publisher | string | No | Joe Rogan | Publisher or creator name of the recommended item. | ||
| data.recommendations[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the creator name. | ||
| data.recommendations[].title | string | No | The Joe Rogan Experience | Title of the recommended item as Spotify shows it. | ||
| data.recommendations[].type | string | No | Podcast | Kind of item as Spotify labels it, for example `Podcast`. | ||
| data.recommendations[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the recommended item. | ||
| data.uri | string | No | spotify:track:4vGg44GdCw3X8i8r01XJH0 | Spotify URI of the track the recommendations are for. | ||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 400 | Missing or invalid parameters | #/definitions/app.Response |
| 429 | Rate limit exceeded | #/definitions/app.Response |
| 503 | Spotify upstream request failed | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/spotify/track/recommended?limit=10" \
-H "x-api-key: $CRAWLORA_API_KEY"