Spotify API endpoint
Lists albums similar to a Spotify track, identified by `uri` or `id`. `limit` runs 1 to 50, default 50, and `albums_only` requests albums-only recommendations. Each album has its title, subtitle, publisher, images and Spotify URL. With neither `uri` nor `id`, a known public track is used.
/spotify/track/similar-albumsMCP tool: spotify_track_similar_albums
Returns similar Spotify albums.
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. Album limit, clamped to 1-50. Defaults to 50.albums_only query boolean, optional. Requests albums-only recommendations.Notable response behavior:
uri and id are omitted, a known public track is used.data.albums.| Field | Filled in, of 7 checked | Values in the sample |
|---|---|---|
| uri | 7 | “spotify:album:02naurUJ6jYrqIYOe8vxQ9” and 6 other values |
| type | 7 | Album in all 7 |
| title | 7 | “BEST BALLADS OF 關於...情歌” and 6 other values |
| imageUrl | 7 | i.scdn.co |
| images | 7 | median 3 entries |
| externalUrl | 7 | 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 | Album limit, clamped to 1-50 | 50 | |
| albums_only | boolean | No | Request albums-only recommendations | true | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/spotify/track/similar-albums?limit=10&albums_only=true" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"uri": "spotify:track:4vGg44GdCw3X8i8r01XJH0",
"limit": 50,
"albumsOnly": true,
"albums": [
{
"uri": "spotify:album:example",
"type": "Album",
"title": "Similar Album",
"externalUrl": "https://open.spotify.com/album/example"
}
],
"meta": {
"operationName": "similarAlbumsBasedOnThisTrack",
"count": 1,
"fetchedAt": "2026-05-13T15:22:41Z"
}
}
}Request schema
No body schema
Response schema
#/definitions/spotify.trackSimilarAlbumsResponseDoc
| 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.TrackSimilarAlbumsResponse | No | ||||
| data.albums | array | No | Albums Spotify suggests as similar to the track. | |||
| data.albums[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.albums[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.albums[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.albums[].images | array | No | Images available for the result, with their sizes. | |||
| data.albums[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.albums[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.albums[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.albums[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.albums[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.albums[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.albums[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.albums[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.albumsOnly | boolean | No | true | Whether only album recommendations were requested. | ||
| data.limit | integer | No | 10 | Maximum number of albums 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 albums 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 | similarAlbumsBasedOnThisTrack | Name of the Spotify web player operation that returned the data. | ||
| data.uri | string | No | spotify:track:4vGg44GdCw3X8i8r01XJH0 | Spotify URI of the track the albums are similar to. | ||
| 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/similar-albums?limit=10&albums_only=true" \
-H "x-api-key: $CRAWLORA_API_KEY"