Spotify podcast episodes API
A podcast’s episodes, newest first, 50 a page, with descriptions, release dates, durations and preview links.
GET /v1/spotify/shows/{id}/episodes1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/spotify/shows/4rOoJ6Egrf8K2IrywzwOMk/episodes",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "show": { "id": "4rOoJ6Egrf8K2IrywzwOMk", "name": "The Joe Rogan Experience", "uri": "spotify:show:4rOoJ6Egrf8K2IrywzwOMk" }, "episodes": [ { "id": "5CI7dWMxgkJgvX6cGAs1EA", "name": "#2585 - Sam Tripoli & Eddie Bravo", "type": "episode", "uri": "spotify:episode:5CI7dWMxgkJgvX6cGAs1EA", "external_urls": { "spotify": "https://open.spotify.com/episode/5CI7dWMxgkJgvX6cGAs1EA" }, "description": "Sam Tripoli is a stand-up comedian, writer, and host of the \"Tin Foil Hat with Sam Tripoli\" podcast. He also co-hosts se…", "html_description": "<p>Sam Tripoli is a stand-up comedian, writer, and host of the "Tin Foil Hat with Sam Tripoli" podcast. He also …", "release_date": "2026-11-24T18:00:00Z", "release_date_precision": "minute", "duration_ms": 10121172, "explicit": true, "is_playable": true, "images": [ { "url": "https://i.scdn.co/image/ab6765630000ba8abd12b418eb9cfc6775dad347", "height": 640, "width": 640 }, { "url": "https://i.scdn.co/image/ab67656300005f1fbd12b418eb9cfc6775dad347", "height": 300, "width": 300 }, "… 1 more" ], "audio_preview_url": "https://p.scdn.co/mp3-preview/70eb32f0c27bbd9ee4f247d29dec5dd141222ea0.mp3", "media_types": [ "video", "audio" ], "is_paywall_content": false }, { "id": "54AhCUVHXD9ShHB9K4ouLb", "name": "#2584 - Mike Baker", "type": "episode", "uri": "spotify:episode:54AhCUVHXD9ShHB9K4ouLb", "external_urls": { "spotify": "https://open.spotify.com/episode/54AhCUVHXD9ShHB9K4ouLb" }, "description": "Mike Baker is a former CIA covert operations officer and CEO of Portman Square Group, a global intelligence and security…", "html_description": "<p>Mike Baker is a former CIA covert operations officer and CEO of Portman Square Group, a global intelligence and secur…", "release_date": "2026-11-20T18:00:00Z", "release_date_precision": "minute", "duration_ms": 9719871, "explicit": true, "is_playable": true, "images": [ { "url": "https://i.scdn.co/image/ab6765630000ba8a04d7bf05a216adfba1b32a34", "height": 640, "width": 640 }, { "url": "https://i.scdn.co/image/ab67656300005f1f04d7bf05a216adfba1b32a34", "height": 300, "width": 300 }, "… 1 more" ], "audio_preview_url": "https://p.scdn.co/mp3-preview/f4784eecc7c535bd0c5c58c4b1a20d94534542fc.mp3", "media_types": [ "video", "audio" ], "is_paywall_content": false }, "… 47 more" ], "total": 2788, "next_cursor": "eyJzIjoic2hvdzo0ck9vSjZFZ3JmOEsySXJ5d3p3T01rIiwibyI6NTB9"}Parameters
| Name | Type | Description |
|---|---|---|
idpath · required | string | A Spotify show id, spotify:show: URI, or open.spotify.com/show/ link (URL-encoded). Example: 4rOoJ6Egrf8K2IrywzwOMk. |
sincequery | string | Only episodes released on or after this date. |
untilquery | string | Only episodes released on or before this date. |
afterquery | string | Cursor: the previous page’s next_cursor. |
Response fields
200 with a SpotifyEpisodesResponse, in the shape of the Spotify Web API’s own objects.
| Field | Type | Description |
|---|---|---|
show | object | |
episodes | SpotifyEpisode[] | Newest first. |
total | integer | |
next_cursor | string | null |
Status codes
| Status | Meaning |
|---|---|
200 | A page of episodes. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No Spotify object by that id, or it is not public. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Spotify is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How far back?
Follow next_cursor to the first episode.
Spotify is a trademark of Spotify AB. We are not affiliated with or endorsed by Spotify.