Spotify Track Metadata Scraper avatar

Spotify Track Metadata Scraper

Pricing

from $2.99 / 1,000 track intelligences

Go to Apify Store
Spotify Track Metadata Scraper

Spotify Track Metadata Scraper

Collect transparent public Spotify track metadata and provenance.

Pricing

from $2.99 / 1,000 track intelligences

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect public Spotify track metadata from anonymous rendered track pages: track identity, artist and album links, release facts, duration, visible play count, explicit status, and public preview metrics when Spotify exposes them. Audio-feature values are reported as unavailable rather than estimated or decoded from audio.

Get started

  1. Open the Actor Store page and select Try for free, or open the Input tab.
  2. Add one or more Spotify track URLs or 22-character track IDs to trackUrls.
  3. Keep market and the browser 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

trackUrls is required. All other fields are optional. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
trackUrlsstring arrayRequiredNot suppliedOne to 25 Spotify track URLs or IDs. 1–25 items, each 1–300 characters.
marketstringOptional"US"Two-letter output context. No market-filtered API request is made.
requestDelayMsintegerOptional1000Polite delay before each browser navigation, in milliseconds. 0–30000.
timeoutSecsintegerOptional45Per-page timeout, in seconds. 10–90.
maxResponseBytesintegerOptional3000000Maximum initial page response size, in bytes. 100000–5000000.
proxyConfigurationobjectOptional{"useApifyProxy":false}Optional Apify Proxy configuration; direct browsing is the default.

Full default input:

{
"market": "US",
"requestDelayMs": 1000,
"timeoutSecs": 45,
"maxResponseBytes": 3000000,
"proxyConfiguration": {
"useApifyProxy": false
}
}

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

Output

The dataset contains one trackMetadata row per saved track page. Missing optional values are omitted rather than inferred, and no diagnostic or placeholder rows are written.

FieldTypeAvailabilityMeaning
recordIdstringAlwaysStable Actor record key.
recordTypestringAlwaysRow discriminator, always trackMetadata.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.
trackIdstringAlwaysPublic Spotify track ID.
namestringAlwaysTrack name.
spotifyUrlstringAlwaysPublic Spotify track URL.
descriptionstringWhen publishedPublic track description when rendered.
imageUrlstringWhen publishedPublic artwork URL when rendered.
artistsobject arrayAlwaysLinked artist records with artistId, name, and spotifyUrl when exposed.
artistNamesstring arrayAlwaysArtist display names.
albumstringAlwaysAlbum name.
albumIdstringAlwaysPublic Spotify album ID.
albumUrlstringAlwaysPublic Spotify album URL.
releaseDatestringAlwaysRelease date or year displayed by Spotify.
releaseYearintegerAlwaysRelease year parsed from the displayed release date.
durationMsintegerAlwaysTrack duration in milliseconds.
durationFormattedstringAlwaysRendered duration in minutes:seconds form.
playCountintegerAlwaysPublic play count displayed for the track.
explicitbooleanWhen publishedExplicit marker when the page displays one.
marketstringAlwaysRequested market context.
marketObservedstringAlwaysObserved locale or market label.
marketAppliedbooleanAlwaysAlways false; no market filter is applied.
publicPreviewAvailablebooleanAlwaysWhether public preview metadata was observable.
previewUrlstringWhen publishedPublic preview URL when a lawful preview is exposed.
previewMimeTypestringWhen publishedPreview MIME type when exposed.
previewDurationMsintegerWhen publishedPreview duration in milliseconds when exposed.
previewSourcestringWhen publishedSource of the public preview metadata.
previewMetricsStatusstringAlwaysPreview-metric outcome, such as unavailable_public_preview_metadata.
audioFeaturesAvailablebooleanAlwaysWhether audio features were publicly observable.
audioFeaturesNotestringAlwaysExplanation of the public audio-feature limitation.
sourceUrlstringAlwaysPublic track page used for the row. Observed in saved rows; not declared in the dataset schema.

Full JSON output

The example below is an unchanged row saved by the 2026-10-25 run. It shows the unavailable audio-feature declaration and the shape of the artists array.

