Spotify Music Catalog, Stats & Playlist Extractor
Pricing
from $0.49 / 1,000 results
Spotify Music Catalog, Stats & Playlist Extractor
Export public Spotify catalog data without a login or developer key: artist audience stats, album and track play counts, full playlists and keyword search. Paste mixed Spotify URLs or URIs, or search the catalog, then export nested entity rows or one flat row per track.
Pricing
from $0.49 / 1,000 results
Rating
0.0
(0)
Developer
Xyrelith Data
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Export public Spotify music data without a Spotify account, cookies or developer API key. This actor reads the same anonymous catalog the Spotify web player uses and returns clean records for artists, albums, tracks and playlists — including monthly listeners, exact play counts, top cities and full track lists.
Two ways to run it
Search the catalog. Enter a keyword, choose tracks, artists, albums, playlists or a balanced mix of all four, and set how many rows you want. Search results are enriched into full records, not shallow search cards.
Scrape Spotify links or URIs. Paste any mix of artist, album, track and playlist links in one list. Examples:
https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02spotify:album:2fenSS68JI1h4Fo296JfGrhttps://open.spotify.com/intl-de/track/11dFghVXANMlKmJXsNCbNlspotify:playlist:37i9dQZF1DXcBWIGoYBM5M
An artist link can optionally expand into every album, single/EP, compilation, appears-on release and related artist as separate dataset rows.
Output layouts
- One row per entity keeps an artist, album, track or playlist in one record and nests its track list. Use this for JSON integrations and browsing.
- One row per track emits album tracks, playlist tracks and artist top tracks as flat records
with
parentType,parentId,playlistPositionorrowPositionandaddedAtwhere relevant. Use this for CSV/Excel play-count tables.
Inputs
| Input | Type | Default | What it does |
|---|---|---|---|
mode | select | "search" | Search the catalog or scrape pasted links. |
searchQuery | text | "Taylor Swift" | Keyword used in search mode. |
searchType | select | "track" | Track, artist, album, playlist or a balanced all-types mix. |
spotifyUrls | string list | [] | Mixed Spotify URLs or URIs for link mode. |
maxItems | integer | 100 | Hard cap on dataset rows for the whole run. |
maxItemsPerInput | integer | 100 | Row cap for each pasted link (link mode only). |
maxTracksPerPlaylist | integer | 500 | Playlist track cap, paged 100 at a time. |
outputLayout | select | "entity" | Nested entity rows or flat track rows. |
includeTrackPlayCounts | boolean | true | Include exact per-track play counts and totals. |
includeArtistTopCities | boolean | true | Include the artist's top listener cities. |
expandArtistAlbums | boolean | false | Emit every album for an artist link. |
expandArtistSingles | boolean | false | Emit every single and EP for an artist link. |
expandArtistCompilations | boolean | false | Emit every compilation for an artist link. |
expandArtistAppearsOn | boolean | false | Emit every release the artist appears on. |
expandArtistRelated | boolean | false | Emit full records for related artists. |
mode is the only required input. Every other field has a working default.
Fields per record
| Record | Fields |
|---|---|
| Artist | artistId, name, url, uri, verified, followers, monthlyListeners, worldRank, topCities, topTracks, biography, externalLinks, avatarUrl, headerImageUrl, galleryImageUrls, albumCount, singleCount, compilationCount, popularReleaseCount, latestRelease, relatedArtists, relatedArtistTotal, appearsOnCount, artistPlaylists, discoveredOnPlaylists, featuringPlaylists |
| Album | albumId, name, type, releaseDate, label, copyrights, artists, coverUrl, totalTracks, tracks, discs, totalPlayCount, totalDurationMs, moreAlbumsByArtist, releases, isPlayable, isPreRelease, sharingUrl |
| Track | trackId, name, artists, albumId, albumName, albumType, releaseDate, durationMs, explicit, playCount, trackNumber, discNumber, mediaType, contentRating, isPlayable, coverUrl, copyrights |
| Playlist | playlistId, name, description, ownerName, ownerUsername, ownerUrl, ownerAvatarUrl, followers, totalTracks, coverUrl, format, isEditorial, tracks, totalPlayCount, totalDurationMs, sharingUrl |
Every dataset row also carries recordType, sourceUrl and scrapedAt. Nested track objects
include trackId, name, url, artists, album*, releaseDate, durationMs, explicit,
trackNumber, discNumber, playCount, mediaType, contentRating and isPlayable when
Spotify publishes them. Search rows add searchQuery, searchType and searchRank.
Examples
Search tracks:
{"mode": "search","searchQuery": "Taylor Swift","searchType": "track","maxItems": 20}
Scrape a mixed list and expand an artist:
{"mode": "byUrls","spotifyUrls": ["spotify:artist:06HL4z0CvFAxyc27GXpf02","spotify:playlist:37i9dQZF1DX4UtSsGT1Sbe"],"expandArtistAlbums": true,"expandArtistSingles": true,"maxTracksPerPlaylist": 1000,"outputLayout": "entity","maxItems": 200}
Flat playlist table:
{"mode": "byUrls","spotifyUrls": ["spotify:playlist:37i9dQZF1DXcBWIGoYBM5M"],"outputLayout": "track","maxTracksPerPlaylist": 500}
How it works
The actor obtains a short-lived anonymous session from Spotify's public embed page, falling back to the public token endpoint. It then calls Spotify's own persisted GraphQL operations for search, artist overview, album tracks, single tracks and playlist pages. Persisted-query hashes are refreshed from the current web-player bundle at startup, with bundled fallbacks for the operations the bundle loads lazily. No user login, cookie, proxy setup or developer app is needed.
Notes and honest limits
- Spotify search returns at most about 1,000 results per entity type. Narrow the keyword, or run several searches, to reach deeper catalogs.
- Spotify exposes at most 50 appears-on releases on an artist profile. The artist record still
reports the full
appearsOnCountfrom Spotify's catalog count. - The catalog follows the runner's network location. There is no input that changes Spotify's
market: extra market/locale variables and headers were tested and do not alter results. The actor
reports Spotify's own
isPlayableflag for each track and album. - Playlists are paged 100 tracks at a time and can be read far beyond 1,000 tracks. Raise
maxTracksPerPlaylistfor very long playlists;totalTracksalways reports the full length even when the emitted track list is capped. - Some artists genuinely lack a public biography, header image, top-city data or external links. Those fields are omitted for that record rather than filled with placeholders.
- Audio features, lyrics, private listener demographics and email addresses are not part of the anonymous public payload and are not included.
Data source
Public Spotify web-player catalog responses. The actor is read-only, does not log in, and never writes to Spotify.