---
title: "Retrieve Spotify album tracks"
method: GET
path: "/spotify/album/tracks"
tags: ["Spotify"]
---

# Retrieve Spotify album tracks

`GET /spotify/album/tracks`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/spotify/album/tracks`
- Auth: API key in header `x-api-key`

Lists the tracks of a Spotify album, identified by `uri` (a Spotify URI or open.spotify.com URL) or `id`. `offset` defaults to 0 and `limit` runs 1 to 50, default 50. Each track has its title, URI, subtitle, image and URL. The album's name, artists and track total come back alongside. An invalid identifier returns 400.

## Query parameters

- `uri` string
- `id` string
- `offset` integer
- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SpotifyAlbumResponseDoc
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` SpotifyAlbumResponse
    - `albumType` string: Album format as Spotify labels it.
    - `artists` SpotifySearchResultSummary[]: Artists credited on the album.
      - `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.
    - `copyrights` string[]: Copyright notices listed for the album.
    - `durationMs` integer: Total album length in milliseconds.
    - `externalUrl` string: Link to the album on open.spotify.com.
    - `id` string: Spotify ID of the album.
    - `imageUrl` string: URL of the album cover image.
    - `images` SpotifyImageAsset[]: Cover images available for the album, with their sizes.
      - `height` integer: Image height in pixels.
      - `url` string: URL of the image.
      - `width` integer: Image width in pixels.
    - `isExplicit` boolean: Whether Spotify marks the album as explicit.
    - `isPlayable` boolean: Whether the album can be played.
    - `limit` integer: Maximum number of tracks requested.
    - `meta` SpotifyAlbumMeta
      - `appVersion` string: Version of the Spotify web player the data was read from.
      - `fetchedAt` string: Time the data was fetched, in UTC (RFC 3339).
      - `operationName` string: Name of the Spotify web player operation that returned the data.
      - `trackCount` integer: Number of tracks returned.
    - `name` string: Album title as Spotify shows it.
    - `offset` integer: Position of the first track returned.
    - `releaseDate` string: Date the album was released, as Spotify returns it.
    - `shareUrl` string: Link to the album that Spotify offers for sharing.
    - `totalTracks` integer: Total number of tracks on the album.
    - `tracks` SpotifySearchResultSummary[]: Tracks returned for the album.
      - `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.
    - `type` string: Kind of item as Spotify labels it, for example `Album`.
    - `uri` string: Spotify URI of the album.
  - `msg` unknown

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[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)