{
"recordId": "spotify_track_3C0nOe05EIt1390bVABLyN",
"recordType": "trackMetadata",
"trackId": "3C0nOe05EIt1390bVABLyN",
"name": "On The Floor",
"spotifyUrl": "https://open.spotify.com/track/3C0nOe05EIt1390bVABLyN",
"artists": [
{
"artistId": "2DlGxzQSjYe5N6G9nkYghR",
"name": "Jennifer Lopez",
"spotifyUrl": "https://open.spotify.com/artist/2DlGxzQSjYe5N6G9nkYghR"
}
],
"artistNames": [
"Jennifer Lopez"
],
"album": "Love?",
"albumId": "3sysiYphqNRQw7VKLCg1yE",
"albumUrl": "https://open.spotify.com/album/3sysiYphqNRQw7VKLCg1yE",
"releaseDate": "2011",
"releaseYear": 2011,
"durationMs": 284000,
"durationFormatted": "4:44",
"playCount": 1313346286,
"market": "US",
"marketObserved": "US",
"marketApplied": false,
"publicPreviewAvailable": false,
"previewMetricsStatus": "unavailable_public_preview_metadata",
"audioFeaturesAvailable": false,
"audioFeaturesNote": "Public track pages expose no audio feature values; no audio was downloaded or decoded.",
"sourceUrl": "https://open.spotify.com/track/3C0nOe05EIt1390bVABLyN",
"scrapedAt": "2026-10-25T20:46:10.981Z"
}

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.
requestedTrackCountTrack inputs requested.
trackRecordCountTrack rows produced.
recordsStoredTrack rows saved.
errorRecordCountError records; diagnostics are kept out of the dataset.
marketRequested market context.
marketAppliedWhether market filtering was applied; always false.
publicPreviewAvailableCountTracks with observable public preview metadata.
previewMetricsComputedCountPreview metrics computed.
audioFeaturesAvailableCountTracks with publicly observable audio features.
audioFeaturesUnavailableCountTracks whose public page exposed no audio features.
authenticationModeExtraction mode, anonymous_public_page in the saved run.
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
SUCCEEDEDCOMPLETETrack rows were saved without an extraction problem.
SUCCEEDEDPARTIALTrack rows were saved, but a later problem prevented a complete run. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe pages completed cleanly with no usable track rows.
FAILEDFAILEDA fatal error occurred before any usable row was saved.

Example OUTPUT_SUMMARY from the saved run:

{
"recordType": "runSummary",
"status": "SUCCEEDED",
"requestedTrackCount": 1,
"trackRecordCount": 1,
"recordsStored": 1,
"errorRecordCount": 0,
"market": "US",
"marketApplied": false,
"publicPreviewAvailableCount": 0,
"previewMetricsComputedCount": 0,
"audioFeaturesAvailableCount": 0,
"audioFeaturesUnavailableCount": 1,
"authenticationMode": "anonymous_public_page",
"startedAt": "2026-10-25T20:45:58.451Z",
"completedAt": "2026-10-25T20:46:11.525Z",
"durationMs": 13074,
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"failureCount": 0,
"outputWriteFailureCount": 0
}

Coverage and limitations

The Actor reads one rendered public track page per input and records only values displayed there. playCount is Spotify's displayed public counter at collection time, not a stream count guaranteed to match any other source. releaseDate may be a year, month, or full date; releaseYear is parsed only from what is displayed.

Public track pages in the saved run exposed no audio-feature values. The Actor does not download, decode, or analyze audio, and it does not infer tempo, key, energy, or similar features. publicPreviewAvailable can be false; preview URL, MIME type, duration, and source are present only when Spotify exposes lawful public preview metadata. description, imageUrl, and explicit are omitted when the page does not display them. Deleted tracks, region-restricted pages, login walls, and access challenges cannot be recovered. market is output context only. sourceUrl is present in saved rows even though the dataset schema does not declare it.

Usage and support

Compute and storage charges vary with the number of track pages, browser duration, page size, and output rows. Each track requires its own browser visit, so start with one or a few URLs and inspect the rows 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.