Scraperize
Spotify

Spotify Playlist API

To get a Spotify playlist and its tracks, call GET /v1/spotify/playlist?id=… with your API key. You get clean JSON back.

GET/v1/spotify/playlist
curl "https://api.scraperize.com/v1/spotify/playlist?id=37i9dQZF1DXcBWIGoYBM5M" \
  -H "x-api-key: YOUR_API_KEY"
Cost
1 credit / call
Only successful calls are charged. Errors are free.
Pagination
Cursor
Pass the returned cursor to get the next page.
Caching
0 credits
Set cache_max_age to reuse a recent result for free.
Rate limit
Per team / minute
Over the limit: 429 with a Retry-After header.

Parameters

idOptional
The playlist's Spotify ID (the 22 characters at the end of its link). Required unless url is given.
urlOptional
The playlist's open.spotify.com link (a spotify: URI works too). Required unless id is given.
cursorOptional
The cursor from the previous page, to get the next one. Omit for the first page.
cache_max_ageOptional
Optional. Return a cached result if one this age or newer exists — served for 0 credits with meta.cached=true and meta.cachedAt. Otherwise a fresh scrape runs (1 credit) and refreshes the cache. Omit to always scrape fresh.One of 5 values.

Send your key in the x-api-key header. Full API reference

Example response

200 OK · application/json
{
  "data": {
    "id": "37i9dQZF1DXcBWIGoYBM5M",
    "name": "Today’s Top Hits",
    "url": "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M",
    "description": "The hottest 50. Cover: KAROL G",
    "image": "https://i.scdn.co/image/ab67706f00000002f04528c743e20039ac4eff07",
    "headerImage": "https://i.scdn.co/image/ab6768640000fe890d4d5ca4781ec48870452235",
    "followers": 33579014,
    "owner": {
      "id": "spotify",
      "name": "Spotify",
      "url": "https://open.spotify.com/user/spotify",
      "avatar": "https://i.scdn.co/image/ab6775700000ee8555c25988a6ac314394d3fbf5"
    },
    "collaborative": false,
    "itemCount": 50,
    "items": [
      {
        "position": 1,
        "addedAt": "2026-11-06T05:02:41.791Z",
        "addedBy": null,
        "type": "track",
        "track": {
          "id": "3h5T5JypYU7huFiVYhv1dr",
          "name": "BbY WOW",
          "url": "https://open.spotify.com/track/3h5T5JypYU7huFiVYhv1dr",
          "durationMs": 225834,
          "explicit": false,
          "playCount": 485257378,
          "trackNumber": 11,
          "discNumber": 1,
          "playable": true,
          "mediaType": "AUDIO",
          "videoCount": 1,
          "artists": [
            {
              "id": "790FomKkXshlbRYZFtlgla",
              "name": "KAROL G",
              "url": "https://open.spotify.com/artist/790FomKkXshlbRYZFtlgla"
            }
          ],
          "album": {
            "id": "7a0lnWtCz0eW15WsWu3dHQ",
            "name": "NO ME ARREPIENTO DE SENTIR TANTO",
            "url": "https://open.spotify.com/album/7a0lnWtCz0eW15WsWu3dHQ",
            "image": "https://i.scdn.co/image/ab67616d0000b27321deb742375f88edfb2e7368",
            "releaseDate": "2026-08-07"
          }
        },
        "episode": null,
        "tempo": 60.016,
        "key": "B",
        "mode": "minor",
        "camelot": "10A"
      }
    ],
    "count": 25,
    "cursor": "eyJpIjoiMzdpOWRRWkYxRFhjQldJR29ZQk01TSIsIm8iOjI1fQ",
    "hasMore": true,
    "fetchedAt": "2026-11-16T13:05:30.926Z"
  },
  "meta": {
    "requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
    "creditsCharged": 1,
    "creditsRemaining": 4999,
    "cached": false
  }
}

A real response, shortened to one item per list.

FAQ

Spotify Playlist API questions

How much does the Spotify Playlist API cost?

1 credit per successful call. Errors and cached results are free, and new accounts start with 100 free credits, no card required. See pricing.

Do I need a Spotify account or API key?

No. You only need a Scraperize API key, sent in the x-api-key header. Scraperize returns publicly available data. No Spotify login or developer app is needed.

How fresh is the data?

Each call fetches the data live. To trade freshness for cost, pass cache_max_age (e.g. 1h, 1d) to get a recent cached result instantly for 0 credits.

How do I get more results?

Each response includes a cursor. Send it back as the cursor parameter with the same other parameters to get the next page. It is null on the last page.

Where are the full parameters and response fields?

In the API reference, with every parameter, field and error.

Try the Spotify Playlist API

Grab your key and 100 free credits, no card required, and run this call in minutes.