Spotify Seed-Artist Related Track Discovery Scraper avatar

Spotify Seed-Artist Related Track Discovery Scraper

Pricing

from $2.99 / 1,000 discovery records

Go to Apify Store
Spotify Seed-Artist Related Track Discovery Scraper

Spotify Seed-Artist Related Track Discovery Scraper

Resolve a public Spotify artist discovery seed and, with official credentials, collect bounded Search-endpoint related tracks.

Pricing

from $2.99 / 1,000 discovery 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

Build a bounded discovery snapshot from a public Spotify artist page: the seed artist profile, visible popular tracks, discography cards, Fans also like relationships, and other discovery shelves rendered on the page. The result is one aggregate row with stable links and counts, useful for mapping the public surface around a seed artist without inventing relatedness.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Enter a public artist URL or 22-character artist ID in seedArtistUrl.
  3. Keep maxItems, maxRelatedArtists, and maxAlbums small for the first run.
  4. Start the Actor, open the dataset, and export the saved record as JSON, CSV, or Excel. Open Run summary (OUTPUT_SUMMARY) to check the outcome and counts.

Input

seedArtistUrl is required. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
seedArtistUrlstringRequiredNot suppliedPublic Spotify artist URL or 22-character artist ID.
marketstringOptionalUSTwo-letter context label retained in output. It does not authorize an API request or change source selection.
maxItemsintegerOptional5Maximum public popular-track rows retained, 1–10.
maxRelatedArtistsintegerOptional10Maximum public Fans also like cards, 1–25.
maxAlbumsintegerOptional10Maximum public Discography cards, 1–25.
requestDelayMsintegerOptional1000Polite delay before navigation and between rendered-page scroll passes, 0–30000 ms.
timeoutSecsintegerOptional45Timeout for the public page, 10–90 seconds.
maxResponseBytesintegerOptional3000000Hard initial response-body limit, 100000–5000000 bytes.
proxyConfigurationobjectOptional{"useApifyProxy":false}Optional Apify Proxy settings; direct browsing is the default.

Full default input (supply seedArtistUrl before running):

{
"market": "US",
"maxItems": 5,
"maxRelatedArtists": 10,
"maxAlbums": 10,
"requestDelayMs": 1000,
"timeoutSecs": 45,
"maxResponseBytes": 3000000,
"proxyConfiguration": {
"useApifyProxy": false
}
}

The Actor reads one anonymous, public Spotify artist page. It does not log in, call the official Web API, capture Web Player tokens, download audio, or bypass access challenges.

Output

The dataset contains one discoverySeed row per requested seed artist. Optional values are omitted rather than inferred, and no diagnostic or placeholder rows are written.

FieldTypeAvailabilityMeaning
recordIdstringAlwaysStable key in the form spotify_discovery_seed_<artistId>.
recordTypestringAlwaysRow discriminator; always discoverySeed.
seedArtistIdstringAlways22-character public Spotify seed artist ID.
seedArtistNamestringAlwaysVerified artist name rendered on the public page.
spotifyUrlstringAlwaysCanonical https://open.spotify.com/artist/<id> URL.
imageUrlstringWhen og:image is exposedSeed artist artwork URL. It was not present in the saved run.
monthlyListenersintegerWhen renderedPublic monthly-listener count, at least 0.
worldRankintegerWhen renderedPublic global rank, at least 0.
seedTopTracksobject arrayWhen rendered; may be emptyBounded public popular-track previews.
seedTopTracksCountintegerAlwaysNumber of retained popular track previews, at least 0.
albumsobject arrayWhen rendered; may be emptyBounded album cards.
albumCountintegerAlwaysNumber of retained album cards, at least 0.
relatedArtistsobject arrayWhen rendered; may be emptyBounded related-artist cards.
relatedArtistsCountintegerAlwaysNumber of retained related-artist cards, at least 0.
discoveryShelvesobject arrayWhen rendered; may be emptyBounded visible discovery shelves, which can include Discography, Featuring, Music videos, and similar sections.
discoveryShelfCountintegerAlwaysNumber of retained discovery shelves, at least 0.
discoveryCardCountintegerAlwaysTotal cards retained across discoveryShelves, at least 0.
marketstringAlwaysNormalized requested market context; the public page is not market-forced.
relatedSearchStatusstringAlwaysRelated-artist source status; observed value public_artist_preview.
seedTopTracksStatusstringAlwayspublic_preview or unavailable_public_page.
relatedArtistsStatusstringAlwayspublic_preview or unavailable_public_page.
sourceUrlstringAlwaysRendered public artist page URL used for the row.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.

