100 free credits. No credit card required. Get a key

Spotify artist API

A Spotify artist with followers, monthly listeners, world rank, top cities, biography, top tracks with play counts, albums, singles and related artists.

GET /v1/spotify/artists/{id}1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/spotify/artists/0TnOYISbd1XYRBk9myaseg",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"artist": {
"id": "0TnOYISbd1XYRBk9myaseg",
"name": "Pitbull",
"type": "artist",
"uri": "spotify:artist:0TnOYISbd1XYRBk9myaseg",
"external_urls": {
"spotify": "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg"
},
"images": [
{
"…": "3 fields"
},
"… 2 more"
],
"followers": {
"total": 13666627
},
"monthly_listeners": 73291484,
"…": "6 more fields"
},
"top_tracks": [
{
"id": "4QNpBfC0zvjKqPJcyqBy9W",
"name": "Give Me Everything (feat. Nayer)",
"type": "track",
"uri": "spotify:track:4QNpBfC0zvjKqPJcyqBy9W",
"external_urls": {
"…": "1 fields"
},
"duration_ms": 252306,
"explicit": false,
"disc_number": 1,
"…": "5 more fields"
},
"… 9 more"
],
"latest_release": {
"id": "2vCZdkjVYlWjg61JjAlkQQ",
"name": "Ooh Laka Laka La",
"type": "album",
"album_type": "single",
"uri": "spotify:album:2vCZdkjVYlWjg61JjAlkQQ",
"external_urls": {
"spotify": "https://open.spotify.com/album/2vCZdkjVYlWjg61JjAlkQQ"
},
"images": [
{
"…": "3 fields"
},
"… 2 more"
],
"release_date": "2026-11-11",
"…": "3 more fields"
},
"albums": {
"items": [
{
"…": "11 fields"
},
"… 9 more"
],
"total": 22
},
"singles": {
"items": [
{
"…": "11 fields"
},
"… 9 more"
],
"total": 184
},
"compilations": {
"items": [
{
"…": "11 fields"
},
"… 2 more"
],
"total": 3
},
"appears_on": {
"items": [
{
"…": "11 fields"
},
"… 20 more"
],
"total": 781
},
"playlists": {
"items": [
{
"…": "8 fields"
},
"… 7 more"
],
"total": 8
},
"…": "1 more fields"
}

Parameters

NameTypeDescription
idpath · requiredstringA Spotify artist id, spotify:artist: URI, or open.spotify.com/artist/ link (URL-encoded). Example: 0TnOYISbd1XYRBk9myaseg.
Response fields

200 with a SpotifyArtistResponse, in the shape of the Spotify Web API’s own objects.

FieldTypeDescription
artistSpotifyArtistA simplified artist.
top_tracksSpotifyTrack[]
latest_releaseSpotifyAlbumRefA simplified album.
albumsobject
singlesobject
compilationsobject
appears_onobject
playlistsobjectPlaylists featuring the artist.
related_artistsSpotifyArtistRef[]
Status codes
StatusMeaning
200The artist and its catalogue overview.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No Spotify object by that id, or it is not public.
429Too many requests. Wait for Retry-After seconds.
503Spotify is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Does it include popularity?

No, the web player does not show it; monthly listeners and play counts are richer signals.

Spotify is a trademark of Spotify AB. We are not affiliated with or endorsed by Spotify.