Spotify Playlist Intelligence Scraper avatar

Spotify Playlist Intelligence Scraper

Pricing

from $2.99 / 1,000 playlist intelligences

Go to Apify Store
Spotify Playlist Intelligence Scraper

Spotify Playlist Intelligence Scraper

Collect public Spotify playlist metadata and ordered rendered track rows with bounded scrolling, source provenance, and honest truncation diagnostics; no credentials or private API.

Pricing

from $2.99 / 1,000 playlist intelligences

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect public Spotify playlist metadata and ordered track rows from anonymous rendered playlist pages. For each requested playlist, the Actor saves one playlistMetadata row and up to the configured bound of playlistTrack rows, including playlist context, track and artist identities, album links, date-added text, durations, explicit markers, and source provenance.

Get started

  1. Open the Actor Store page and select Try for free, or open the Input tab.
  2. Add one or more public playlist URLs or 22-character playlist IDs to playlistUrls.
  3. Keep maxTracksPerPlaylist, timeoutSecs, and the other limits at their defaults for the first run.
  4. Start the Actor and open the dataset. Export the rows as JSON, CSV, or Excel. Open Run summary (OUTPUT_SUMMARY) to check the outcome and counts.

Input

playlistUrls is required. All other fields are optional, and the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
playlistUrlsstring arrayRequiredNot suppliedPublic Spotify playlist URLs or 22-character IDs. Duplicate IDs are removed. 1–50 items, each 1–200 characters.
marketstringOptional"US"Two-letter context copied to output. Public playlist pages are not market-filtered.
maxTracksPerPlaylistintegerOptional10000Safety bound for rendered track rows, 1–10000.
timeoutSecsintegerOptional90Navigation and page-operation timeout per playlist, in seconds. 10–180.
maxResponseBytesintegerOptional5000000Maximum rendered HTML size accepted for each playlist page. 200000–15000000.
requestDelayMsintegerOptional500Delay between bounded public-page scroll passes, in milliseconds. 0–5000.
maxRetriesintegerOptional1Retries for transient public-page navigation failures. 0–2.

Full default input:

{
"market": "US",
"maxTracksPerPlaylist": 10000,
"timeoutSecs": 90,
"maxResponseBytes": 5000000,
"requestDelayMs": 500,
"maxRetries": 1
}

The default input omits the required playlistUrls field; supply at least one playlist before running. The Actor reads anonymous public Spotify pages. It does not use the Spotify Web API, credentials, login sessions, Web Player tokens, audio downloads, or access-control bypasses.

Output

The dataset contains two row types. Each successfully processed playlist contributes one playlistMetadata row plus zero or more playlistTrack rows in rendered playlist order. Missing optional values are omitted rather than inferred, and no diagnostic or placeholder rows are written.

