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"
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.
Spotify API endpoints
All 3 Spotify endpoints and their price in credits. Every one has a fixed price.
| Endpoint | Credits | What it returns |
|---|---|---|
| /album | 20 | Get a Spotify album by id or album URL. |
| /artist | 20 | Get a Spotify artist by id or profile URL. |
| /track | 20 | Get 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 API | Official Spotify API | |
|---|---|---|
| Monthly listeners and top cities | On every artist | Not in the Web API |
| Track play counts | On every track | Not in the Web API |
| Setup | Sign in and copy a key | A Spotify developer app and a client-credentials token |
| Cost per call | 20 credits | No 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.
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.
/v1/spotify/track returns the track's play count with its duration, explicit flag, album and credited artists. /v1/spotify/album returns an album and its tracks.
Not yet. The three Spotify endpoints read an artist, album or track you already have the id or URL of.
They return Spotify's own structure under our naming rules (snake_case keys, string ids, ISO times where a timestamp is given) rather than the shared profile and post entities, so fields may change. Each endpoint is 20 credits a call. Calls that fail or find nothing are free.
No. There is no Spotify app, OAuth flow or review. One API key in the x-api-key header works for Spotify and the other 60 platforms.
Yes. Your first 10 calls priced at 100 credits or less are free, and the free plan includes 500 credits every month. No credit card is needed to get a key.
60 requests a minute and 10 requests in flight at once, per API key. Going over either returns a 429 with a Retry-After header, and a rejected request costs nothing. There is no daily quota: past those two limits, your credit balance is what bounds volume.
List endpoints return rows in data.items and a pagination object with next_cursor and has_more. Send next_cursor back unchanged as the cursor parameter for the next page, and stop when has_more is false. A handful of endpoints page with their own parameter instead; their reference pages name it.
No. A call that errors or finds nothing costs 0 credits. A live fetch costs the endpoint's price, or for a metered endpoint what it actually read. 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.
A call fetches live unless a recent copy is in the shared cache, and every response says which with the cached field; a cached answer costs 2 credits. Add fresh=1 or send Cache-Control: no-cache to skip the cache; that call is charged at the normal price.
Collecting publicly available data is generally treated differently from accessing private data, but the answer depends on your jurisdiction, Spotify's terms and what you do with personal data afterwards. The API reads public data only. Talk to a lawyer for anything commercial.
Spotify API guides
The same key works for 60 more platforms
- TikTok scraper API
- LinkedIn scraper API
- Twitter/X scraper API
- YouTube scraper API
- Reddit scraper API
- Pinterest scraper API
- Bluesky scraper API
- Truth Social scraper API
- Snapchat scraper API
- Telegram scraper API
- Twitch scraper API
- Kick scraper API
- Rumble scraper API
- Kwai scraper API
- Douyin scraper API
- Xiaohongshu (RedNote) scraper API
- Quora scraper API
- TikTok Shop scraper API
- Weibo scraper API
- Zhihu scraper API
- Substack scraper API
- Nextdoor scraper API
- Amazon scraper API
- App Store scraper API
- Apple Music scraper API
- Behance scraper API
- Dailymotion scraper API
- Deezer scraper API
- DEV Community scraper API
- Discord scraper API
- Dribbble scraper API
- Fandom scraper API
- Flickr scraper API
- GitHub scraper API
- Google Ads Transparency scraper API
- Google News scraper API
- Google Trends scraper API
- Gumroad scraper API
- Hacker News scraper API
- Hugging Face scraper API
- Ko-fi scraper API
- Lemmy scraper API
- Letterboxd scraper API
- Linktree scraper API
- Lnk.Bio scraper API
- Mastodon scraper API
- Medium scraper API
- MyAnimeList scraper API
- npm scraper API
- Polymarket scraper API
- Product Hunt scraper API
- Shopify scraper API
- SoundCloud scraper API
- Stack Overflow scraper API
- Stan Store scraper API
- Steam scraper API
- Vimeo scraper API
- Wikipedia scraper API
- Yahoo Finance scraper API
- Yelp scraper API