GroundsocialDocs

API · Spotify

GET /spotify/albums/{id}

A Spotify album with its tracks, label, release date and play counts.

RequestGET /v1/spotify/albums/{id}
Operation idspotify.album.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

A Spotify album with its tracks, label, release date and play counts.

Path parameters

NameTypeRequiredDescription
idstringyesA Spotify album id, spotify:album: URI, or open.spotify.com/album/ link (URL-encoded). Example: 4aawyAB9vmqN3uQ7FjRGTy.

Responses

StatusMeaningSchema
200The album with its tracks.SpotifyAlbumResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No Spotify object by that id, or it is not public.Error
429Too many requests. Wait for Retry-After seconds.Error
503Spotify is temporarily unavailable. Retryable; nothing was charged.Error

SpotifyAlbumResponse fields

FieldTypeDescription
albumSpotifyAlbumA simplified album.

Errors use one shape everywhere; see Errors for every code and what to do.