Skip to content
//Spotify Scraper – Play Counts, Tracks & Artists example\\

Tracks from a Spotify playlist, 20 tracks

One playlist with its first 20 tracks.

Updated December 1, 2026

What this example returns

This example returns up to 20 tracks.

The dataset’s “Overview” view shows 13 columns: Type, Name, Play count, Total plays (album / playlist), Monthly listeners, Followers, World rank, Release date, Tracks, Popularity, ISRC, Spotify URL, and Input. See every output field.

What each setting does

The input this example runs Spotify Scraper – Play Counts, Tracks & Artists with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Spotify URLs or URIs urls

spotify:playlist:37i9dQZF1DXcBWIGoYBM5M

Track, album, artist or playlist links from open.spotify.com, or URIs like spotify:album:1XkGORuUX2QGOEIL4EbJKm. Each link becomes one result with exact play counts.

Max results maxItems

1

Maximum number of results (tracks, albums, artists and playlists together) for the whole run. 0 means no limit.

Default: 20 → this example uses 1

Max tracks per playlist maxPlaylistTracks

20

Playlists longer than this are cut.

Default: 1000 → this example uses 20

.json
{
  "urls": [
    "spotify:playlist:37i9dQZF1DXcBWIGoYBM5M"
  ],
  "maxPlaylistTracks": 20,
  "maxItems": 1
}

What it costs

From about $0.024 for 20 tracks

An estimate at the lowest plan price: 20 × $0.0012 per result (One Spotify track, album, artist or playlist saved to the dataset (with play counts for all its tracks)). A run is charged for the events it reports, so one that finds fewer tracks costs less. Platform usage is included in the event price.

Full pricing

When to use this example

From the Spotify Scraper – Play Counts, Tracks & Artists readme:

How many results can I get?

As many links as you like. Search returns up to about 1,000 matches per query; playlists are read up to maxPlaylistTracks; albums and artist discographies are read in full.

Other ways to run Spotify Scraper – Play Counts, Tracks & Artists

All examples of Spotify Scraper – Play Counts, Tracks & Artists

About Spotify Scraper – Play Counts, Tracks & Artists

Get exact Spotify play counts (stream counts) for tracks, albums, artists and playlists, plus monthly listeners, followers, world rank, top cities, ISRC, popularity, release dates and preview URLs. Paste links or search by keyword. No login needed.

Price:
From $1.20 / 1,000 results
Developer:
Echofield

Spotify Scraper – Play Counts, Tracks & Artists pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.