InsightSocial

Spotify scraper API

The InsightSocial Spotify API has 3 endpoints, from 20 credits a call. A artist call costs 20 credits, about $0.02 on Pro, and your first 10 calls up to 100 credits each are free.

The Spotify scraper API for public artists, albums and tracks, as JSON, with the figures the artist page shows: monthly listeners, top cities and track play counts. No Spotify developer app.

3 endpoints · from 20 credits a call · 10 free calls up to 100 credits each · no credit card

curl "https://api.insightsocial.app/v1/spotify/artist?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F0000000000000000000000" \
-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
200 OKJSON
{
"success": true,
"platform": "spotify",
"endpoint": "/v1/spotify/artist",
"schema_version": "2",
"data": {
"artist": {
"platform": "spotify",
"artist_id": "0000000000000000000000",
"display_name": "Example Artist",
"bio": "Indie pop from Bristol. New album out now.",
"profile_url": "https://open.spotify.com/artist/0000000000000000000000",
"verified": true
},
"metrics": {
"followers": 1204500,
"monthly_listeners": 3418200,
"world_rank": null,
"top_cities": [
{
"city": "London",
"country": "GB",
"listeners": 221600,
"region": "ENG"
}
]
},
"related_artists": [
{
"artist_id": "1111111111111111111111",
"display_name": "Another Example Band"
}
],
"discography_summary": {
"album_count": 4,
"single_count": 18
}
},
"unavailable": [],
"credits_used": 0,
"charge_reason": "miss",
"free_call": true
}

What Spotify data can you get?

Public Spotify data only, in the same JSON envelope as every other platform. Every Spotify endpoint is beta: inside data it returns Spotify's own structure under our naming rules (snake_case keys, string ids, ISO times where Spotify gives a timestamp), not the shared profile and post schema, and fields may change.

Artists

An artist by id or URL: bio, verification, followers, monthly listeners, their top cities by listeners, related artists and a count of albums and singles.

Albums and tracks

An album with its tracks, and one track with its duration, explicit flag, play count, album and every credited artist.

Spotify API endpoints

All 3 Spotify endpoints and their price in credits. Every one has a fixed price.

EndpointCreditsWhat it returns
/album20Get a Spotify album by id or album URL.
/artist20Get a Spotify artist by id or profile URL.
/track20Get a Spotify track by id or track URL.

Parameters, response fields and examples for each endpoint are in the Spotify API reference.

InsightSocial vs the official Spotify API

The Spotify Web API needs a registered Spotify app and a token, and since November 2024 new apps no longer get some endpoints, such as related artists.

InsightSocial APIOfficial Spotify API
Monthly listeners and top citiesOn every artistNot in the Web API
Track play countsOn every trackNot in the Web API
SetupSign in and copy a keyA Spotify developer app and a client-credentials token
Cost per call20 creditsNo per-call price; needs a Spotify app

The official API is the right tool for posting, messaging or managing accounts you own. This one is read-only public data.

How much does the Spotify API cost?

Spotify calls start at 20 credits. Every endpoint's price is in the table above and in the free GET /v1/endpoints catalogue, so you know the cost before you call. Pro's 10,000 monthly credits cover about 500 artists at 20 credits each.

  • Failed calls are free

    A call that errors or finds nothing costs 0 credits.

  • Repeats and retries

    A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.

  • One balance

    API calls and Chrome extension exports share the same credits. The free plan includes 500 a month.

Not writing code?

Connect InsightSocial to Claude or ChatGPT and ask for Spotify data in plain English. Same account, same credits.

Use it from Claude or ChatGPT

Spotify API: frequently asked questions

Yes. /v1/spotify/artist returns monthly listeners and followers, the cities where the artist has the most listeners, and the related artists, from an artist id or an open.spotify.com URL.