GroundsocialDocs

API · Spotify

GET /spotify/playlists/{id}

A public Spotify playlist: followers, owner and its tracks, 100 a page.

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

A public Spotify playlist: followers, owner and its tracks, 100 a page.

Path parameters

NameTypeRequiredDescription
idstringyesA Spotify playlist id, spotify:playlist: URI, or open.spotify.com/playlist/ link (URL-encoded). Example: 37i9dQZF1DXcBWIGoYBM5M.

Query parameters

NameTypeRequiredDescription
afterstringnoCursor: the previous page’s next_cursor.

Responses

StatusMeaningSchema
200The playlist and a page of its tracks.SpotifyPlaylistResponse
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

SpotifyPlaylistResponse fields

FieldTypeDescription
playlistobject
tracksobject
next_cursorstring | nullPass as after for the next 100 tracks.

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