Spotify podcast episodes API
A show's episodes, 20 a page, in the order Spotify lists them (type "episode"); parent is the show.
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
Pass the cursor back until it is null.
You send one of url or id.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/spotify/podcast/episodes" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'id=4rOoJ6Egrf8K2IrywzwOMk'import os
import requests
params = {
"id": "4rOoJ6Egrf8K2IrywzwOMk",
}
res = requests.get(
"https://api.socialscrape.io/v1/spotify/podcast/episodes",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/spotify/podcast/episodes");
url.search = new URLSearchParams({
id: "4rOoJ6Egrf8K2IrywzwOMk",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape Spotify podcast episodes",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/spotify/podcast/episodes",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "id",
"value": "4rOoJ6Egrf8K2IrywzwOMk"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | one of | Spotify show URL. |
id | string | one of | Spotify show id. |
cursor | string | Opaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_1e6916b5afb08074109352f9",
"data": {
"object": "list",
"items": [
{
"object": "post",
"platform": "spotify",
"id": "16E8oK7YNhSlyMPlxyP1D1",
"url": "https://open.spotify.com/episode/16E8oK7YNhSlyMPlxyP1D1",
"type": "episode",
"author": {
"id": "4rOoJ6Egrf8K2IrywzwOMk",
"handle": null,
"name": "The Joe Rogan Experience",
"url": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
"avatar_url": null,
"verified": null
},
"title": "#2572 - Colum Tyrrell",
"text": "Colum Tyrrell is a comedian, streamer, and co-host of the \"Cockfight\" podcast with Lev Fer and Tristan Bowling. His new hour-long comedy special premieres Oc...",
"published_at": "2026-10-29T17:00:00Z",
"duration_seconds": 10729.62,
"language": null,
"hashtags": null,
"mentions": null,
"stats": {
"views": null,
"likes": null,
"comments": null,
"shares": null,
"saves": null,
"dislikes": null
},
"media": {
"thumbnail_url": "https://i.scdn.co/image/ab6765630000ba8a131c2f9743eab637ff0a381e",
"video_url": null,
"audio_url": "https://p.scdn.co/mp3-preview/d9cb4d36b93dbe55f7d0d35a77d09cbaca88775d",
"image_urls": null,
"width": null,
"height": null
},
"song": null,
"location": null,
"is_pinned": null,
"is_sponsored": null,
"extra": {
"explicit": true,
"has_video": true,
"html_description": "<p>Colum Tyrrell is a comedian, streamer, and co-host of the "Cockfight" podcast with Lev Fer and Tristan Bowling. His new hour-long comedy special p...",
"media_types": [
"video",
"audio"
],
"paywalled": false,
"playable": true
}
},
{
"object": "post",
"platform": "spotify",
"id": "0jZjDghybB9p3QnZVXIhgq",
"url": "https://open.spotify.com/episode/0jZjDghybB9p3QnZVXIhgq",
"type": "episode",
"author": {
"id": "4rOoJ6Egrf8K2IrywzwOMk",
"handle": null,
"name": "The Joe Rogan Experience",
"url": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
"avatar_url": null,
"verified": null
},
"title": "#2571 - Jimmy Carr",
"text": "Jimmy Carr is a comedian, television personality, and writer. His new book, \"On Jokes: The Hidden Mechanics of Funny,\" co-authored with Amanda Baker and Abi ...",
"published_at": "2026-10-28T19:00:00Z",
"duration_seconds": 10235.028,
"language": null,
"hashtags": null,
"mentions": null,
"stats": {
"views": null,
"likes": null,
"comments": null,
"shares": null,
"saves": null,
"dislikes": null
},
"media": {
"thumbnail_url": "https://i.scdn.co/image/ab6765630000ba8addf8066cfd021cbfa6239285",
"video_url": null,
"audio_url": "https://p.scdn.co/mp3-preview/77582b1053f26c8638af395d90e29bc9463bac31",
"image_urls": null,
"width": null,
"height": null
},
"song": null,
"location": null,
"is_pinned": null,
"is_sponsored": null,
"extra": {
"explicit": true,
"has_video": true,
"html_description": "<p>Jimmy Carr is a comedian, television personality, and writer. His new book, "On Jokes: The Hidden Mechanics of Funny," co-authored with Amanda Bak...",
"media_types": [
"video",
"audio"
],
"paywalled": false,
"playable": true
}
}
],
"cursor": "eyJvIjoyMH0",
"has_more": true,
"parent": {
"object": "collection",
"platform": "spotify",
"id": "4rOoJ6Egrf8K2IrywzwOMk",
"url": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
"kind": "podcast",
"title": "The Joe Rogan Experience",
"description": null,
"owner": null,
"item_count": 2772,
"cover_url": null,
"updated_at": null,
"extra": null
}
},
"cursor": "eyJvIjoyMH0",
"has_more": true
}Fields
A page of results. Each entry in items is a Post. cursor and has_more page through the rest.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "post" | ||
platform | Platform | yes | |
id | string | yes | |
url | string or null | ||
type | "video" or "short" or "reel" or "image" or "carousel" or "story" or "live" or "clip" or "text" or "link" or "tweet" or "pin" or "community_post" or "episode" or "unknown" | ||
author | Author or null | ||
title | string or null | ||
text | string or null | ||
published_at | string (ISO 8601 date-time) or null | ||
duration_seconds | number or null | ||
language | string or null | ||
hashtags | string[] or null | ||
mentions | string[] or null | ||
stats | Stats |
Show the other 6 fields
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
How do I get more than one page?
Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.
Is there an SDK call for it?
The preview Python client has client.spotify.podcast_episodes(...) and the TypeScript client client.spotify.podcastEpisodes(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.