Spotify Playlist Scraper (Tracks, Artists, Previews)
Pricing
from $0.24 / 1,000 tracks
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
0
Monthly active users
7 hours ago
Last modified
Categories
Features
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?
| Field | Type | Meaning |
|---|---|---|
| kind | string | playlist, album or artist |
| sourceId | string | Spotify id of the playlist, album or artist |
| sourceName | string or null | Playlist, album or artist name |
| sourceUrl | string | Spotify page of the source |
| sourceOwner | string or null | Playlist owner (Spotify for editorial playlists) |
| sourceTrackCount | number | Rows returned for this source in this run |
| sourceTotalTracks | number or null | Tracks Spotify reports for the whole playlist (null for albums and artists) |
| sourceFollowers | number or null | Playlist followers (null for albums and artists) |
| sourceCoverUrl | string or null | Playlist cover image |
| position | number | Track position in the playlist, album or top-tracks list |
| trackId | string or null | Spotify track id |
| trackUri | string or null | Spotify track URI, e.g. spotify:track:... |
| trackName | string or null | Track title |
| artists | string or null | Artists, comma-separated |
| albumName | string or null | Album of the track (playlists and albums) |
| albumUri | string or null | Spotify album URI |
| durationMs | number or null | Track length in milliseconds |
| playCount | number or null | Spotify play count of the track (playlists) |
| addedAt | string or null | When the track was added to the playlist, ISO time (playlists) |
| explicit | boolean or null | Explicit flag |
| playable | boolean or null | Playable flag |
| previewUrl | string or null | 30-second MP3 preview link (the first 50 to 100 tracks of a playlist, see FAQ) |
| scrapedAt | string | ISO time of the scrape |
How to use Spotify Playlist Scraper
- Paste one or more links into "Spotify links", one per line: a playlist, album or artist URL, or a spotify:playlist:... URI.
- 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.
- 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
| Parameter | Default | Description |
|---|---|---|
| links | Today's Top Hits playlist | Playlist, album or artist links or URIs, one per line |
| maxResults | 100 | Total track rows per run, 1 to 10,000 |
Pricing
Pay per track row. The start fee is charged once per run.
| Apify plan | Price per 1,000 tracks | Per 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 osfrom apify_client import ApifyClientclient = 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.
| errorCode | Run status | What happened | What to do |
|---|---|---|---|
| INVALID_INPUT | SUCCEEDED, $0 | No usable Spotify link or a value outside the input schema | Give a playlist, album or artist link |
| NOT_FOUND | SUCCEEDED | Spotify does not serve the link (private, removed or wrong id); other links still run | Check the link in a browser |
| NO_RESULTS | SUCCEEDED, $0 | The links exist but have no tracks | Nothing to fix |
| PLAYLIST_CUT | SUCCEEDED | Spotify 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_LIMIT | SUCCEEDED | The run timeout came close; tracks already saved are kept, linksNotRun lists the rest | Give the run more time or fewer links |
| CHARGE_LIMIT | SUCCEEDED | The maximum total charge you set was reached | Raise the limit |
| SOURCE_FAILED | FAILED, $0 | Spotify could not be reached for every link and no track was saved | Run 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):
| Actor | Free price | Unit | Whole playlist | Play count per track |
|---|---|---|---|---|
| This Actor | $0.40 per 1,000 | one track row | Yes (up to 10,000 rows per run) | Yes |
| topapi/spotify-scraper | $0.074 per 1,000 | one track row (track-row mode) | Yes, up to 10,000 | Yes |
| eduair94/spotify-scraper | $1.00 per 1,000 | one track row | Yes, up to 1,000 | Yes |
| khadinakbar/spotify-play-count-scraper | $2.00 per 1,000 | one track row | Yes | Yes |
| automation-lab/spotify-scraper | $3.05 per 1,000 | one playlist record (tracks inside) | Yes, up to 5,000 | Yes |
| s-r/free-spotify-playlist-intelligence | $10.00 per 1,000 | one playlist analyzed | Yes | Yes |
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
positioncan 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.