FieldTypeAvailabilityMeaning
recordIdstringAlwaysStable Actor record key.
recordTypestring enumAlwaysRow discriminator: playlistMetadata or playlistTrack.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.
playlistIdstringAlwaysPublic Spotify playlist ID.
playlistNamestringAlwaysPlaylist name observed on the rendered page.
namestringMetadata rowPlaylist name on the playlistMetadata row.
playlistUrlstringAlwaysCanonical public playlist URL.
spotifyUrlstringAlwaysPlaylist URL on metadata rows, or track URL on track rows.
ownerNamestringMetadata rowPublic playlist owner display name, when exposed.
ownerIdstringMetadata rowPublic playlist owner ID, when exposed.
ownerUrlstringMetadata rowPublic playlist owner URL, when exposed.
descriptionstringMetadata rowPublic playlist description, when exposed.
imageUrlstringAlwaysPublic artwork URL observed for the playlist or track row.
declaredItemCountintegerMetadata rowItem count declared in the page header, when exposed.
declaredSaveCountintegerMetadata rowSave count declared in the page header, when exposed.
durationHoursnumberMetadata rowApproximate playlist duration declared in the header, when exposed.
durationTextstringAlwaysDuration text observed in the header or rendered track row.
isPublicPlaylistbooleanMetadata rowWhether the page exposed the Public Playlist label.
observedTrackCountintegerMetadata rowTrack rows observed for the playlist under the configured bound.
positionintegerTrack rowOne-based position in the rendered playlist.
trackIdstringTrack rowPublic Spotify track ID.
trackNamestringTrack rowTrack title observed in the rendered row.
trackUrlstringTrack rowPublic Spotify track URL.
artistsobject arrayTrack rowLinked artist identities from the track row, with id, name, and url when exposed.
artistNamesstring arrayTrack rowArtist display names from the rendered track row.
albumIdstringTrack rowPublic Spotify album ID, when exposed.
albumNamestringTrack rowAlbum title from the rendered track row, when exposed.
albumUrlstringTrack rowPublic Spotify album URL, when exposed.
dateAddedstringTrack rowDate-added text displayed by the playlist page.
dateAddedTimestampstringWhen parseableISO timestamp parsed from dateAdded; omitted when the displayed date cannot be parsed.
durationMsintegerTrack rowTrack duration parsed from the rendered duration text.
explicitbooleanTrack rowWhether the row displayed Spotify's explicit marker.
requestedMarketstringAlwaysRequested two-letter market context; not applied as a public-page filter.
marketAppliedbooleanAlwaysAlways false for this public-page Actor.
metadataScopestringAlwaysScope declaration, public_playlist_metadata_and_track_rows in the saved run.
trackDataStatusstringAlwaysTrack-row availability declaration, public_rendered_track_rows in the saved run.
sourceUrlstringAlwaysPublic playlist page used as the source.

Full JSON output

The example below is an unchanged playlistTrack row saved by the 2026-10-25 run. Metadata-only fields do not appear on track rows.

{
"recordId": "spotify_playlist_track_37i9dQZF1DXcBWIGoYBM5M_2_70cHKK8bHAfJrOGVnfRG9J",
"recordType": "playlistTrack",
"playlistId": "37i9dQZF1DXcBWIGoYBM5M",
"playlistName": "Today’s Top Hits",
"playlistUrl": "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M",
"spotifyUrl": "https://open.spotify.com/track/70cHKK8bHAfJrOGVnfRG9J",
"position": 2,
"trackId": "70cHKK8bHAfJrOGVnfRG9J",
"trackName": "Nicole Kidman",
"trackUrl": "https://open.spotify.com/track/70cHKK8bHAfJrOGVnfRG9J",
"artists": [
{
"id": "2qanRMyA5bNuTvz1dK45OP",
"name": "ADÉLA",
"url": "https://open.spotify.com/artist/2qanRMyA5bNuTvz1dK45OP"
}
],
"artistNames": [
"ADÉLA"
],
"albumId": "2yDFVH9CeOHt0sc9eI0aBs",
"albumName": "PRIMA",
"albumUrl": "https://open.spotify.com/album/2yDFVH9CeOHt0sc9eI0aBs",
"imageUrl": "https://i.scdn.co/image/ab67616d00004851ac9d5d5263e9f03802d6864c",
"dateAdded": "Sep 11, 2026",
"dateAddedTimestamp": "2026-09-11T00:00:00.000Z",
"durationText": "3:01",
"durationMs": 181000,
"explicit": true,
"requestedMarket": "US",
"marketApplied": false,
"metadataScope": "public_playlist_metadata_and_track_rows",
"trackDataStatus": "public_rendered_track_rows",
"sourceUrl": "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M",
"scrapedAt": "2026-10-25T20:55:32.172Z"
}

Run summary

Run summary is stored in the run's key-value store under OUTPUT_SUMMARY. The same object is mirrored to OUTPUT for compatibility.

