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

How to get Spotify data

Checked Code run live

Spotify’s Web API returns followers and a 0–100 popularity score, never monthly listeners or play counts, and since February 2026 a Development Mode app needs a Premium owner. A data API reads the public artist page: one GET returns monthly listeners, world rank, top cities and top tracks with play counts, 1 credit.

The official Spotify API

Spotify’s Web API is free, but it has narrowed:

  • It has never returned monthly listeners, play counts or top cities: only followers.total and popularity.
  • From 11 February 2026 (9 March for existing apps), Development Mode needs a Spotify Premium account, allows up to five authorised users per client id, and one Development Mode client id per developer.
  • Spotify postponed the related endpoint changes for existing integrations on 9 March 2026 and said it would share revised timelines.

Sources: Spotify, “Update on developer access and platform security”, 6 Feb 2026.

Quick start

  1. Get a keySign up with an email code: 100 free credits, no card. An agent can sign itself up with POST https://api.groundsocial.dev/v1/agent/signup.
  2. Set it in your shellexport GROUNDSOCIAL_API_KEY=gs_live_…
  3. Make the callAn artist with monthly listeners: GET /v1/spotify/artists/0TnOYISbd1XYRBk9myaseg, 1 credit.
curl "https://api.groundsocial.dev/v1/spotify/artists/0TnOYISbd1XYRBk9myaseg" \
  -H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"

Sample response

Trimmed from the real response on 27 November 2026: lists cut to their first items and long strings shortened. Every field is described in the tutorial.

json
{
  "artist": {
    "id": "0TnOYISbd1XYRBk9myaseg",
    "name": "Pitbull",
    "type": "artist",
    "followers": {
      "total": 13676325
    },
    "monthly_listeners": 73196629,
    "world_rank": 23,
    "verified": true,
    "biography": "Armando Christian Pérez, globally known as Pitbull, invites disruption on a global scale a…"
  },
  "top_tracks": [
    {
      "id": "4QNpBfC0zvjKqPJcyqBy9W",
      "name": "Give Me Everything (feat. Nayer)",
      "type": "track",
      "duration_ms": 252306,
      "explicit": false,
      "disc_number": 1,
      "is_playable": true,
      "playcount": 2373793268
    }
  ]
}

What else you can get from Spotify

What you getEndpointCredits
An artist with monthly listenersGET /v1/spotify/artists/0TnOYISbd1XYRBk9myaseg1
A track with play countGET /v1/spotify/tracks/11dFghVXANMlKmJXsNCbNl1
An album with track play countsGET /v1/spotify/albums/4aawyAB9vmqN3uQ7FjRGTy1
A playlistGET /v1/spotify/playlists/37i9dQZF1DXcBWIGoYBM5M1
A podcastGET /v1/spotify/shows/4rOoJ6Egrf8K2IrywzwOMk1
SearchGET /v1/spotify/search1

Each row links to its tutorial. Every Spotify endpoint and price: Spotify API.

Tips

  • Pass an artist id, a spotify:artist: URI or an open.spotify.com link.
  • Monthly listeners move daily: store monthly_listeners with the date to track an artist.

Use it from Claude or Cursor (MCP)

Every endpoint is also an MCP tool on the remote server https://api.groundsocial.dev/mcp. The ?platforms=spotify below loads only the Spotify tools. The client signs in with OAuth, or send your key as a Bearer token. Tools used in this guide: spotify_artist_get, spotify_track_get, spotify_album_get, spotify_playlist_get, spotify_podcast_get, spotify_search_all.

claude mcp add --transport http groundsocial "https://api.groundsocial.dev/mcp?platforms=spotify"

Setup for ChatGPT, VS Code, Windsurf, n8n and others: MCP client setup.

Pricing

Pay per call from prepaid credits; no subscription. 100 free credits cover the examples on this page. Costs below are at the credit packs’ highest and lowest rates.

JobCreditsCost
1,000 artists1,000$1.00 → $0.40
200 artists tracked daily for 30 days6,000$6.00 → $2.40

FAQ

Do I need a Spotify developer app or Premium?

No. Calls read what Spotify’s public pages show; you only need a Groundsocial key.

Are failed calls charged?

No. A target that does not exist answers 404 target_not_found, an upstream failure answers 503, and neither costs anything. Credits never expire.

Is Groundsocial official?

No. Groundsocial is an independent API that reads what the platform shows a logged-out visitor. Spotify is a trademark of Spotify AB. We are not affiliated with or endorsed by Spotify.

Go deeper

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

Try it on your own data

One key for Spotify and every other platform, over REST or MCP. Free credits on signup, no card.