Spotify API
Read public Spotify data in one call: artists with monthly listeners, albums, tracks with play counts, playlists, podcasts. Responses come in the shape of the Spotify Web API’s own objects, over REST or MCP.
- Endpoints
- 7
- From
- 1 credit · $0.01
- Failed calls
- Refunded
- Access
- REST · MCP · SDK
Spotify artist API
Endpoint details →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(){ "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"}All Spotify endpoints
Credits per call · refunded on failure · Code tutorialsWhat people build with it
Artist analytics
Listeners, plays and followers for artists and tracks.
Catalogue data
Albums, tracks and playlists as structured records.
A&R scouting
Find artists whose numbers are moving.
Pricing
Pay per call with credit packs that never expire, or keyless per call. No subscription. 100 free credits to start.
All packs →| Provider | Per 1,000 | Unit |
|---|---|---|
| Groundsocial | $1.00 → $0.40 | standard calls; $0.01 per call keyless |
| ScrapeCreators | $1.88 → $0.99 | credits |
Other providers’ prices from their public pages, in their own currency. A credit buys a different amount on each.
Spotify API questions
Do I need a Spotify account or API key?
No. Every call reads what Spotify shows a logged-out visitor. You only need a Groundsocial API key, or none at all with pay-per-call.
How much does the Spotify API cost?
From 1 credit per call. Credits cost $1.00 to $0.40 per 1,000 depending on the pack, or $0.01 per call keyless. Failed calls are refunded. You start with 100 free credits.
What format is the data in?
Responses come in the shape of the Spotify Web API’s own objects, not a lossy cross-platform schema, so field names match what Spotify itself uses.
Can an AI agent use it?
Yes. Every Spotify endpoint is an MCP tool (spotify_artist_get, …), and agents can sign themselves up with POST /v1/agent/signup.
Is it official?
No. Groundsocial is an independent API for public data. Spotify is a trademark of Spotify AB. We are not affiliated with or endorsed by Spotify.
More music & audio APIs
All platforms →Spotify is a trademark of Spotify AB. We are not affiliated with or endorsed by Spotify.