Skip to content
Web APIReferences / Albums / Get Several Albums

Get Several Albums

Get Spotify catalog information for multiple albums identified by their Spotify IDs.

Important policy notes

Request

  • ids
    string
    Required

    A comma-separated list of the Spotify IDs for the albums. Maximum: 20 IDs.

    Example value: "382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo,2noRn2Aes5aoNVsU6iWThc"
  • market
    string

    An ISO 3166-1 alpha-2 country code. If a country code is specified, only content that is available in that market will be returned.
    If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.
    Note: If neither market or user country are provided, the content is considered unavailable for the client.
    Users can view the country that is associated with their account in the account settings.

    Example value: "ES"

Response

A set of albums

  • Required
    • album_type
      string
      Required

      The type of the album.

      Example value: "compilation"Allowed values: "album", "single", "compilation"
    • total_tracks
      integer
      Required

      The number of tracks in the album.

      Example value: 9
    • available_markets
      array of strings
      Required

      The markets in which the album is available: ISO 3166-1 alpha-2 country codes. NOTE: an album is considered available in a market when at least 1 of its tracks is available in that market.

    • Required

      Known external URLs for this album.

    • href
      string
      Required

      A link to the Web API endpoint providing full details of the album.

    • id
      string
      Required

      The Spotify ID for the album.

      Example value: "2up3OPMp9Tb4dAKM2erWXQ"
    • Required

      The cover art for the album in various sizes, widest first.

    • name
      string
      Required

      The name of the album. In case of an album takedown, the value may be an empty string.

    • release_date
      string
      Required

      The date the album was first released.

      Example value: "1981-12"
    • release_date_precision
      string
      Required

      The precision with which release_date value is known.

      Example value: "year"Allowed values: "year", "month", "day"
    • Included in the response when a content restriction is applied.

    • type
      string
      Required

      The object type.

      Allowed values: "album"
    • uri
      string
      Required

      The Spotify URI for the album.

      Example value: "spotify:album:2up3OPMp9Tb4dAKM2erWXQ"
    • The copyright statements of the album.

    • Known external IDs for the album.

    • genres
      array of strings

      A list of the genres the album is associated with. If not yet classified, the array is empty.

    • label
      string

      The label associated with the album.

    • popularity
      integer

      The popularity of the album. The value will be between 0 and 100, with 100 being the most popular.

    • The artists of the album. Each artist object includes a link in href to more detailed information about the artist.

    • The tracks of the album.