Spotify API endpoint
Use Crawlora's Spotify Playlist API to extract supported public Spotify data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/spotify/playlistReturns normalized Spotify Web Player playlist metadata and items from Spotify's fetchPlaylist Pathfinder response. Provide either uri or id; defaults to a known public playlist when omitted. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and AI-agent workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| uri | string | No | Spotify playlist URI or open.spotify.com playlist URL | spotify:playlist:37i9dQZEVXbLwpL8TjsxOG | |
| id | string | No | Spotify playlist ID. Used when uri is omitted | 37i9dQZEVXbLwpL8TjsxOG | |
| offset | integer | No | Playlist item offset | 0 | |
| limit | integer | No | Playlist item limit, clamped to 1-50 | 25 | |
| enable_watch_feed_entrypoint | boolean | No | Enable watch feed entrypoint | false | |
| include_episode_content_ratings_v2 | boolean | No | Include Spotify episode content ratings v2 | false | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/spotify/playlist?uri=spotify%3Aplaylist%3A37i9dQZEVXbLwpL8TjsxOG&id=37i9dQZEVXbLwpL8TjsxOG&offset=0&limit=25&enable_watch_feed_entrypoint=false&include_episode_content_ratings_v2=false" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
- If both `uri` and `id` are omitted, a known public playlist is used. - Playlist items are available in `data.items`, with track and episode subsets in `data.tracks` and `data.episodes`. Example response: ```json { "code": 200, "msg": "OK", "data": { "uri": "spotify:playlist:37i9dQZEVXbLwpL8TjsxOG", "id": "37i9dQZEVXbLwpL8TjsxOG", "type": "Playlist", "name": "Example Playlist", "offset": 0, "limit": 25, "items": [ { "uri": "spotify:track:example", "type": "Track", "title": "Example Track", "externalUrl": "https://open.spotify.com/track/example" } ], "meta": { "operationName": "fetchPlaylist", "itemCount": 1, "trackCount": 1, "fetchedAt": "2026-05-13T15:22:41Z" } } } ```
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Missing or invalid parameters | #/definitions/app.Response |
| 429 | Rate limit exceeded | #/definitions/app.Response |
| 503 | Spotify upstream request failed | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"uri": "spotify:playlist:37i9dQZEVXbLwpL8TjsxOG",
"id": "37i9dQZEVXbLwpL8TjsxOG",
"type": "Playlist",
"name": "Example Playlist",
"offset": 0,
"limit": 25,
"items": [
{
"uri": "spotify:track:example",
"type": "Track",
"title": "Example Track",
"externalUrl": "https://open.spotify.com/track/example"
}
],
"meta": {
"operationName": "fetchPlaylist",
"itemCount": 1,
"trackCount": 1,
"fetchedAt": "2026-05-13T15:22:41Z"
}
}
}Request schema
No body schema
Response schema
#/definitions/spotify.playlistResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | spotify.PlaylistResponse | No | ||||
| data.collaborative | boolean | No | false | |||
| data.description | string | No | Your daily update of the most played tracks right now. | |||
| data.episodes | array | No | ||||
| data.episodes[].description | string | No | The official podcast of comedian Joe Rogan. | |||
| data.episodes[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | |||
| data.episodes[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | |||
| data.episodes[].images | array | No | ||||
| data.episodes[].images[].height | integer | No | 640 | |||
| data.episodes[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| data.episodes[].images[].width | integer | No | 640 | |||
| data.episodes[].publisher | string | No | Joe Rogan | |||
| data.episodes[].subtitle | string | No | Joe Rogan | |||
| data.episodes[].title | string | No | The Joe Rogan Experience | |||
| data.episodes[].type | string | No | Podcast | |||
| data.episodes[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | |||
| data.externalUrl | string | No | https://open.spotify.com/playlist/37i9dQZEVXbLwpL8TjsxOG | |||
| data.followers | integer | No | 17500000 | |||
| data.id | string | No | 37i9dQZEVXbLwpL8TjsxOG | |||
| data.imageUrl | string | No | https://charts-images.scdn.co/assets/locale_en/regional/daily/region_global_default.jpg | |||
| data.images | array | No | ||||
| data.images[].height | integer | No | 640 | |||
| data.images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| data.images[].width | integer | No | 640 | |||
| data.items | array | No | ||||
| data.items[].description | string | No | The official podcast of comedian Joe Rogan. | |||
| data.items[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | |||
| data.items[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | |||
| data.items[].images | array | No | ||||
| data.items[].images[].height | integer | No | 640 | |||
| data.items[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| data.items[].images[].width | integer | No | 640 | |||
| data.items[].publisher | string | No | Joe Rogan | |||
| data.items[].subtitle | string | No | Joe Rogan | |||
| data.items[].title | string | No | The Joe Rogan Experience | |||
| data.items[].type | string | No | Podcast | |||
| data.items[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | |||
| data.limit | integer | No | 20 | |||
| data.meta | spotify.PlaylistMeta | No | ||||
| data.meta.appVersion | string | No | 1.2.90.403.gf901f20f | |||
| data.meta.episodeCount | integer | No | 0 | |||
| data.meta.fetchedAt | string | No | 2026-05-13T20:41:12Z | |||
| data.meta.itemCount | integer | No | 20 | |||
| data.meta.operationName | string | No | fetchPlaylist | |||
| data.meta.trackCount | integer | No | 20 | |||
| data.name | string | No | Top 50 - Global | |||
| data.offset | integer | No | 0 | |||
| data.owner | spotify.SearchResultSummary | No | ||||
| data.owner.description | string | No | The official podcast of comedian Joe Rogan. | |||
| data.owner.externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | |||
| data.owner.imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | |||
| data.owner.images | array | No | ||||
| data.owner.images[].height | integer | No | 640 | |||
| data.owner.images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| data.owner.images[].width | integer | No | 640 | |||
| data.owner.publisher | string | No | Joe Rogan | |||
| data.owner.subtitle | string | No | Joe Rogan | |||
| data.owner.title | string | No | The Joe Rogan Experience | |||
| data.owner.type | string | No | Podcast | |||
| data.owner.uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | |||
| data.shareUrl | string | No | https://open.spotify.com/playlist/37i9dQZEVXbLwpL8TjsxOG | |||
| data.total | integer | No | 50 | |||
| data.tracks | array | No | ||||
| data.tracks[].description | string | No | The official podcast of comedian Joe Rogan. | |||
| data.tracks[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | |||
| data.tracks[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | |||
| data.tracks[].images | array | No | ||||
| data.tracks[].images[].height | integer | No | 640 | |||
| data.tracks[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| data.tracks[].images[].width | integer | No | 640 | |||
| data.tracks[].publisher | string | No | Joe Rogan | |||
| data.tracks[].subtitle | string | No | Joe Rogan | |||
| data.tracks[].title | string | No | The Joe Rogan Experience | |||
| data.tracks[].type | string | No | Podcast | |||
| data.tracks[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | |||
| data.type | string | No | Playlist | |||
| data.uri | string | No | spotify:playlist:37i9dQZEVXbLwpL8TjsxOG | |||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/spotify/playlist?uri=spotify%3Aplaylist%3A37i9dQZEVXbLwpL8TjsxOG&id=37i9dQZEVXbLwpL8TjsxOG&offset=0&limit=25&enable_watch_feed_entrypoint=false&include_episode_content_ratings_v2=false" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms