Spotify Typed Multi-Entity Search Results
Pricing
from $2.99 / 1,000 search results
Spotify Typed Multi-Entity Search Results
Search rendered public Spotify search pages for typed artist, track, album, playlist, show, and episode cards with independent per-type limits, stable IDs, and reconciled counts.
Pricing
from $2.99 / 1,000 search results
Rating
0.0
(0)
Developer
w3crawler
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Search one public Spotify search page and collect visible artist, track, album, playlist, show, and episode cards in a typed dataset. Each row carries an explicit entity type, stable 22-character entity ID, per-type position, search query, market context, and the public search URL used for the result.
Get started
- Open the Actor Store page and select Try for free, or open the Input tab.
- Enter a non-empty
queryand choose atype, or keeptype: "all"for all six supported entity types. - Set
maxItemsfor the number of rows per type and keep the scroll and timeout limits small for the first run. - 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
query is required. All other fields are optional. Unsupported field names and out-of-range values are rejected before requests start.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
query | string | Required | Not supplied | Non-empty Spotify search text. 1–200 characters. |
type | string enum | Optional | "all" | Return one type or all six: artist, track, album, playlist, show, episode, or all. |
market | string | Optional | "US" | Two-letter context retained in each row. Public-page search does not apply market filtering. |
maxItems | integer | Optional | 10 | Maximum rows emitted independently for every requested entity type. 1–1000 per type. |
maxScrollPasses | integer | Optional | 3 | Bounded rendered-page scroll passes used to discover more result cards. 1–20. |
timeoutSecs | integer | Optional | 60 | Timeout for public page navigation and visible content, in seconds. 10–180. |
maxResponseBytes | integer | Optional | 8000000 | Maximum rendered HTML size accepted for the search page. 200000–15000000. |
requestDelayMs | integer | Optional | 500 | Delay between bounded scroll passes, in milliseconds. 0–5000. |
maxRetries | integer | Optional | 1 | Maximum retries for transient public-page failures. 0–2. |
Full default input:
{"type": "all","market": "US","maxItems": 10,"maxScrollPasses": 3,"timeoutSecs": 60,"maxResponseBytes": 8000000,"requestDelayMs": 500,"maxRetries": 1}
The default input omits the required query field; supply a search phrase before running. The Actor reads anonymous public search pages. It does not use the Spotify Web API, credentials, login sessions, Web Player tokens, audio downloads, CAPTCHA solving, or access-control bypasses.
Output
The dataset contains one searchResult row per unique visible card. maxItems is applied separately to each requested type, and position restarts at 1 for each type. Optional information is omitted when the source does not publish it, and no diagnostic or placeholder rows are written.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordId | string | Always | Stable type-scoped record ID. |
recordType | string | Always | Row discriminator, always searchResult. |
entityType | string enum | Always | artist, track, album, playlist, show, or episode. |
entityId | string | Always | 22-character Spotify entity ID. |
name | string | Always | Visible public result name. |
url | string | Always | Canonical public Spotify entity URL. |
position | integer | Always | One-based position within the requested entity type. |
searchQuery | string | Always | Normalized query used for the public search page. |
market | string | Always | Requested two-letter market context. |
marketApplied | boolean | Always | Always false; public-page search does not apply market filtering. |
imageUrl | string | When published | Visible Spotify CDN artwork URL. |
description | string | When published | Visible card text. |
artistNames | string | When published | Visible artist names for track or album cards. |
artistIds | string array | When published | Visible artist IDs. |
albumName | string | When published | Visible album context. |
albumId | string | When published | Visible album context ID. |
releaseDate | string | When published | Visible release year when present. |
durationFormatted | string | When published | Visible duration in minutes:seconds form. |
explicit | boolean | When published | Visible explicit marker. |
ownerName | string | When published | Visible playlist owner. |
totalItems | integer | When published | Visible playlist, show, or episode item count. |
sourceUrl | string | Always | Public search page used for the row. |
scrapedAt | string | Always | Time the row was saved, in ISO UTC. |
Full JSON output
The example below is an unchanged album row saved by the 2026-10-25 run. Fields such as durationFormatted and totalItems appear only for card types that expose them.
{"recordId": "spotify_search_album_4Lkkfpt8ZkDmw4viHHi0IM","recordType": "searchResult","entityType": "album","entityId": "4Lkkfpt8ZkDmw4viHHi0IM","name": "PITCOIN","url": "https://open.spotify.com/album/4Lkkfpt8ZkDmw4viHHi0IM","position": 1,"searchQuery": "Pitbull","market": "US","marketApplied": false,"imageUrl": "https://i.scdn.co/image/ab67616d00001e02fb5868a9fc3d54f8f0b95b0a","description": "PITCOIN 2026 • Pitbull","artistNames": "Pitbull","artistIds": ["0TnOYISbd1XYRBk9myaseg"],"albumName": "PITCOIN","albumId": "4Lkkfpt8ZkDmw4viHHi0IM","sourceUrl": "https://open.spotify.com/search/Pitbull","scrapedAt": "2026-10-25T21:06:13.735Z"}
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.
| Field | Meaning |
|---|---|
recordType | Always runSummary. |
status | Actor process outcome: SUCCEEDED or FAILED. |
query | Search query used. |
requestedType | Requested type value. |
requestedEntityTypes | Entity types requested. |
allModeEntityTypes | Entity types covered by type: "all". |
outputTypesComplete | Whether every requested type reached its declared limit. |
market | Requested market context. |
marketApplied | Whether market filtering was applied; always false. |
maxItemsPerType | Effective per-type row limit. |
maxScrollPasses | Configured scroll bound. |
declaredMaxItemsByType | Per-type row limit declared for the run. |
recordsByType | Rows saved for each entity type. |
recordTypesEmitted | Entity types that produced rows. |
resultRecordCount | Result rows produced. |
uniqueResultCount | Unique results after deduplication. |
deduplicatedCount | Duplicate cards removed. |
recordsStored | Rows saved to the dataset. |
errorRecordCount | Error records; diagnostics are kept out of the dataset. |
searchUrl | Public search URL used. |
searchPagesProcessed | Search pages processed. |
searchCandidateCount | Cards observed before deduplication and limits. |
rowsObservedAcrossScrollPasses | Rows seen across scroll passes. |
searchScrollPasses | Scroll passes performed. |
paginationMode | Pagination method used. |
deduplicationKey | Key used to deduplicate results. |
authenticationMode | Extraction mode, anonymous_public_page in the saved run. |
credentialFieldsIgnored | Whether supplied compatibility credentials were ignored. |
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 | COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
failureCount | Operational and dataset-write failures. |
outputWriteFailureCount | Summary or optional key-value writes that failed. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | Every requested type was collected to its declared limit without an extraction problem. |
SUCCEEDED | PARTIAL | Rows were saved, but at least one requested type was short or a later problem occurred. |
SUCCEEDED | NO_RESULTS | The search completed cleanly with no visible matching cards. |
FAILED | FAILED | A fatal error occurred before any usable row was saved. |
Example OUTPUT_SUMMARY from the saved run:
{"recordType": "runSummary","status": "SUCCEEDED","query": "Pitbull","requestedType": "all","requestedEntityTypes": ["artist","track","album","playlist","show","episode"],"allModeEntityTypes": ["artist","track","album","playlist","show","episode"],"outputTypesComplete": true,"market": "US","marketApplied": false,"maxItemsPerType": 3,"maxScrollPasses": 2,"declaredMaxItemsByType": {"artist": 3,"track": 3,"album": 3,"playlist": 3,"show": 3,"episode": 3},"recordsByType": {"artist": 3,"track": 3,"album": 3,"playlist": 3,"show": 3,"episode": 3},"recordTypesEmitted": ["artist","track","album","playlist","show","episode"],"resultRecordCount": 18,"uniqueResultCount": 18,"deduplicatedCount": 0,"recordsStored": 18,"errorRecordCount": 0,"searchUrl": "https://open.spotify.com/search/Pitbull","searchPagesProcessed": 1,"searchCandidateCount": 18,"rowsObservedAcrossScrollPasses": 77,"searchScrollPasses": 0,"paginationMode": "bounded_rendered_scroll_passes","deduplicationKey": "entityType:entityId","authenticationMode": "anonymous_public_page","credentialFieldsIgnored": false,"startedAt": "2026-10-25T21:06:08.602Z","completedAt": "2026-10-25T21:06:14.208Z","durationMs": 5606,"runStatus": "SUCCEEDED","dataStatus": "COMPLETE","failureCount": 0,"outputWriteFailureCount": 0}
Coverage and limitations
The Actor loads one public search route and reads the rendered cards that Spotify exposes. maxItems is a per-type limit, not a global total; type: "all" can therefore save up to six times that limit. position is relative to its own type. Results are deduplicated by entityType:entityId, and outputTypesComplete is the reliable signal that every requested type reached its declared limit.
The page exposes only the cards Spotify renders and scroll loading makes visible. The Actor does not paginate beyond the configured scroll passes, open every entity page, or recover hidden results. A type can be short or empty without meaning the catalog has no matches. market is retained as context only. The Actor stops or records a diagnostic when Spotify redirects away from the search route, presents an access challenge, exceeds the byte limit, or returns an HTTP failure. Optional card fields are omitted when absent and are never inferred.
Usage and support
A run is anchored on one search page, so type: "all" can be more efficient than separate runs for each type. Cost varies with browser startup, query latency, page size, scroll passes, and the number of saved rows. Start with maxItems around 10 and a small scroll budget. 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.