Spotify API endpoint
Use Crawlora's Spotify chapter 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/chapterReturns a Spotify chapter from the same private Pathfinder operation used for episodes and chapters. 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 chapter or episode URI/URL | spotify:episode:2C2Y5kNq7qCVOVhbA0G3os | |
| id | string | No | Spotify chapter/episode ID | 2C2Y5kNq7qCVOVhbA0G3os | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/spotify/chapter?uri=spotify%3Aepisode%3A2C2Y5kNq7qCVOVhbA0G3os&id=2C2Y5kNq7qCVOVhbA0G3os" \ -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.
Spotify often exposes chapter detail through `spotify:episode:*` identifiers. The endpoint normalizes the result into the same response shape used by podcast episode detail. Invalid identifiers return `400`; upstream private API failures return `503`.
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 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"uri": "spotify:episode:example",
"type": "Chapter",
"name": "Chapter 1",
"meta": {
"operationName": "getEpisodeOrChapter",
"fetchedAt": "2026-05-13T20:41:13Z"
}
}
}Request schema
No body schema
Response schema
#/definitions/spotify.episodeResponseDoc
| 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.PodcastEpisodeResponse | No | ||||
| data.description | string | No | A new adventure from the Stinky Dragon crew. | |||
| data.durationMs | integer | No | 3600000 | |||
| data.externalUrl | string | No | https://open.spotify.com/episode/2C2Y5kNq7qCVOVhbA0G3os | |||
| data.htmlDescription | string | No | A new adventure from the Stinky Dragon crew. | |||
| data.id | string | No | 2C2Y5kNq7qCVOVhbA0G3os | |||
| data.imageUrl | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| 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.isExplicit | boolean | No | false | |||
| data.isPaywallContent | boolean | No | false | |||
| data.isPlayable | boolean | No | true | |||
| data.mediaTypes | array | No | AUDIO | |||
| data.meta | spotify.PodcastEpisodeMeta | No | ||||
| data.meta.appVersion | string | No | 1.2.90.403.gf901f20f | |||
| data.meta.fetchedAt | string | No | 2026-05-13T20:41:13Z | |||
| data.meta.operationName | string | No | getEpisodeOrChapter | |||
| data.meta.sourceUrl | string | No | https://open.spotify.com/episode/2C2Y5kNq7qCVOVhbA0G3os | |||
| data.name | string | No | Tales from the Stinky Dragon | |||
| data.playabilityReason | string | No | PLAYABLE | |||
| data.previewAudioUrl | string | No | https://p.scdn.co/mp3-preview/example | |||
| data.previewAudioUrls | array | No | https://p.scdn.co/mp3-preview/example | |||
| data.previewVideoUrl | string | No | https://p.scdn.co/video-preview/example | |||
| data.releaseDate | string | No | 2026-05-13 | |||
| data.releaseDatePrecision | string | No | DAY | |||
| data.shareUrl | string | No | https://open.spotify.com/episode/2C2Y5kNq7qCVOVhbA0G3os | |||
| data.show | spotify.PodcastEpisodeShowSummary | No | ||||
| data.show.description | string | No | Tales from the Stinky Dragon is an actual-play comedy podcast. | |||
| data.show.externalUrl | string | No | https://open.spotify.com/show/1QQJ7FElLE0K6CIfZNCxU4 | |||
| data.show.id | string | No | 1QQJ7FElLE0K6CIfZNCxU4 | |||
| data.show.imageUrl | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| data.show.images | array | No | ||||
| data.show.images[].height | integer | No | 640 | |||
| data.show.images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| data.show.images[].width | integer | No | 640 | |||
| data.show.mediaType | string | No | MIXED | |||
| data.show.name | string | No | Tales from the Stinky Dragon | |||
| data.show.publisher | string | No | Stinky Dragon | |||
| data.show.showTypes | array | No | PODCAST | |||
| data.show.type | string | No | Podcast | |||
| data.show.uri | string | No | spotify:show:1QQJ7FElLE0K6CIfZNCxU4 | |||
| data.transcriptCount | integer | No | 1 | |||
| data.type | string | No | Episode | |||
| data.unplayabilityReasons | array | No | not_available_in_region | |||
| data.uri | string | No | spotify:episode:2C2Y5kNq7qCVOVhbA0G3os | |||
| data.videoThumbnailUrl | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| data.videoThumbnails | array | No | ||||
| data.videoThumbnails[].height | integer | No | 640 | |||
| data.videoThumbnails[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | |||
| data.videoThumbnails[].width | integer | No | 640 | |||
| 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/chapter?uri=spotify%3Aepisode%3A2C2Y5kNq7qCVOVhbA0G3os&id=2C2Y5kNq7qCVOVhbA0G3os" \
-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