seedTopTracks entries contain trackId, name, spotifyUrl, playCount, durationFormatted, and position when visible. albums and relatedArtists entries contain id, name, spotifyUrl, imageUrl, and subtitle. discoveryShelves entries contain a label and a cards array; each card contains entityType, id, name, spotifyUrl, imageUrl, and subtitle.

Full JSON output

The example below is a real saved row from the 2026-10-25 verification run. The track, album, related-artist, discovery-shelf, and shelf-card arrays are shortened; counts and scalar values are unchanged.

{
"recordId": "spotify_discovery_seed_0TnOYISbd1XYRBk9myaseg",
"recordType": "discoverySeed",
"seedArtistId": "0TnOYISbd1XYRBk9myaseg",
"seedArtistName": "Pitbull",
"spotifyUrl": "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
"monthlyListeners": 77211224,
"worldRank": 18,
"seedTopTracks": [
{
"trackId": "3C0nOe05EIt1390bVABLyN",
"name": "On The Floor",
"spotifyUrl": "https://open.spotify.com/track/3C0nOe05EIt1390bVABLyN",
"playCount": 1313346286,
"durationFormatted": "4:44"
},
{
"trackId": "4QNpBfC0zvjKqPJcyqBy9W",
"name": "Give Me Everything (feat. Nayer)",
"spotifyUrl": "https://open.spotify.com/track/4QNpBfC0zvjKqPJcyqBy9W",
"playCount": 2332941754,
"durationFormatted": "4:12"
},
{
"trackId": "3cHyrEgdyYRjgJKSOiOtcS",
"name": "Timber",
"spotifyUrl": "https://open.spotify.com/track/3cHyrEgdyYRjgJKSOiOtcS",
"playCount": 2294971907,
"durationFormatted": "3:24"
}
],
"seedTopTracksCount": 5,
"albums": [
{
"id": "4Lkkfpt8ZkDmw4viHHi0IM",
"name": "PITCOIN",
"spotifyUrl": "https://open.spotify.com/album/4Lkkfpt8ZkDmw4viHHi0IM",
"imageUrl": "https://i.scdn.co/image/ab67616d00001e02fb5868a9fc3d54f8f0b95b0a",
"subtitle": "Latest Release • Album"
},
{
"id": "4rG0MhkU6UojACJxkMHIXB",
"name": "Planet Pit (Deluxe Version)",
"spotifyUrl": "https://open.spotify.com/album/4rG0MhkU6UojACJxkMHIXB",
"imageUrl": "https://i.scdn.co/image/ab67616d00001e021dc7483a9fcfce54822a2f19",
"subtitle": "2011 • Album"
},
{
"id": "4EUf4YyNjuXypWY6W5wEDm",
"name": "Globalization",
"spotifyUrl": "https://open.spotify.com/album/4EUf4YyNjuXypWY6W5wEDm",
"imageUrl": "https://i.scdn.co/image/ab67616d00001e02e6efeff81a318670a292090f",
"subtitle": "2014 • Album"
}
],
"albumCount": 10,
"relatedArtists": [
{
"id": "0jnsk9HBra6NMjO2oANoPY",
"name": "Flo Rida",
"spotifyUrl": "https://open.spotify.com/artist/0jnsk9HBra6NMjO2oANoPY",
"imageUrl": "https://i.scdn.co/image/ab67616100005174655ca8f3196953554b479452",
"subtitle": "Artist"
},
{
"id": "1yxSLGMDHlW21z4YXirZDS",
"name": "Black Eyed Peas",
"spotifyUrl": "https://open.spotify.com/artist/1yxSLGMDHlW21z4YXirZDS",
"imageUrl": "https://i.scdn.co/image/ab67616100005174f2200ce505d25e1d7e1561be",
"subtitle": "Artist"
},
{
"id": "2DlGxzQSjYe5N6G9nkYghR",
"name": "Jennifer Lopez",
"spotifyUrl": "https://open.spotify.com/artist/2DlGxzQSjYe5N6G9nkYghR",
"imageUrl": "https://i.scdn.co/image/ab6761610000517430c4971f3bebe2bcb3e007c3",
"subtitle": "Artist"
}
],
"relatedArtistsCount": 10,
"discoveryShelves": [
{
"label": "Discography",
"cards": [
{
"entityType": "album",
"id": "4Lkkfpt8ZkDmw4viHHi0IM",
"name": "PITCOIN",
"spotifyUrl": "https://open.spotify.com/album/4Lkkfpt8ZkDmw4viHHi0IM",
"imageUrl": "https://i.scdn.co/image/ab67616d00001e02fb5868a9fc3d54f8f0b95b0a",
"subtitle": "Latest Release • Album"
},
{
"entityType": "album",
"id": "4rG0MhkU6UojACJxkMHIXB",
"name": "Planet Pit (Deluxe Version)",
"spotifyUrl": "https://open.spotify.com/album/4rG0MhkU6UojACJxkMHIXB",
"imageUrl": "https://i.scdn.co/image/ab67616d00001e021dc7483a9fcfce54822a2f19",
"subtitle": "2011 • Album"
},
{
"entityType": "album",
"id": "4EUf4YyNjuXypWY6W5wEDm",
"name": "Globalization",
"spotifyUrl": "https://open.spotify.com/album/4EUf4YyNjuXypWY6W5wEDm",
"imageUrl": "https://i.scdn.co/image/ab67616d00001e02e6efeff81a318670a292090f",
"subtitle": "2014 • Album"
}
]
},
{
"label": "Featuring Pitbull",
"cards": [
{
"entityType": "playlist",
"id": "37i9dQZF1DZ06evO0sQwP6",
"name": "This Is Pitbull",
"spotifyUrl": "https://open.spotify.com/playlist/37i9dQZF1DZ06evO0sQwP6",
"imageUrl": "https://pickasso.spotifycdn.com/image/ab67c0de0000deef/dt/v1/img/thisisv3/0TnOYISbd1XYRBk9myaseg/en",
"subtitle": "This is Pitbull. The essential tracks, all in one playlist."
},
{
"entityType": "playlist",
"id": "37i9dQZF1DX4UZCW3u80le",
"name": "2000s Pop",
"spotifyUrl": "https://open.spotify.com/playlist/37i9dQZF1DX4UZCW3u80le",
"imageUrl": "https://i.scdn.co/image/ab67706f00000002dbe1f7cc466def794e58d61a",
"subtitle": "Back when we had Kelly Clarkson, Usher, Lady Gaga and *NSYNC on repeat!"
},
{
"entityType": "playlist",
"id": "37i9dQZF1DX3rxVfibe1L0",
"name": "Mood Booster",
"spotifyUrl": "https://open.spotify.com/playlist/37i9dQZF1DX3rxVfibe1L0",
"imageUrl": "https://i.scdn.co/image/ab67706f000000028191cc41d8585df6170b3e5e",
"subtitle": "Get happy with today's dose of feel-good songs!"
}
]
},
{
"label": "Music videos",
"cards": [
{
"entityType": "artist",
"id": "0TnOYISbd1XYRBk9myaseg",
"name": "Tu Cuerpo (feat. Jencarlos)",
"spotifyUrl": "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
"imageUrl": "https://i.scdn.co/image/ab6742d3000053b7172d2ec24a92091b0fda2e9a",
"subtitle": "Pitbull"
},
{
"entityType": "artist",
"id": "5fJsY7afrbsyzJj9wdzJMh",
"name": "Imaginate",
"spotifyUrl": "https://open.spotify.com/artist/5fJsY7afrbsyzJj9wdzJMh",
"imageUrl": "https://i.scdn.co/image/ab6742d3000053b770b896d5844f6474efbc5859",
"subtitle": "Tito \"El Bambino\", Pitbull, El Alfa"
}
]
}
],
"discoveryShelfCount": 7,
"discoveryCardCount": 55,
"market": "US",
"relatedSearchStatus": "public_artist_preview",
"seedTopTracksStatus": "public_preview",
"relatedArtistsStatus": "public_preview",
"sourceUrl": "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
"scrapedAt": "2026-10-25T21:02:29.240Z"
}

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 records the seed identity and the counts harvested from the aggregate row.

