Spotify Related Artists Graph Scraper avatar

Spotify Related Artists Graph Scraper

Pricing

from $2.99 / 1,000 related artists

Go to Apify Store
Spotify Related Artists Graph Scraper

Spotify Related Artists Graph Scraper

Validate a public Spotify artist seed and report the current availability of related-artist graph edges.

Pricing

from $2.99 / 1,000 related artists

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

Capture the public Fans also like relationship shelf for a seed artist and optionally follow a tightly bounded second hop. The Actor writes a seed row for the requested artist plus one edge row per related artist rendered by Spotify, using only stable public artist links and without creating synthetic relationships.

Get started

  1. Open the Actor Store page and select Try for free, or open the Input tab.
  2. Enter one public Spotify artist URL or 22-character artist ID in seedArtistUrl.
  3. Keep depth at 1 for the seed shelf, or set 2 to also visit up to five related artist pages. Keep the other 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

seedArtistUrl is required. All other fields are optional. 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. 1–300 characters.
marketstringOptional"US"Two-letter provenance label copied to output. No market-filtered API request is made.
depthintegerOptional11 reads the seed shelf; 2 also visits up to five related public artist pages. 1–2.
maxRelatedArtistsintegerOptional10Maximum Fans also like cards retained per visited artist. 1–25.
requestDelayMsintegerOptional1000Polite delay before browser navigation, in milliseconds. 0–30000.
timeoutSecsintegerOptional45Timeout for each public page, 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",
"depth": 1,
"maxRelatedArtists": 10,
"requestDelayMs": 1000,
"timeoutSecs": 45,
"maxResponseBytes": 3000000,
"proxyConfiguration": {
"useApifyProxy": false
}
}

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

Output

The dataset contains one relatedArtistSeed row for the requested artist and zero or more relatedArtistEdge rows for the observed Fans also like shelf. Missing optional values are omitted rather than inferred, and no synthetic edges or diagnostic rows are written.

FieldTypeAvailabilityMeaning
recordIdstringAlwaysStable Actor record key.
recordTypestring enumAlwaysRow discriminator: relatedArtistSeed or relatedArtistEdge.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.
artistIdstringAlwaysSeed artist ID on every row in the graph.
namestringAlwaysSeed artist name on seed and edge rows.
spotifyUrlstringAlwaysPublic seed artist URL.
descriptionstringWhen publishedPublic artist description when rendered.
imageUrlstringWhen publishedPublic artist artwork when rendered.
monthlyListenersintegerSeed rowPublic monthly listener count when exposed.
worldRankintegerSeed rowPublic artist rank when exposed.
marketstringAlwaysRequested two-letter provenance label.
marketObservedstringAlwaysObserved locale or market label.
marketAppliedbooleanAlwaysAlways false; no market filter is applied.
depthintegerAlways0 for the seed row, 1 or 2 for edge rows.
observedFromArtistIdstringWhen publishedArtist page from which an edge was observed, when recorded.
pageTitleAvailablebooleanAlwaysWhether a public page title was observed.
visibleRelatedArtistCountintegerAlwaysRelated artist cards visible on the page.
relationshipRecordCountintegerAlwaysEdge rows observed for the page.
relatedArtistsStatusstringAlwaysRelated-artist availability status, such as public_preview.
relationshipEvidenceStatusstringAlwaysEvidence status for the observed relationship.
relatedArtistIdstringEdge rowsRelated artist ID.
relatedArtistNamestringEdge rowsRelated artist name.
relatedArtistUrlstringEdge rowsPublic related artist URL.
relatedArtistImageUrlstringEdge rowsRelated artist artwork URL.
relationshipstringEdge rowsObserved relationship label, such as fans_also_like.
relationshipRankintegerEdge rowsVisible order of the related artist card.
sourceUrlstringAlwaysPublic artist page used for the row. Observed in saved rows; not declared in the dataset schema.

Full JSON output

The example below is an unchanged relatedArtistEdge row saved by the 2026-10-25 run. Seed-only listener and rank fields are absent from edge rows.

