Spotify Multi-Entity Scraper avatar

Spotify Multi-Entity Scraper

Pricing

from $2.99 / 1,000 entity records

Go to Apify Store
Spotify Multi-Entity Scraper

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

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

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

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Add public Spotify URLs or 22-character IDs to any of artistUrls, trackUrls, albumUrls, or playlistUrls. At least one entry is required.
  3. Keep the batch small for the first run; at most 50 unique entities are accepted across all four arrays.
  4. 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.

FieldTypeRequired?DefaultMeaning
artistUrlsstring arrayOptionalNot suppliedSpotify artist URLs or 22-character IDs, up to 50 entries.
trackUrlsstring arrayOptionalNot suppliedSpotify track URLs or 22-character IDs, up to 50 entries.
albumUrlsstring arrayOptionalNot suppliedSpotify album URLs or 22-character IDs, up to 50 entries.
playlistUrlsstring arrayOptionalNot suppliedSpotify playlist URLs or 22-character IDs, up to 50 entries.
marketstringOptionalUSTwo-letter market context included in each row. The public page is not market-forced.
timeoutSecsintegerOptional30Maximum seconds for each public Spotify page request, 5–60.
maxResponseBytesintegerOptional2000000Safety 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.

FieldTypeAvailabilityMeaning
recordIdstringAlwaysStable key in the form spotify_entity_<type>_<id>.
recordTypestringAlwaysRow discriminator; always spotifyEntity.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.
entityTypestringAlwaysartist, track, album, or playlist.
entityIdstringAlways22-character public Spotify entity ID.
namestringAlwaysEntity name from the public page metadata.
spotifyUrlstringAlwaysCanonical https://open.spotify.com/<type>/<id> URL.
descriptionstringWhen page metadata supplies onePublic description.
releaseDatestringWhen page metadata supplies oneRelease date for albums or tracks.
imageUrlstringWhen og:image is exposedArtwork URL.
artistNamesstringWhen the type and description expose themArtist names for albums or tracks.
releaseYearintegerWhen the description exposes a yearRelease year for albums or tracks, at least 0.
monthlyListenersintegerFor artists when renderedPublic monthly-listener count, at least 0.
declaredTrackCountintegerFor albums when the description exposes itDeclared album song count, at least 0.
declaredItemCountintegerFor playlists when the description exposes itDeclared playlist item count, at least 0.
declaredSaveCountintegerFor playlists when the description exposes itDeclared playlist save count, at least 0.
marketstringAlwaysRequested market context; it is provenance, not a market override.
sourceUrlstringAlwaysExact 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.

FieldMeaning
recordTypeAlways runSummary.
statusActor outcome: SUCCEEDED or FAILED.
marketMarket context used for the run.
requestedByTypeRequested unique entity counts by artist, track, album, and playlist.
requestedCountTotal unique entities requested.
recordsStoredEntity rows saved to the dataset.
errorRecordCountEntity pages that failed extraction.
startedAtRun start time, in ISO UTC.
completedAtTime the summary was written, in ISO UTC.
durationMsRun duration in milliseconds.
runStatusCanonical run status; matches status.
dataStatusCompleteness of saved rows: COMPLETE, PARTIAL, NO_RESULTS, or FAILED.
failureCountOperational failures and failed dataset writes.
outputWriteFailureCountSummary or optional key-value writes that failed.
StatusData statusMeaning
SUCCEEDEDCOMPLETEEvery requested entity produced a row without an extraction problem.
SUCCEEDEDPARTIALAt least one row was saved, but another entity or output write failed. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe run completed cleanly and produced no entity rows.
FAILEDFAILEDThe 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.