FieldMeaning
recordTypeAlways runSummary.
statusActor outcome: SUCCEEDED or FAILED.
seedArtistIdSeed artist ID used for the run.
seedArtistNameSeed artist name rendered on the page.
marketMarket context recorded for the run.
requestedMaxItemsPopular-track limit requested.
discoveryRecordCountDiscovery seed rows produced.
discoveryTrackCountPopular track previews retained.
seedRecordCountSeed artist records produced.
relatedArtistCountRelated-artist cards retained.
albumCountAlbum cards retained.
discoveryShelfCountDiscovery shelves retained.
discoveryCardCountCards retained across discovery shelves.
shelfScrollPassesShelf scroll passes performed.
trackRowsObservedTrack rows observed while scrolling.
scrollableContainersScrollable containers detected on the page.
recordsStoredRows saved to the dataset.
errorRecordCountPage or extraction failures recorded.
authenticationModeAlways anonymous_public_page.
sourceTransportTransport description recorded for the run.
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
SUCCEEDEDCOMPLETEThe seed page produced a row without an extraction problem.
SUCCEEDEDPARTIALA row was saved, but a later step or output write failed. The saved row remains available.
SUCCEEDEDNO_RESULTSThe run completed cleanly without a usable seed row.
FAILEDFAILEDThe run failed before any usable row was saved.

