---
title: "Retrieve Spotify track similar albums"
method: GET
path: "/spotify/track/similar-albums"
tags: ["Spotify"]
---

# Retrieve Spotify track similar albums

`GET /spotify/track/similar-albums`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/spotify/track/similar-albums`
- Auth: API key in header `x-api-key`

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.

## Query parameters

- `uri` string
- `id` string
- `limit` integer
- `albums_only` boolean

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SpotifyTrackSimilarAlbumsResponseDoc
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` SpotifyTrackSimilarAlbumsResponse
    - `albums` SpotifySearchResultSummary[]: Albums Spotify suggests as similar to the track.
      - `description` string: Description text of the result.
      - `externalUrl` string: Link to the result on open.spotify.com.
      - `imageUrl` string: URL of the main image for the result.
      - `images` SpotifyImageAsset[]: Images available for the result, with their sizes.
        - `height` integer: Image height in pixels.
        - `url` string: URL of the image.
        - `width` integer: Image width in pixels.
      - `publisher` string: Publisher or creator name of the result.
      - `subtitle` string: Secondary line shown under the title, such as the artist or creator name.
      - `title` string: Result title as Spotify shows it.
      - `type` string: Kind of result as Spotify labels it, for example `Podcast`.
      - `uri` string: Spotify URI of the result.
    - `albumsOnly` boolean: Whether only album recommendations were requested.
    - `limit` integer: Maximum number of albums requested.
    - `meta` SpotifyTrackSimilarAlbumsMeta
      - `appVersion` string: Version of the Spotify web player the data was read from.
      - `count` integer: Number of albums returned.
      - `fetchedAt` string: Time the data was fetched, in UTC (RFC 3339).
      - `operationName` string: Name of the Spotify web player operation that returned the data.
    - `uri` string: Spotify URI of the track the albums are similar to.
  - `msg` unknown

## Other responses

- `400`: Missing or invalid parameters
- `429`: Rate limit exceeded
- `503`: Spotify upstream request failed

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
