A Spotify artist by URL or ID: followers, monthly listeners, world rank, top cities, top tracks with play counts and releases.
2 credits/ call
Never more than 6 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/spotify.artist" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"}'{
"output": {
"found": true,
"data": {
"name": "<string | null>",
"followers": "<integer | null>",
"monthlyListeners": "<integer | null>",
"verified": "<boolean | null>", …
}
},
"credits": 2
}Input and output
2 fields
https://open.spotify.com/artist/06HL4z0….19 fields
Good to know
Discography crawling is not enabled.
Terms of use. Monthly listeners and world rank come from public web-player data. Images and biographies are copyrighted: links and text are passed through, nothing is re-hosted.
More from Spotify. Same key, same credits.
The same key and credits work for every API.