Example OUTPUT_SUMMARY from the saved run (also written to OUTPUT):

{
"recordType": "runSummary",
"status": "SUCCEEDED",
"seedArtistId": "0TnOYISbd1XYRBk9myaseg",
"seedArtistName": "Pitbull",
"market": "US",
"requestedMaxItems": 5,
"discoveryRecordCount": 1,
"discoveryTrackCount": 5,
"seedRecordCount": 1,
"relatedArtistCount": 10,
"albumCount": 10,
"discoveryShelfCount": 7,
"discoveryCardCount": 55,
"shelfScrollPasses": 8,
"trackRowsObserved": 40,
"scrollableContainers": 1,
"recordsStored": 1,
"errorRecordCount": 0,
"authenticationMode": "anonymous_public_page",
"sourceTransport": "anonymous Chromium public artist page",
"startedAt": "2026-10-25T21:02:13.559Z",
"completedAt": "2026-10-25T21:02:30.118Z",
"durationMs": 16559,
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"failureCount": 0,
"outputWriteFailureCount": 0
}

Coverage and limitations

The Actor reads one seed artist page and does not traverse into related artists, albums, playlists, or music videos. Discovery is therefore limited to links and cards rendered on that page. Popular tracks, discography cards, and Fans also like cards are capped by maxItems, maxAlbums, and maxRelatedArtists; other shelves are capped at 25 cards each during extraction. Virtualized shelves and horizontal carousels require bounded scrolling, so a count can be lower than what the Spotify app shows after further interaction.

market is recorded context only; the public page is not forced to a market. Artist identity must be verified from the page or the row is rejected. Artwork, listener counts, rank, and shelves are omitted when Spotify does not expose them. Failed pages are counted in the summary and logged, never written as data rows.

Usage and support

Apify compute and storage costs vary with browser time and the number of scroll passes needed for the shelves. Start with small maxItems, maxAlbums, and maxRelatedArtists values, inspect the dataset and run summary, then scale gradually. 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.