UnifAPI Docs

Get a Spotify album

Returns a Spotify album by id: title, artists, release date, label, cover art and tracks. Returns `not_found` when the album does not exist.

Pricing — $ · min $0.003

Minimum 3 credits ($0.003) per call. Records returned above the minimum bill 1 credit ($0.001) each.

GET
/spotify/albums/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key. Provider credentials are managed by UnifAPI.

In: header

Path Parameters

id*string

Spotify album id, as in open.spotify.com/album/{id}.

Length1 <= length <= 500

Header Parameters

Unifapi-Version?"2026-07-01"

Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md

Default"2026-07-01"

Value in

  • "2026-07-01"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/spotify/albums/string"
{  "request_id": "string",  "data": {    "platform": "string",    "album_id": "string",    "title": "string",    "album_type": "string",    "label": "string",    "release_date": "string",    "release_date_precision": "string",    "cover_art_url": "string",    "album_url": "string",    "is_playable": true,    "is_pre_release": true,    "copyright": [      {        "text": "string",        "type": "string"      }    ],    "artists": [      {        "artist_id": "string",        "display_name": "string",        "profile_url": "string",        "avatar_url": "string"      }    ],    "track_count": 0,    "tracks": [      {        "track_id": "string",        "title": "string",        "track_number": 0,        "disc_number": 0,        "duration_ms": 0,        "is_explicit": true,        "play_count": 0,        "artists": [          {            "artist_id": "string",            "display_name": "string"          }        ]      }    ]  },  "billing": {    "credits_charged": 0,    "records_charged": 0,    "balance_remaining": 0,    "truncated_due_to_balance": true  }}