Skip to content

Spotify Get Album API

Retrieve full details for a Spotify album. This endpoint is a proxy to the official Spotify Get Album API.

Endpoint

GET https://api.recoupable.com/api/spotify/album

Parameters

NameTypeRequiredDescription
idstringYesThe Spotify ID of the album.
marketstringNoAn ISO 3166-1 alpha-2 country code. If provided, only content available in that market is returned.

Request Examples

cURL
curl -X GET "https://api.recoupable.com/api/spotify/album?id=4aawyAB9vmqN3uQ7FjRGTy&market=ES" \
  -H "Content-Type: application/json"

Example Response

{
  "album_type": "compilation",
  "total_tracks": 9,
  "available_markets": ["CA", "BR", "IT"],
  "external_urls": {
    "spotify": "string"
  },
  "href": "string",
  "id": "2up3OPMp9Tb4dAKM2erWXQ",
  "images": [
    {
      "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228",
      "height": 300,
      "width": 300
    }
  ],
  "name": "string",
  "release_date": "1981-12",
  "release_date_precision": "year",
  "restrictions": {
    "reason": "market"
  },
  "type": "album",
  "uri": "spotify:album:2up3OPMp9Tb4dAKM2erWXQ",
  "artists": [
    {
      "external_urls": {
        "spotify": "string"
      },
      "href": "string",
      "id": "string",
      "name": "string",
      "type": "artist",
      "uri": "string"
    }
  ],
  "tracks": {
    "href": "https://api.spotify.com/v1/me/shows?offset=0&limit=20",
    "limit": 20,
    "next": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
    "offset": 0,
    "previous": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
    "total": 4,
    "items": [
      {
        "artists": [
          {
            "external_urls": {
              "spotify": "string"
            },
            "href": "string",
            "id": "string",
            "name": "string",
            "type": "artist",
            "uri": "string"
          }
        ],
        "available_markets": ["string"],
        "disc_number": 0,
        "duration_ms": 0,
        "explicit": false,
        "external_urls": {
          "spotify": "string"
        },
        "href": "string",
        "id": "string",
        "is_playable": false,
        "linked_from": {
          "external_urls": {
            "spotify": "string"
          },
          "href": "string",
          "id": "string",
          "type": "string",
          "uri": "string"
        },
        "restrictions": {
          "reason": "string"
        },
        "name": "string",
        "preview_url": "string",
        "track_number": 0,
        "type": "string",
        "uri": "string",
        "is_local": false
      }
    ]
  },
  "copyrights": [
    {
      "text": "string",
      "type": "string"
    }
  ],
  "external_ids": {
    "isrc": "string",
    "ean": "string",
    "upc": "string"
  },
  "genres": [],
  "label": "string",
  "popularity": 0
}

Response Properties

PropertyTypeDescription
album_typestringThe type of the album. Allowed values: "album", "single", "compilation".
total_tracksintegerThe number of tracks in the album.
available_marketsstring[]Markets in which the album is available.
external_urlsobjectKnown external URLs for this album.
hrefstringA link to the Web API endpoint providing full details of the album.
idstringThe Spotify ID for the album.
imagesobject[]The cover art for the album in various sizes.
namestringThe name of the album.
release_datestringThe date the album was first released.
release_date_precisionstringThe precision with which release_date value is known.
restrictionsobjectIncluded when a content restriction is applied.
typestringThe object type. Always "album".
uristringThe Spotify URI for the album.
artistsobject[]The artists of the album.
tracksobjectThe tracks of the album.
copyrightsobject[]Copyright statements of the album.
external_idsobjectKnown external IDs for the album.
genresstring[]Deprecated. Always empty.
labelstringThe label associated with the album.
popularityintegerPopularity of the album (0-100).

For full details on nested objects and additional fields, see the Spotify Get Album documentation.

Notes

  • The tracks object is paginated; use its next and previous URLs to navigate through track listings.