APIs / Spotify / Album

Spotify: Album

Album from Spotify as JSON. 1–2 credits per successful call.

GET /v1/spotify/album

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
idstringRequiredUp to 200 characters

Example request

Spotify
GET/v1/spotify/album?id=4yP0hdKOZPNshxUOjY0cZj
{
  "search_parameters": {
    "engine": "spotify_album",
    "id": "4yP0hdKOZPNshxUOjY0cZj"
  },
  "__typename": "Album",
  "copyright": {
    "items": [
      {
        "text": "© 2020 The Weeknd XO, Inc., marketed by Republic Records, a division of UMG Recordings, Inc.",
        "type": "C"
      },
      {
        "text": "℗ 2020 The Weeknd XO, Inc., marketed by Republic Records, a division of UMG Recordings, Inc.",
        "type": "P"
      }
    ],
    "totalCount": 2
  },
  "courtesyLine": "",
  "date": {
    "isoString": "2020-03-20T00:00:00Z",
    "precision": "DAY"
  },
  "isPreRelease": false,
  "label": "Republic Records",
  "name": "After Hours",
  "playability": {
    "playable": true,
    "reason": "PLAYABLE"
  },
  "saved": false,
  "sharingInfo": {
    "shareId": "rapl8l2DSEWYUI7oKktaqQ",
    "shareUrl": "https://open.spotify.com/album/4yP0hdKOZPNshxUOjY0cZj?si=rapl8l2DSEWYUI7oKktaqQ"
  },
  "tracksV2": {
    "items": [
      {
        "track": {
          "artists": {
            "items": [
              "…"
            ]
          },
          "associationsV3": {
            "audioAssociations": "…",
            "videoAssociations": "…"
          },
          "contentRating": {
            "label": "EXPLICIT"
          },
          "discNumber": 1,
          "duration": {
            "totalMilliseconds": 250053
          },
          "mediaType": "AUDIO",
          "name": "Alone Again",
          "playability": {
            "playable": true
          },
          "playcount": "234404795",
          "saved": false,
          "trackNumber": 1,
          "uri": "spotify:track:6b5P51m8xx2XA6U7sdNZ5E"
        },
        "uid": "0329cf1fa404f40b5159"
      },
      {
        "track": {
          "artists": {
            "items": [
              "…"
            ]
          },
          "associationsV3": {
            "audioAssociations": "…",
            "videoAssociations": "…"
          },
          "contentRating": {
            "label": "EXPLICIT"
          },
          "discNumber": 1,
          "duration": {
            "totalMilliseconds": 239973
          },
          "mediaType": "AUDIO",
          "name": "Too Late",
          "playability": {
            "playable": true
          },
          "playcount": "233227473",
          "saved": false,
          "trackNumber": 2,
          "uri": "spotify:track:2K9Ovn1o2bTGqbsABGC6m3"
        },
        "uid": "a6faa7c7f010909096cd"
      },
      {
        "track": {
          "artists": {
            "items": [
              "…"
            ]
          },
          "associationsV3": {
            "audioAssociations": "…",
            "videoAssociations": "…"
          },
          "contentRating": {
            "label": "EXPLICIT"
          },
          "discNumber": 1,
          "duration": {
            "totalMilliseconds": 211400
          },
          "mediaType": "AUDIO",
          "name": "Hardest To Love",
          "playability": {
            "playable": true
          },
          "playcount": "238374318",
          "saved": false,
          "trackNumber": 3,
          "uri": "spotify:track:6kWxIqQDsKFYCJGbU4AjCX"
        },
        "uid": "7301e6bf8d4276e81a55"
      }
    ],
    "totalCount": 14
  },
  "type": "ALBUM",
  "uri": "spotify:album:4yP0hdKOZPNshxUOjY0cZj",
  "visualIdentity": {
    "squareCoverImage": {
      "__typename": "VisualIdentityImage",
      "extractedColorSet": {
        "encoreBaseSetTextColor": {
          "alpha": 255,
          "blue": 150,
          "green": 162,
          "red": 255
        },
        "highContrast": {
          "backgroundBase": {
            "alpha": 255,
            "blue": 16,
            "green": 16,
            "red": 112
          },
          "backgroundTintedBase": {
            "alpha": 255,
            "blue": 51,
            "green": 57,
            "red": 153
          },
          "textBase": {
            "alpha": 255,
            "blue": 255,
            "green": 255,
            "red": 255
          },
          "textBrightAccent": {
            "alpha": 255,
            "blue": 255,
            "green": 255,
            "red": 255
          },
          "textSubdued": {
            "alpha": 255,
            "blue": 180,
            "green": 189,
            "red": 255
          }
        },
        "higherContrast": {
          "backgroundBase": {
            "alpha": 255,
            "blue": 6,
            "green": 1,
            "red": 101
          },
          "backgroundTintedBase": {
            "alpha": 255,
            "blue": 46,
            "green": 52,
            "red": 147
          },
          "textBase": {
            "alpha": 255,
            "blue": 255,
            "green": 255,
            "red": 255
          },
          "textBrightAccent": {
            "alpha": 255,
            "blue": 96,
            "green": 215,
            "red": 30
          },
          "textSubdued": {
            "alpha": 255,
            "blue": 180,
            "green": 189,
            "red": 255
          }
        },
        "minContrast": {
          "backgroundBase": {
            "alpha": 255,
            "blue": 16,
            "green": 16,
            "red": 112
          },
          "backgroundTintedBase": {
            "alpha": 255,
            "blue": 51,
            "green": 57,
            "red": 153
          },
          "textBase": {
            "alpha": 255,
            "blue": 255,
            "green": 255,
            "red": 255
          },
          "textBrightAccent": {
            "alpha": 255,
            "blue": 255,
            "green": 255,
            "red": 255
          },
          "textSubdued": {
            "alpha": 255,
            "blue": 255,
            "green": 255,
            "red": 255
          }
        }
      }
    }
  },
  "artists": {
    "items": [
      {
        "id": "1Xyo4u8uXC1ZmMpatF05PJ",
        "profile": {
          "name": "The Weeknd"
        },
        "sharingInfo": {
          "shareUrl": "https://open.spotify.com/artist/1Xyo4u8uXC1ZmMpatF05PJ?si=QekWobJkR-OlstAXH1DSHw"
        },
        "uri": "spotify:artist:1Xyo4u8uXC1ZmMpatF05PJ",
        "visuals": {
          "avatarImage": {
            "sources": [
              "…",
              "…",
              "…"
            ]
          }
        }
      }
    ],
    "totalCount": 1
  },
  "coverArt": {
    "extractedColors": {
      "colorDark": {
        "hex": "#701010"
      },
      "colorLight": {
        "hex": "#E82121"
      },
      "colorRaw": {
        "hex": "#701010"
      }
    },
    "sources": [
      {
        "height": 300,
        "url": "https://i.scdn.co/image/ab67616d00001e028863bc11d2aa12b54f5aeb36",
        "width": 300
      },
      {
        "height": 64,
        "url": "https://i.scdn.co/image/ab67616d000048518863bc11d2aa12b54f5aeb36",
        "width": 64
      },
      {
        "height": 640,
        "url": "https://i.scdn.co/image/ab67616d0000b2738863bc11d2aa12b54f5aeb36",
        "width": 640
      }
    ]
  },
  "discs": {
    "items": [
      {
        "number": 1,
        "tracks": {
          "totalCount": 14
        }
      }
    ],
    "totalCount": 1
  },
  "releases": {
    "items": [
      {
        "name": "After Hours",
        "uri": "spotify:album:03NCvBIGqzLPhLoi4pDb3L"
      }
    ],
    "totalCount": 1
  },
  "moreAlbumsByArtist": {
    "items": [
      {
        "discography": {
          "popularReleasesAlbums": {
            "items": [
              "…",
              "…",
              "…"
            ]
          }
        }
      }
    ]
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1–2 credits per successful call (1 credit, or 2 when a second lookup is needed); failed calls are free.

Response fields

The response has these 20 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
search_parametersobject
__typenamestring
copyrightobject
courtesyLinestring
dateobject
isPreReleaseboolean
labelstring
namestring
playabilityobject
savedboolean
sharingInfoobject
tracksV2object
typestring
uristring
visualIdentityobject
artistsobject
coverArtobject
discsobject
releasesobject
moreAlbumsByArtistobject