API · Spotify
GET /spotify/artists/{id}
A Spotify artist: followers, monthly listeners, top cities, top tracks, discography.
| Request | GET /v1/spotify/artists/{id} |
| Operation id | spotify.artist.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Spotify artist: followers, monthly listeners, top cities, top tracks, discography.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | A Spotify artist id, spotify:artist: URI, or open.spotify.com/artist/ link (URL-encoded). Example: 0TnOYISbd1XYRBk9myaseg. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The artist and its catalogue overview. | SpotifyArtistResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No Spotify object by that id, or it is not public. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Spotify is temporarily unavailable. Retryable; nothing was charged. | Error |
SpotifyArtistResponse fields
| Field | Type | Description |
|---|---|---|
artist | SpotifyArtist | A simplified artist. |
top_tracks | SpotifyTrack[] | |
latest_release | SpotifyAlbumRef | A simplified album. |
albums | object | |
singles | object | |
compilations | object | |
appears_on | object | |
playlists | object | Playlists featuring the artist. |
related_artists | SpotifyArtistRef[] |
Errors use one shape everywhere; see Errors for every code and what to do.