Docs menu

Spotify podcast episodes

Beta GET /v1/spotify/podcast/episodes

GET /v1/spotify/podcast/episodes

A show's episodes, 20 a page, in the order Spotify lists them (type "episode"); parent is the show. Pass the cursor back until it is null.

  • Cost: 1 credit
  • Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
  • Cache: Results are kept up to 30 days; send max_age_days to reuse them for free.
  • Timeout: A request still running after about 25 seconds answers 202 with a job to poll (Batch and jobs).

Parameters#

NameTypeRequiredDescription
urlURLone ofSpotify show URL. Accepted hosts: open.spotify.com, spotify.com, spotify.link.
idstringone ofSpotify show id.

Send at least one of url, id. If you send several, the first listed is used and the rest are ignored.

Every request also accepts:

  • cursor: the cursor from the previous page (Pagination).
  • trim: true for a smaller response without null fields and extra.
  • raw: true to also get the platform's original object as raw.
  • max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).

Example request#

Set your key in the environment first (see Authentication).

curl
curl -G "https://api.socialscrape.io/v1/spotify/podcast/episodes" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode "id=4rOoJ6Egrf8K2IrywzwOMk"
Python
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,
)
body = res.json()

if body["ok"]:
    print(body["data"])
else:
    print(body["error"]["code"], body["error"]["message"])
TypeScript
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);
}
n8n
{
  "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": {}
}

Example response#

This is a sample from a recorded response, lists and long text are shortened. Status 200.

{
  "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 October 28 on YouTube. He is currently on tour.www.youtube.com/@ColumTyrrellwww.patre...",
        "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 &#34;Cockfight&#34; podcast with Lev Fer and Tristan Bowling. His new hour-long comedy special premieres October 28 on YouTube. He is currently on tour.<br />www.youtube.com/&#64;...",
          "media_types": [
            "video",
            "audio"
          ],
          "paywalled": false,
          "playable": true,
          "release_date_precision": "MINUTE",
          "show_id": "4rOoJ6Egrf8K2IrywzwOMk",
          "show_name": "The Joe Rogan Experience",
          "show_url": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
          "transcript_count": 0,
          "uri": "spotify:episode:16E8oK7YNhSlyMPlxyP1D1"
        }
      },
      {
        "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 Grant, is available now. He is currently on tour.www.youtube.com/@jimmycarrwww.jimm...",
        "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, &#34;On Jokes: The Hidden Mechanics of Funny,&#34; co-authored with Amanda Baker and Abi Grant, is available now. He is currently on tour.<br />www.youtube.com/&...",
          "media_types": [
            "video",
            "audio"
          ],
          "paywalled": false,
          "playable": true,
          "release_date_precision": "MINUTE",
          "show_id": "4rOoJ6Egrf8K2IrywzwOMk",
          "show_name": "The Joe Rogan Experience",
          "show_url": "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
          "transcript_count": 0,
          "uri": "spotify:episode:0jZjDghybB9p3QnZVXIhgq"
        }
      }
    ],
    "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
}

Response#

A list of Post objects in data.items, with data.cursor and data.has_more.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.
unsupported_url400noThe URL is not one this endpoint accepts (wrong platform or form).
not_found404noThe platform says this profile, post or item does not exist.

Every request can also fail with the account and platform errors listed on the Errors page.

Example error:

{
  "ok": false,
  "error": {
    "code": "not_found",
    "message": "The platform says this profile, post or item does not exist.",
    "retryable": false
  },
  "credits_charged": 0,
  "request_id": "req_31a540b7cf6ef417cf894b03"
}