Spotify Multi-Entity Scraper
Pricing
from $2.99 / 1,000 entity records
Spotify Multi-Entity Scraper
Fetch any mix of Spotify artists, tracks, albums, and playlists by URL or ID in one run.
Pricing
from $2.99 / 1,000 entity records
Rating
0.0
(0)
Developer
w3crawler
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Resolve a mixed batch of public Spotify artist, track, album, and playlist URLs or IDs into one dataset with a consistent identity and provenance shape. Each entity is read from its public Spotify page, so artist listener counts, album release facts, track artist names, or playlist item/save counts appear when that page exposes them.
Get started
- Open the Actor Store page and select Try for free or open the Input tab.
- Add public Spotify URLs or 22-character IDs to any of
artistUrls,trackUrls,albumUrls, orplaylistUrls. At least one entry is required. - Keep the batch small for the first run; at most 50 unique entities are accepted across all four arrays.
- Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open Run summary (
OUTPUT_SUMMARY) to check the outcome and counts.
Input
No single field is required by the schema, but a run fails validation unless at least one entity array contains a valid entry. Unsupported field names and out-of-range values are rejected before requests start.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
artistUrls | string array | Optional | Not supplied | Spotify artist URLs or 22-character IDs, up to 50 entries. |
trackUrls | string array | Optional | Not supplied | Spotify track URLs or 22-character IDs, up to 50 entries. |
albumUrls | string array | Optional | Not supplied | Spotify album URLs or 22-character IDs, up to 50 entries. |
playlistUrls | string array | Optional | Not supplied | Spotify playlist URLs or 22-character IDs, up to 50 entries. |
market | string | Optional | US | Two-letter market context included in each row. The public page is not market-forced. |
timeoutSecs | integer | Optional | 30 | Maximum seconds for each public Spotify page request, 5–60. |
maxResponseBytes | integer | Optional | 2000000 | Safety limit for each downloaded public page, 100000–5000000 bytes. |
Full default input (add at least one entity URL or ID before running):
{"market": "US","timeoutSecs": 30,"maxResponseBytes": 2000000}
Duplicate IDs are removed across arrays, and the combined unique batch is capped at 50 entities. The Actor reads public Spotify pages over direct HTTP and does not log in, call api.spotify.com, capture tokens, download audio, or bypass access challenges.
Output
The dataset contains one spotifyEntity row per resolved entity. Optional values are omitted rather than inferred, and no diagnostic or placeholder rows are written.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordId | string | Always | Stable key in the form spotify_entity_<type>_<id>. |
recordType | string | Always | Row discriminator; always spotifyEntity. |
scrapedAt | string | Always | Time the row was saved, in ISO UTC. |
entityType | string | Always | artist, track, album, or playlist. |
entityId | string | Always | 22-character public Spotify entity ID. |
name | string | Always | Entity name from the public page metadata. |
spotifyUrl | string | Always | Canonical https://open.spotify.com/<type>/<id> URL. |
description | string | When page metadata supplies one | Public description. |
releaseDate | string | When page metadata supplies one | Release date for albums or tracks. |
imageUrl | string | When og:image is exposed | Artwork URL. |
artistNames | string | When the type and description expose them | Artist names for albums or tracks. |
releaseYear | integer | When the description exposes a year | Release year for albums or tracks, at least 0. |
monthlyListeners | integer | For artists when rendered | Public monthly-listener count, at least 0. |
declaredTrackCount | integer | For albums when the description exposes it | Declared album song count, at least 0. |
declaredItemCount | integer | For playlists when the description exposes it | Declared playlist item count, at least 0. |
declaredSaveCount | integer | For playlists when the description exposes it | Declared playlist save count, at least 0. |
market | string | Always | Requested market context; it is provenance, not a market override. |
sourceUrl | string | Always | Exact public page URL that produced the row. Observed field not declared in dataset_schema.json. |
Full JSON output
The example below is a real saved row from the 2026-10-25 verification run.
{"recordId": "spotify_entity_album_4aawyAB9vmqN3uQ7FjRGTy","recordType": "spotifyEntity","scrapedAt": "2026-10-25T20:52:43.749Z","entityType": "album","entityId": "4aawyAB9vmqN3uQ7FjRGTy","name": "Global Warming","spotifyUrl": "https://open.spotify.com/album/4aawyAB9vmqN3uQ7FjRGTy","description": "Listen to Global Warming on Spotify · album · Pitbull · 2012 · 18 songs","releaseDate": "2012-11-16","imageUrl": "https://i.scdn.co/image/ab67616d0000b2732c5b24ecfa39523a75c993c4","artistNames": "Pitbull","releaseYear": 2012,"declaredTrackCount": 18,"market": "US","sourceUrl": "https://open.spotify.com/album/4aawyAB9vmqN3uQ7FjRGTy"}
Run summary
Run summary is stored in the run's key-value store under OUTPUT_SUMMARY; the same object is also written to OUTPUT. It reports requested entity types and saved rows.
| Field | Meaning |
|---|---|
recordType | Always runSummary. |
status | Actor outcome: SUCCEEDED or FAILED. |
market | Market context used for the run. |
requestedByType | Requested unique entity counts by artist, track, album, and playlist. |
requestedCount | Total unique entities requested. |
recordsStored | Entity rows saved to the dataset. |
errorRecordCount | Entity pages that failed extraction. |
startedAt | Run start time, in ISO UTC. |
completedAt | Time the summary was written, in ISO UTC. |
durationMs | Run duration in milliseconds. |
runStatus | Canonical run status; matches status. |
dataStatus | Completeness of saved rows: COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
failureCount | Operational failures and failed dataset writes. |
outputWriteFailureCount | Summary or optional key-value writes that failed. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | Every requested entity produced a row without an extraction problem. |
SUCCEEDED | PARTIAL | At least one row was saved, but another entity or output write failed. Saved rows remain available. |
SUCCEEDED | NO_RESULTS | The run completed cleanly and produced no entity rows. |
FAILED | FAILED | The run failed before any usable entity row was saved. |
Example OUTPUT_SUMMARY from the saved run (also written to OUTPUT):
{"recordType": "runSummary","status": "SUCCEEDED","market": "US","requestedByType": {"artist": 1,"track": 0,"album": 1,"playlist": 0},"requestedCount": 2,"recordsStored": 2,"errorRecordCount": 0,"startedAt": "2026-10-25T20:52:43.119Z","completedAt": "2026-10-25T20:52:43.791Z","durationMs": 672,"runStatus": "SUCCEEDED","dataStatus": "COMPLETE","failureCount": 0,"outputWriteFailureCount": 0}
Coverage and limitations
The Actor resolves one public page per unique entity and does not expand into track lists, albums by an artist, or playlists that reference an entity. Entity fields are deliberately type-specific: artists can expose monthly listeners; albums can expose release date, artist names, release year, and a declared song count; playlists can expose declared item and save counts; tracks can expose artist names and a release year when the page description includes them.
These values come from JSON-LD and Open Graph metadata, plus text patterns in the public description. If the page omits a count or date, the field is absent rather than estimated. At most 50 unique entities are accepted per run, duplicates are removed, and market is recorded as provenance but does not force a market-specific page. Failures are counted in the summary and logged, never written as data rows.
Usage and support
Apify compute and storage costs vary with the number of entity pages requested and output size; this Actor uses direct HTTP rather than a browser, so cost is usually lower than browser-based Spotify scrapers. Start with a small mixed batch, inspect the dataset and run summary, then scale toward the 50-entity cap. 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, endorsed by, or sponsored by Spotify. Use it only for public data and in accordance with Spotify's terms, robots guidance, and applicable law.