GroundsocialDocs

API · Spotify

GET /spotify/artists/{id}

A Spotify artist: followers, monthly listeners, top cities, top tracks, discography.

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

A Spotify artist: followers, monthly listeners, top cities, top tracks, discography.

Path parameters

NameTypeRequiredDescription
idstringyesA Spotify artist id, spotify:artist: URI, or open.spotify.com/artist/ link (URL-encoded). Example: 0TnOYISbd1XYRBk9myaseg.

Responses

StatusMeaningSchema
200The artist and its catalogue overview.SpotifyArtistResponse
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

SpotifyArtistResponse fields

FieldTypeDescription
artistSpotifyArtistA simplified artist.
top_tracksSpotifyTrack[]
latest_releaseSpotifyAlbumRefA simplified album.
albumsobject
singlesobject
compilationsobject
appears_onobject
playlistsobjectPlaylists featuring the artist.
related_artistsSpotifyArtistRef[]

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