FieldMeaning
recordTypeAlways runSummary.
statusActor process outcome: SUCCEEDED or FAILED.
requestedPlaylistCountPlaylist inputs requested.
playlistPagesProcessedPlaylist pages processed.
playlistRecordCountplaylistMetadata rows saved.
trackRecordCountplaylistTrack rows saved.
recordsStoredTotal dataset rows saved.
playlistsWithTracksPlaylists that produced at least one track row.
emptyTrackListCountPlaylists whose rendered track list was empty.
truncatedPlaylistCountPlaylists cut short by a page limitation.
boundReachedPlaylistCountPlaylists that reached maxTracksPerPlaylist.
incompletePlaylistCountPlaylists with incomplete extraction.
scrollPassCountBounded scroll passes performed.
maxTracksPerPlaylistConfigured track bound.
requestedMarketRequested market context.
marketAppliedWhether market filtering was applied; always false.
metadataScopeRecorded scope declaration.
trackDataStatusRecorded track-row status.
extractionModeExtraction method used.
paginationModePagination method used.
publicPagePolicyAnonymous public-page policy statement.
diagnosticCountOperational issues recorded for the run.
errorRecordCountError records; diagnostic rows are not written to the dataset.
startedAtRun start time, in ISO UTC.
completedAtTime the summary was written, in ISO UTC.
durationMsRun duration in milliseconds.
runStatusCanonical run status; matches status.
dataStatusCOMPLETE, PARTIAL, NO_RESULTS, or FAILED.
failureCountOperational and dataset-write failures.
outputWriteFailureCountSummary or optional key-value writes that failed.
StatusData statusMeaning
SUCCEEDEDCOMPLETERows were saved without an extraction problem.
SUCCEEDEDPARTIALRows were saved, but a later problem prevented a complete run. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe pages completed cleanly and returned no track rows.
FAILEDFAILEDA fatal error occurred before any usable row was saved.

Example OUTPUT_SUMMARY from the saved run:

{
"recordType": "runSummary",
"status": "SUCCEEDED",
"requestedPlaylistCount": 1,
"playlistPagesProcessed": 1,
"playlistRecordCount": 1,
"trackRecordCount": 50,
"recordsStored": 51,
"playlistsWithTracks": 1,
"emptyTrackListCount": 0,
"truncatedPlaylistCount": 0,
"boundReachedPlaylistCount": 0,
"incompletePlaylistCount": 0,
"scrollPassCount": 3,
"maxTracksPerPlaylist": 10000,
"requestedMarket": "US",
"marketApplied": false,
"metadataScope": "public_playlist_metadata_and_track_rows",
"trackDataStatus": "public_rendered_track_rows",
"extractionMode": "rendered_public_spotify_playlist",
"paginationMode": "bounded_scroll_passes_until_public_tracklist_end",
"publicPagePolicy": "anonymous rendered public Spotify pages only; no login, official Web API, token capture, audio download, or access-control bypass.",
"diagnosticCount": 0,
"errorRecordCount": 0,
"startedAt": "2026-10-25T20:55:23.505Z",
"completedAt": "2026-10-25T20:55:34.492Z",
"durationMs": 10987,
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"failureCount": 0,
"outputWriteFailureCount": 0
}

Coverage and limitations

The Actor reads public playlist pages in an anonymous browser session. It reads the visible header and scrolls the rendered track table in bounded passes. It does not call the official Spotify Web API, private endpoints, login flows, Web Player tokens, or audio streams, and it does not bypass access controls.

One playlistMetadata row is written per processed playlist, but track rows exist only when Spotify renders them. Header counts such as declaredItemCount and declaredSaveCount are Spotify's displayed values; they can differ from observedTrackCount when the page limits scrolling or hides tracks. maxTracksPerPlaylist, timeouts, response size, retries, and delays are hard bounds. market is output context only. Duplicate playlist IDs are removed before processing. Missing page modules, unavailable playlists, deleted tracks, and access challenges cannot be recovered or inferred.

Usage and support

Compute and storage charges vary with browser duration, playlist count, page size, scroll passes, and saved rows. Large playlists can require many scroll passes, so test with one playlist and a modest maxTracksPerPlaylist before scaling. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT_SUMMARY; do not include tokens, cookies, or private data. This Actor is an independent community tool and is not affiliated with, sponsored by, or endorsed by Spotify. Use it only for public data and in accordance with Spotify's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.