Spotify Playlist Scraper (Tracks, Artists, Previews) avatar

Spotify Playlist Scraper (Tracks, Artists, Previews)

Pricing

from $0.24 / 1,000 tracks

Go to Apify Store
Spotify Playlist Scraper (Tracks, Artists, Previews)

Spotify Playlist Scraper (Tracks, Artists, Previews)

Scrape Spotify playlists, albums and artist top tracks: track name, artists, duration, Spotify URI, preview link and cover, from the public Spotify embed pages.

Pricing

from $0.24 / 1,000 tracks

Rating

0.0

(0)

Developer

Murat Uzun

Murat Uzun

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

7 hours ago

Last modified

Features

Limited permissions

Share

Price: $0.40 per 1,000 tracks on the Apify Free plan, down to $0.24 per 1,000 on Gold and higher. Plus a $0.00005 start fee per run. No Spotify login, API key or proxy needed.

Spotify Playlist Scraper returns every track of a public Spotify playlist, one row per track: track name, artists, album, duration, play count, the date the track was added to the playlist, Spotify id and URI, explicit flag and a 30-second preview link for the tracks that have one. Albums (up to 50 tracks) and artists (10 top tracks) work too.

Use it to export playlists to CSV or Excel, track what curators add, compare play counts across a playlist, or feed playlist data to an app or an AI agent.

What data does Spotify Playlist Scraper extract?

FieldTypeMeaning
kindstringplaylist, album or artist
sourceIdstringSpotify id of the playlist, album or artist
sourceNamestring or nullPlaylist, album or artist name
sourceUrlstringSpotify page of the source
sourceOwnerstring or nullPlaylist owner (Spotify for editorial playlists)
sourceTrackCountnumberRows returned for this source in this run
sourceTotalTracksnumber or nullTracks Spotify reports for the whole playlist (null for albums and artists)
sourceFollowersnumber or nullPlaylist followers (null for albums and artists)
sourceCoverUrlstring or nullPlaylist cover image
positionnumberTrack position in the playlist, album or top-tracks list
trackIdstring or nullSpotify track id
trackUristring or nullSpotify track URI, e.g. spotify:track:...
trackNamestring or nullTrack title
artistsstring or nullArtists, comma-separated
albumNamestring or nullAlbum of the track (playlists and albums)
albumUristring or nullSpotify album URI
durationMsnumber or nullTrack length in milliseconds
playCountnumber or nullSpotify play count of the track (playlists)
addedAtstring or nullWhen the track was added to the playlist, ISO time (playlists)
explicitboolean or nullExplicit flag
playableboolean or nullPlayable flag
previewUrlstring or null30-second MP3 preview link (the first 50 to 100 tracks of a playlist, see FAQ)
scrapedAtstringISO time of the scrape

How to use Spotify Playlist Scraper

  1. Paste one or more links into "Spotify links", one per line: a playlist, album or artist URL, or a spotify:playlist:... URI.
  2. Set "Max tracks" for the total number of rows (default 100, up to 10,000). For a whole 1,000-track playlist, set 1,000 or more.
  3. Start the run, then download the dataset (JSON, CSV, Excel) or read it through the API.

Example input

{
"links": [
"https://open.spotify.com/playlist/37i9dQZF1DX4o1oenSJRJd",
"spotify:album:1DFixLWuPkv3KT3TnV35m3",
"https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
],
"maxResults": 500
}

Example output

Real row from the "All Out 2000s" playlist (150 tracks), captured on 29 Nov 2026:

{
"kind": "playlist",
"sourceId": "37i9dQZF1DX4o1oenSJRJd",
"sourceName": "All Out 2000s",
"sourceUrl": "https://open.spotify.com/playlist/37i9dQZF1DX4o1oenSJRJd",
"sourceOwner": "Spotify",
"sourceTrackCount": 150,
"sourceTotalTracks": 150,
"sourceFollowers": 12952161,
"sourceCoverUrl": "https://i.scdn.co/image/ab67706f00000002043bfef44142136749fc2917",
"position": 1,
"trackId": "6naxalmIoLFWR0siv8dnQQ",
"trackUri": "spotify:track:6naxalmIoLFWR0siv8dnQQ",
"trackName": "Oops!...I Did It Again",
"artists": "Britney Spears",
"durationMs": 211160,
"explicit": false,
"playable": true,
"albumName": "Oops!... I Did It Again",
"albumUri": "spotify:album:5PmgtkodFl2Om3hMXONDll",
"playCount": 1322251145,
"addedAt": "2026-04-29T17:47:39.213Z",
"previewUrl": "https://p.scdn.co/mp3-preview/66a5cf0f69b1bb1e8930821881b71756151c5f68",
"scrapedAt": "2026-11-29T10:38:00.000Z"
}

Input parameters

ParameterDefaultDescription
linksToday's Top Hits playlistPlaylist, album or artist links or URIs, one per line
maxResults100Total track rows per run, 1 to 10,000

Pricing

Pay per track row. The start fee is charged once per run.

Apify planPrice per 1,000 tracksPer track
Free$0.40$0.0004
Bronze$0.32$0.00032
Silver$0.28$0.00028
Gold, Platinum, Diamond$0.24$0.00024

A whole 150-track playlist costs $0.06 on the Free plan; Spotify's 50-track "Today's Top Hits" costs $0.02. Platform usage is included in the per-track price. Set "Max tracks" or a maximum total charge on the run to cap the cost.

