Spotify Play Counts Scraper · Streams per track · $3.2/1K
Pricing
$3.20 / 1,000 results
Spotify Play Counts Scraper · Streams per track · $3.2/1K
Extract Spotify play counts per track from artist, album and track URLs for music analytics, A&R research and playlist pitching. Returns exact streams plus album data and artist stats; follow albums or singles. $3.2/1K tracks.
Pricing
$3.20 / 1,000 results
Rating
0.0
(0)
Developer
MLG Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Features
Share
Spotify Play Scraper
Scrape Spotify play counts from public artist, album, and track URLs. Export Spotify track stream counts and related artist or release details as JSON, CSV, or spreadsheet data, with no account credentials or private playlist access required.
Each dataset item is one track. A track URL yields one row, an album URL yields its track list, and an artist URL yields its public top tracks. Optional artist settings follow listed albums, singles, or popular releases. The stream count is the public cumulative play count returned by the music player, recorded at the time of the run; it is not a popularity score or a projection. The same flat fields appear on every row, so results from different URL types can be combined in one table.
What data can you extract from Spotify?
The dataset contains one row per track, including exact plays and whatever public context is available for the input URL. Artist statistics are most complete when the input is an artist URL. Album details are most complete when the input is an album URL or when an artist release is followed. A direct track URL includes the track's album information, but does not request the full artist overview. Empty fields are returned as null rather than filled with estimates.
| Field | Description | Example |
|---|---|---|
sourceUrl | The normalized input URL that produced the row | https://open.spotify.com/track/2x8evxqUlF0eRabbW2JBJd |
sourceType | Whether the input was an artist, album, or track | track |
artistId | Primary artist identifier | 7Ln80lUS6He07XvHI8qqHH |
artistName | Primary artist name | Arctic Monkeys |
artistUrl | Direct link to the artist | https://open.spotify.com/artist/7Ln80lUS6He07XvHI8qqHH |
artistVerified | Public verification status when an artist overview was fetched | true |
followers | Artist follower count when available | 35718714 |
monthlyListeners | Current monthly listeners from the artist overview | 55812312 |
worldRank | Public global rank when shown | 46 |
topCities | Cities, countries, regions, and listener totals shown for an artist | [ {"city":"London","country":"GB",...} ] |
biography | Artist biography text when available | Public artist biography... |
externalLinks | Links displayed on the artist profile | [ {"name":"SOCIAL_LINK",...} ] |
artistImageUrl | Largest artist image returned with the overview | https://i.scdn.co/image/... |
albumId | Album or release identifier | 1XkGORuUX2QGOEIL4EbJKm |
albumName | Release title | Favourite Worst Nightmare |
albumUrl | Direct link to the release | https://open.spotify.com/album/1XkGORuUX2QGOEIL4EbJKm |
albumType | Release classification | album |
releaseDate | Best available date, month, or year | 2007-04-22 |
label | Record label when returned for a release | null |
copyright | Copyright and phonogram notices | 2007 ... |
albumImageUrl | Largest available release artwork | https://i.scdn.co/image/... |
trackId | Track identifier | 2x8evxqUlF0eRabbW2JBJd |
trackName | Track title | Fluorescent Adolescent |
trackUrl | Direct link to the track | https://open.spotify.com/track/2x8evxqUlF0eRabbW2JBJd |
trackNumber | Position within the release | 5 |
discNumber | Disc number when returned | 1 |
durationMs | Duration in milliseconds | 183893 |
contentRating | Public content rating | NONE |
isExplicit | Whether the content rating is explicit | false |
streamCount | Exact cumulative public play count | 1234571934 |
previewUrl | Public audio preview URL when requested and offered | https://p.scdn.co/mp3-preview/... |
scrapedAt | UTC extraction timestamp | 2026-09-26T16:51:50.038511+00:00 |
The examples above show the shape of a real run on 26 September 2026. Play counts, listener totals, rankings, and preview availability change over time. The returned value represents the public data visible to the run, not a historical snapshot from the release date. For time series work, keep the scrapedAt field and run the same input on a schedule.
How to scrape Spotify play counts
- Paste one or more public artist, album, or track URLs into
urls. The list can mix URL types. Share links with query parameters are accepted; the actor uses the stable identifier in the path. - If you entered an artist URL, select any release groups you want to follow. Without a follow option, the artist's ten public top tracks are returned. With
followAlbums, release track lists are included.followSinglesandfollowPopularReleasesadd the entries exposed by the artist overview. - Set
maxItemsto control the number of track rows. The default is 100. Set it to zero when you need every reachable row from the supplied URLs. Turn onscrapePreviewUrlsonly if you need preview links, because it requests extra public embed pages. - Start the run and open the dataset when it finishes. Download JSON for structured data, CSV for a table, or a spreadsheet format for manual analysis. Each row includes its source URL, so mixed inputs remain traceable.
For a quick check, use a single track URL. For a release report, use an album URL: its track list is collected in one request after the anonymous session is established. For an artist report, start with top tracks and then enable album following if you need broader coverage. A single artist can create many rows, so set a deliberate row cap before processing a large list.
Input
| Parameter | Type | Default | Description |
|---|---|---|---|
urls | Array of URL objects | Required | Public artist, album, or track links. Each object has a url property. |
followAlbums | Boolean | false | Follow albums listed in the artist overview and output their tracks. |
followSingles | Boolean | false | Follow the first ten singles listed in the artist overview. |
followPopularReleases | Boolean | false | Follow the first ten popular releases listed in the artist overview. |
scrapePreviewUrls | Boolean | false | Include public preview links where offered, alongside counts. |
maxItems | Integer | 100 | Maximum track rows across all inputs. Zero removes the row cap. |
proxyConfiguration | Object | Automatic | Optional proxy routing configuration. |
A realistic input for a mixed report is:
{"urls": [{"url": "https://open.spotify.com/track/2x8evxqUlF0eRabbW2JBJd"},{"url": "https://open.spotify.com/album/1XkGORuUX2QGOEIL4EbJKm"},{"url": "https://open.spotify.com/artist/7Ln80lUS6He07XvHI8qqHH"}],"followAlbums": true,"scrapePreviewUrls": true,"maxItems": 40}
The sample uses a track, an album, and an artist from the same catalog to demonstrate all input paths. The direct track appears again in the album and may also appear among the artist's releases. Rows are deduplicated within each source URL; rows from separate input URLs remain separate so that each input's contribution can be audited. If you want one canonical row per track across a mixed run, deduplicate the downloaded data on trackId after choosing which source context to retain.
Output example
This shortened row came from a successful 40-row run using the input above on 26 September 2026. Long arrays and optional fields are omitted here; the dataset includes every documented field.
{"sourceUrl": "https://open.spotify.com/track/2x8evxqUlF0eRabbW2JBJd","sourceType": "track","artistId": "7Ln80lUS6He07XvHI8qqHH","artistName": "Arctic Monkeys","albumId": "1XkGORuUX2QGOEIL4EbJKm","albumName": "Favourite Worst Nightmare","releaseDate": "2007-04-22","trackId": "2x8evxqUlF0eRabbW2JBJd","trackName": "Fluorescent Adolescent","trackUrl": "https://open.spotify.com/track/2x8evxqUlF0eRabbW2JBJd","trackNumber": 5,"durationMs": 183893,"contentRating": "NONE","isExplicit": false,"streamCount": 1234571934,"previewUrl": "https://p.scdn.co/mp3-preview/bd2ab6609fef9aa8cc35c75739d89dc5a72bfc80","scrapedAt": "2026-09-26T16:51:50.038511+00:00"}
streamCount is an integer, making numeric sorting and calculations straightforward. durationMs is also numeric. topCities and externalLinks are arrays only when an artist overview supplies them; a direct track row may have those fields as null. The dataset table focuses on common columns, while the JSON export retains the additional public fields.
Use cases
- Release performance reports: Collect every track on an album, compare their play counts, and identify the strongest tracks without opening each one individually. The
albumId,trackNumber, andreleaseDatefields keep the report anchored to a specific release. - Catalog monitoring: Run the same artist or release URLs at regular intervals. Compare counts between runs by
trackIdandscrapedAtto measure growth. A play count is cumulative, so differences between snapshots are often more useful than one isolated total. - Artist comparison: Gather top tracks, followers, monthly listeners, world rank, and top cities from public artist profiles. These figures support side by side research, provided that all artists are measured at roughly the same time.
- Release planning: Compare recent release tracks with older catalog tracks and inspect the public top city mix before selecting markets for promotion or live events. The values describe the public audience shown by the service; they do not identify listeners.
- Editorial research: Verify claims about a song's reach with a dated public count and link back to the source track. The row format makes it easy to attach evidence to a written report.
- Data pipelines: Export the flat rows to a database, spreadsheet, or scheduled reporting job. Stable IDs make joins possible even when a displayed title changes or a track appears in multiple releases.
How much does it cost to scrape Spotify?
The configured price is $3.20 per 1,000 delivered track rows, or $0.0032 per row. Charging is based on dataset results, not the number of input URLs. The platform's normal run usage is included in this result price. An album with 12 returned tracks therefore has 12 billable results, while a single track URL has one. The maxItems setting limits the number of result rows and can help you hold a run to a known maximum.
| Example | Rows | Result charge |
|---|---|---|
| One 12-track album | 12 | $0.0384 |
| Mixed report capped at 40 tracks | 40 | $0.1280 |
| A larger catalog export | 1,000 | $3.20 |
The 40-row verification run for this actor finished successfully. Counts per URL vary with the artist's public catalog, market availability, and the selected follow settings. If several inputs point to the same track, rows from different source URLs are billed separately because they remain separate dataset items. Removing duplicates after export does not reverse those delivered rows, so omit redundant inputs when cost is important.
Tips for best results
Use canonical public URLs with a 22-character identifier. The actor accepts ordinary share URLs and ignores their query parameters; it also accepts localized paths. Links to playlists, episodes, shows, private libraries, search pages, and user profiles are outside this actor's scope. A malformed URL is logged and skipped so that other URLs can continue. If every input fails, the run fails instead of returning an empty dataset as if extraction succeeded.
For an artist, first run with all follow options off to inspect the top ten tracks and current audience statistics. Then enable album following to cover the listed studio releases. Enabling singles and popular releases may add tracks that already appear elsewhere; the actor keeps one row per track within that artist input. A release can appear in more than one selected group, but it is fetched once per artist input.
Use maxItems to make the dataset predictable. The cap applies across the full input list in order. When it is reached, later URLs are not processed. Put the most important URLs first, or split a long input list into smaller runs. A zero cap means there is no row limit, but the available catalog is still bounded by the public listings and the service's response.
Preview links are optional. Turn them on only when your report needs them. The actor then checks the public embed for each relevant track, album, or artist and returns the preview URL if one is offered. Preview availability can differ by track and market. A missing preview does not make a play count invalid, and the count is still returned when previews are enabled.
Limits
The public artist overview exposes ten top tracks. Its first response also lists up to ten singles and ten popular releases, even when the displayed totals are larger. followSingles and followPopularReleases therefore cover those visible entries, not a guaranteed complete discography. Album following covers the albums exposed by the overview in the current market. For a specific release outside that list, provide its album URL directly.
The actor fetches additional album track pages when an album reports more than 50 tracks. Individual track or album inputs do not fetch a separate artist overview, so artist verification, followers, monthly listeners, world rank, top cities, biography, and artist image can be null there. A top track returned by an artist overview may have limited album metadata. These are differences in the public response for each input type, and the actor preserves them rather than substituting unrelated values.
Availability can depend on the service's market and current catalog. A track can be removed, relinked, or unavailable. Counts and rankings can update between runs. Public endpoint layouts and query identifiers can also change; if a run yields no tracks, it fails visibly. A partial artist run may still deliver successfully fetched rows when one followed release fails, with the failed release recorded in the run log. Review logs when completeness matters.
No login is used. The actor only requests public pages and public anonymous data. It does not reveal private listening histories, account information, or per-user activity. The topCities field is an aggregate public statistic, not a list of people.
Use with AI agents (MCP)
Add this actor to any MCP client (Claude, Cursor, VS Code, n8n and others) with one URL:
https://mcp.apify.com?tools=mlg14/spotify-play-scraper
The actor returns one dataset item per result. Keep runs short and bounded with the item limit shown in each example.
Prompt 1: "How many plays do the tracks of this Spotify album have?"
{"urls": [{"url": "https://open.spotify.com/album/1XkGORuUX2QGOEIL4EbJKm"}],"maxItems": 20}
Prompt 2: "Get the play count of this Spotify track."
{"urls": [{"url": "https://open.spotify.com/track/2x8evxqUlF0eRabbW2JBJd"}],"maxItems": 1}
Prompt 3: "Show this artist's top tracks and their stream counts."
{"urls": [{"url": "https://open.spotify.com/artist/7Ln80lUS6He07XvHI8qqHH"}],"maxItems": 10}
FAQ
Are these actual plays or a popularity score?
streamCount is the cumulative play count returned for that track in the public player data. It is an integer. A popularity score would be a relative rank or index and is not interchangeable with a lifetime stream total. Store dated snapshots if you need to measure change.
Why is a field empty on a track URL?
The direct track response includes the track and its album, but it does not supply every artist overview statistic. Use an artist URL when you need monthly listeners, followers, rank, top cities, and biography. Some release fields can still be absent because they are not provided for every item.
Does an artist URL return every release?
It returns the public top tracks by default. Album following uses the albums visible in the overview. The overview currently limits singles and popular releases to ten listed entries each. Supply explicit album URLs for releases that you need to guarantee are included.
Do I need to configure proxies or sign in?
No sign in or private credential is required. The default proxy setting works automatically. If a public request is temporarily blocked, the actor can retry with a new session and another proxy route. This does not change the input schema or the meaning of the returned counts.
How fast is a run?
Speed depends on the number of releases and the size of their track lists. A single track or album uses only a few public requests. Following many artist releases requires more requests. The 40-row verification run completed in under a minute, but that is an example rather than a guarantee for every catalog.
Can I schedule runs and export to a spreadsheet?
Yes. Schedule the same input to collect dated snapshots and export the dataset in CSV or spreadsheet form. Join snapshots by trackId to compare cumulative plays. Keep sourceUrl when the same track appears in several requested contexts.
Is collection of this data lawful?
The actor reads publicly available data. Use it in line with applicable law and the service's terms. Respect rights in biographies, artwork, and preview media, and avoid using public aggregates to make claims about individual listeners. The actor does not access private accounts.
Integrations
The dataset is available through the platform's data API as well as manual downloads. Scheduled runs, webhooks, and automation flows can move new rows into reporting systems or spreadsheets. Use trackId as the stable join key for track measurements, albumId for release reports, and scrapedAt for time based comparisons. When a pipeline combines multiple source URLs, decide whether to preserve every source row or deduplicate by track before computing totals.
Support
Open an issue on the Issues tab; we reply within 24h and add fields on request.