{
"recordId": "spotify_related_edge_0TnOYISbd1XYRBk9myaseg_0jnsk9HBra6NMjO2oANoPY",
"recordType": "relatedArtistEdge",
"artistId": "0TnOYISbd1XYRBk9myaseg",
"name": "Pitbull",
"spotifyUrl": "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
"market": "US",
"marketObserved": "US",
"marketApplied": false,
"depth": 1,
"sourceUrl": "https://open.spotify.com/artist/0TnOYISbd1XYRBk9myaseg",
"scrapedAt": "2026-10-25T21:03:13.748Z",
"pageTitleAvailable": true,
"visibleRelatedArtistCount": 5,
"relationshipRecordCount": 5,
"relatedArtistsStatus": "public_preview",
"relatedArtistId": "0jnsk9HBra6NMjO2oANoPY",
"relatedArtistName": "Flo Rida",
"relatedArtistUrl": "https://open.spotify.com/artist/0jnsk9HBra6NMjO2oANoPY",
"relatedArtistImageUrl": "https://i.scdn.co/image/ab67616100005174655ca8f3196953554b479452",
"relationship": "fans_also_like",
"relationshipRank": 1,
"relationshipEvidenceStatus": "stable_related_artist_id_rendered"
}

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.
seedArtistIdSeed artist ID used for the graph.
seedArtistNameSeed artist name.
requestedDepthRequested traversal depth.
maxSecondHopArtistsMaximum second-hop artists allowed.
marketRequested market label.
marketAppliedWhether market filtering was applied; always false.
visitedArtistCountArtist pages visited.
artistRecordCountSeed rows saved.
relationshipRecordCountEdge rows saved.
recordsStoredTotal dataset rows saved.
relatedArtistsStatusRecorded related-artist availability status.
relationshipScopeRelationship scope, such as fans_also_like_one_hop.
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
SUCCEEDEDCOMPLETERows were saved without an extraction problem.
SUCCEEDEDPARTIALRows were saved, but a later problem prevented a complete run. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe artist page completed cleanly with no visible related artist cards.
FAILEDFAILEDA fatal error occurred before any usable row was saved.

Example OUTPUT_SUMMARY from the saved run:

{
"recordType": "runSummary",
"status": "SUCCEEDED",
"seedArtistId": "0TnOYISbd1XYRBk9myaseg",
"seedArtistName": "Pitbull",
"requestedDepth": 1,
"maxSecondHopArtists": 5,
"market": "US",
"marketApplied": false,
"visitedArtistCount": 1,
"artistRecordCount": 1,
"relationshipRecordCount": 5,
"recordsStored": 6,
"relatedArtistsStatus": "public_preview",
"relationshipScope": "fans_also_like_one_hop",
"authenticationMode": "anonymous_public_page",
"startedAt": "2026-10-25T21:02:54.315Z",
"completedAt": "2026-10-25T21:03:14.236Z",
"durationMs": 19921,
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"failureCount": 0,
"outputWriteFailureCount": 0
}

Coverage and limitations

The Actor reads the rendered Fans also like shelf and records only artist cards backed by stable public artist links. It does not call a related-artists API, use browser network payloads, or invent edges to fill a graph. depth: 1 visits the seed page only; depth: 2 additionally visits up to five related artists and records their shelves, subject to maxRelatedArtists per page. The seed row uses depth: 0.

monthlyListeners and worldRank are seed-page header values, not graph-wide metrics, and are absent from edge rows. description and imageUrl appear only when the rendered page exposes them. A missing shelf does not prove that an artist has no related artists; it means no stable public cards were observable during the run. Private pages, access challenges, and page changes cannot be recovered. market is a provenance label only. sourceUrl is present in saved rows even though the dataset schema does not declare it.

Usage and support

Compute charges vary with browser time and the number of visited pages. Depth 2 can visit up to six artist pages and cost more than a one-hop graph; start with depth: 1 and a small maxRelatedArtists value. 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.