Use it from code (JavaScript, Python, CLI, MCP)

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('webdatatools/spotify-playlist-scraper').call({
links: ['https://open.spotify.com/playlist/37i9dQZF1DX4o1oenSJRJd'],
maxResults: 1000,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0].trackName, items[0].playCount);

Python (pip install apify-client):

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("webdatatools/spotify-playlist-scraper").call(run_input={
"links": ["https://open.spotify.com/playlist/37i9dQZF1DX4o1oenSJRJd"],
"maxResults": 1000,
})
for track in client.dataset(run["defaultDatasetId"]).iterate_items():
print(track["position"], track["trackName"], track["artists"], track["playCount"])

CLI (npm install -g apify-cli, then apify login):

$echo '{"links":["https://open.spotify.com/playlist/37i9dQZF1DX4o1oenSJRJd"],"maxResults":1000}' | apify call webdatatools/spotify-playlist-scraper --silent --output-dataset

MCP / AI agents: add the Apify MCP server (https://mcp.apify.com) to your client and allow the tool webdatatools/spotify-playlist-scraper. The agent sends links and maxResults and reads the track rows. If OUTPUT.embedOnlyPlaylists lists a playlist, the agent should say that only the first tracks were returned.

Errors and run results

Every run writes an OUTPUT record (results, errorCode, zeroResultReason, fullPlaylists, embedOnlyPlaylists, notFound, stoppedAtTimeLimit, linksNotRun) and, when something went wrong, an ERRORS list. Rows that were not saved are not charged.

errorCodeRun statusWhat happenedWhat to do
INVALID_INPUTSUCCEEDED, $0No usable Spotify link or a value outside the input schemaGive a playlist, album or artist link
NOT_FOUNDSUCCEEDEDSpotify does not serve the link (private, removed or wrong id); other links still runCheck the link in a browser
NO_RESULTSSUCCEEDED, $0The links exist but have no tracksNothing to fix
PLAYLIST_CUTSUCCEEDEDSpotify refused the full playlist query; the run kept the tracks on the embed page (50 to 100)Run again later; tell us in Issues if it stays
TIME_LIMITSUCCEEDEDThe run timeout came close; tracks already saved are kept, linksNotRun lists the restGive the run more time or fewer links
CHARGE_LIMITSUCCEEDEDThe maximum total charge you set was reachedRaise the limit
SOURCE_FAILEDFAILED, $0Spotify could not be reached for every link and no track was savedRun again; open an issue with the run ID if it repeats

Spotify Playlist Scraper vs. alternatives

The official Spotify Web API returns playlists with your own developer app and OAuth token. This Actor needs no token: it reads the public embed page of each link and, for playlists, the same playlist query that Spotify's web player uses, with the embed page's anonymous token.

Dated Store check, 28 November 2026 (public README and pricing of each Actor, Free plan):

ActorFree priceUnitWhole playlistPlay count per track
This Actor$0.40 per 1,000one track rowYes (up to 10,000 rows per run)Yes
topapi/spotify-scraper$0.074 per 1,000one track row (track-row mode)Yes, up to 10,000Yes
eduair94/spotify-scraper$1.00 per 1,000one track rowYes, up to 1,000Yes
khadinakbar/spotify-play-count-scraper$2.00 per 1,000one track rowYesYes
automation-lab/spotify-scraper$3.05 per 1,000one playlist record (tracks inside)Yes, up to 5,000Yes
s-r/free-spotify-playlist-intelligence$10.00 per 1,000one playlist analyzedYesYes

topapi is cheaper per track row. Actors that charge per playlist record can be cheaper for very long playlists and more expensive for short ones. Several of these Actors also compare a playlist between runs (added and removed tracks); this Actor does not.

FAQ

How much does a typical run cost? At the Free price, a 150-track playlist is $0.06 and a 1,000-track playlist $0.40, plus the $0.00005 start fee. Platform usage is included. In our measurement on 23 Oct 2026 at 256 MB, a 75-track run used about $0.001 of platform usage in 7 seconds.

Do I get the whole playlist? Yes, up to "Max tracks" (10,000 per run). On 29 Nov 2026 the 150-track "All Out 2000s" playlist returned all 150 tracks, while its embed page lists only 100. Playlists are read 250 tracks per request. If Spotify refuses the playlist query, the run keeps the embed page's tracks and reports PLAYLIST_CUT.

Why is previewUrl null for some tracks? Preview links come from the embed page, which lists the first 50 to 100 tracks of a playlist. Tracks after that, and tracks without a preview on Spotify, have previewUrl: null.

Why only 50 tracks for an album or 10 for an artist? Albums and artists are read from their embed pages only: up to 50 album tracks and the artist's 10 top tracks.

Is this legal? The Actor reads public pages and the public playlist data that Spotify's own web player loads without login. Check Spotify's terms for your use. Preview links are 30-second clips for listening, not for redistribution.

Can I call it from n8n, Make or Zapier? Those tools can start any Apify Actor through their Apify integrations. This was not tested for this Actor.

Limitations

  • Albums return up to 50 tracks and artists their 10 top tracks.
  • Playlist podcast episodes and local files are skipped (their positions are kept, so position can jump).
  • Spotify can change its pages or rotate the playlist query; the run then falls back to the embed page and says so (PLAYLIST_CUT).
  • No comparison between runs and no ISRC or release date per track.

Support

Open an issue on the Actor's Issues tab on Apify. Include the run ID, the links you used and the log lines.

If this Actor saved you time, please leave a short review on its Apify Store page. It helps other users find it.