# Spotify Podcast Transcript Scraper - Speakers & Timestamps (`agentflow/spotify-podcast-transcript`) Actor

Get Spotify's own transcript for any podcast episode in seconds: full text, speaker labels and timestamps. Paste episode links or a whole show to export its back catalog. $10 per 1,000 transcripts, failures are free.

- **URL**: https://apify.com/agentflow/spotify-podcast-transcript.md
- **Developed by:** [Yunbin Huang](https://apify.com/agentflow) (community)
- **Categories:** AI, Agents, Developer tools
- **Features:** Limited permissions
- **Stats:** 3 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 transcripts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Spotify Podcast Transcript Scraper — Full Text, Speakers & Timestamps

Get the **transcript Spotify already made** for any podcast episode, in seconds. Paste an episode link and get the full text, speaker turns and exact timestamps. Paste a show link and export its back catalog in one run.

No audio download, no speech-to-text, no waiting for a 3-hour episode to process. The transcript Spotify shows under "Read along" in its app comes back as clean JSON, and it costs the same whether the episode is 10 minutes or 5 hours.

### Why this one

- **A flat price per episode, any length.** $0.01 per transcript ($10 per 1,000). AI transcription Actors charge $0.003–0.006 per audio minute, which is $0.18–0.36 for a one-hour episode and over $0.50 for a long interview
- **Fast.** Each episode takes 2–4 seconds, including 3-hour Joe Rogan episodes
- **Speakers and timestamps.** Every segment has `speaker`, `start`, `end` and `text` (plus `chapter` when Spotify has chapters for the episode), ready for quotes, show notes, subtitles or RAG chunks
- **Whole shows in one run.** Paste a show link and set how many of the newest episodes you want (up to 2,000). Episodes without a transcript are skipped before they cost anything
- **Rich metadata.** Title, show, release date, duration, language, cover art, full episode description and whether the episode is a video podcast
- **Failures are free.** Episodes without a transcript, wrong links and errors are never charged
- **Light.** Pure HTTP, 128 MB, no browser and no proxies to pay for, no Spotify account needed on your side

### What you can do with it

- Feed podcasts into **LLMs, RAG pipelines and AI agents** (the `text` field is ready to paste into a prompt)
- **Research and media monitoring**: search what guests said across hundreds of episodes
- **Content repurposing**: pull quotes, write show notes, blog posts and newsletters from episodes
- **Build datasets** of spoken language with speaker turns

### Input

| Field | What to put |
|-------|-------------|
| `urls` | Episode links (`open.spotify.com/episode/…`), episode ids (`3K9C7dXPTcuSAFt6fvhqrw`), `spotify:episode:` URIs, or show links (`open.spotify.com/show/…`). Mix them freely |
| `maxEpisodesPerShow` | For show links: how many of the newest episodes with a transcript to fetch. Default 20, max 2,000 |
| `includeSegments` | Default `true`. Turn off if you only need the plain `text` |

```json
{
    "urls": [
        "https://open.spotify.com/episode/3K9C7dXPTcuSAFt6fvhqrw",
        "spotify:episode:2en2xJFq6PzeSFWqWitPqI",
        "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk"
    ],
    "maxEpisodesPerShow": 10
}
```

In the Spotify app: open the episode → **Share** → **Copy link to episode**. The link works as is, `?si=` and all.

### Output

One item per episode:

```json
{
    "success": true,
    "episode_id": "3K9C7dXPTcuSAFt6fvhqrw",
    "episode_url": "https://open.spotify.com/episode/3K9C7dXPTcuSAFt6fvhqrw",
    "show_name": "Huberman Lab",
    "show_id": "79CkJF3UJTHFV8Dse3Oy0P",
    "show_url": "https://open.spotify.com/show/79CkJF3UJTHFV8Dse3Oy0P",
    "title": "Essentials: Cold & Heat Exposure for Metabolic Health | Dr. Susanna Søberg",
    "release_date": "2026-11-05",
    "duration": "38:22",
    "duration_seconds": 2302,
    "language": "en-us",
    "has_video": true,
    "cover": "https://i.scdn.co/image/ab6765630000ba8a98cafac7f25e297f3c5d9492",
    "description": "In this Huberman Lab Essentials episode, my guest is Dr. Susanna Søberg, PhD, a metabolic scientist…",
    "word_count": 6790,
    "segment_count": 76,
    "speakers": ["Speaker 2", "Speaker 1"],
    "chapters": [
        { "title": "Susanna Søberg", "start": "00:00", "start_seconds": 0.2 },
        { "title": "Deliberate Cold Protocol, Temperature, Cold Shock, Resilience", "start": "00:20", "start_seconds": 20.3 }
    ],
    "text": "Welcome to Huberman Lab Essentials, where we revisit past episodes…\n\nSpeaker 2: Thank you.\n\nSpeaker 1: So great to have you here…",
    "segments": [
        {
            "start": "00:22",
            "end": "00:22",
            "start_seconds": 22.2,
            "end_seconds": 22.8,
            "speaker": "Speaker 2",
            "chapter": "Deliberate Cold Protocol, Temperature, Cold Shock, Resilience",
            "text": "Thank you."
        }
    ]
}
```

When an episode can't be transcribed you get `"success": false` and an `error` saying why, and you are not charged.

### Pricing

**$0.01 per transcript returned**, so $10 per 1,000 episodes. Nothing else: no start fee, no per-item fee, no charge for failed or missing episodes. The price is the same for a 5-minute and a 5-hour episode.

Set **Maximum cost per run** in the run options and the Actor stops cleanly when it is reached.

### Which episodes have a transcript

Spotify generates "Read along" transcripts automatically for a large share of podcasts, including most popular English-language shows and many in other languages.

- **New episodes** usually get their transcript within a day or two of release
- **Some episodes and shows have none.** Single episodes return `success: false` and cost nothing; in show runs they are skipped up front
- Speakers are labelled `Speaker 1`, `Speaker 2`… the way Spotify labels them, not by name. Occasionally the first lines have `speaker: null` when Spotify does not label them
- `chapters` is filled only when Spotify returns chapter titles with the transcript; for many episodes it is an empty list

### Use it from code

```bash
curl -X POST "https://api.apify.com/v2/acts/agentflow~spotify-podcast-transcript/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://open.spotify.com/episode/3K9C7dXPTcuSAFt6fvhqrw"]}'
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("agentflow/spotify-podcast-transcript").call(run_input={
    "urls": ["https://open.spotify.com/show/79CkJF3UJTHFV8Dse3Oy0P"],
    "maxEpisodesPerShow": 50,
    "includeSegments": False,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item["success"]:
        print(item["title"], item["word_count"])
```

It also works from Make, Zapier, n8n, LangChain and the Apify MCP server, so AI agents can call it as a tool.

### FAQ

**Is this the same transcript I see in the Spotify app?**
Yes. It is the "Read along" transcript Spotify generated for the episode, with the same text and speaker turns.

**Do I need a Spotify account or Premium?**
No. Just paste public episode or show links.

**Can I get a whole podcast's archive?**
Yes. Paste the show link and set `maxEpisodesPerShow` (up to 2,000). Episodes come newest first.

**What about Apple Podcasts links?**
Use [Apple Podcasts Transcript Scraper](https://apify.com/agentflow/apple-podcasts-transcript) for those.

**Do I pay for episodes without a transcript?**
No. You only pay for transcripts actually returned.

### Keywords

spotify podcast transcript, spotify transcript api, spotify read along transcript, podcast transcript api, podcast to text, spotify podcast scraper, podcast transcript download, transcript with speakers and timestamps, podcast chapters, podcast dataset, podcast RAG, Joe Rogan transcript, Huberman Lab transcript

***

Not affiliated with Spotify AB. Spotify is a trademark of Spotify AB.

# Actor input Schema

## `urls` (type: `array`):

Spotify episode links (open.spotify.com/episode/…), episode ids, spotify:episode: URIs, or show links (open.spotify.com/show/…) to export a show's latest episodes. One per line.

## `maxEpisodesPerShow` (type: `integer`):

For show links only: how many of the newest episodes that have a transcript to fetch. Episodes without a transcript are skipped and not charged.

## `includeSegments` (type: `boolean`):

Return every paragraph with start/end time, speaker and chapter. Turn off if you only need the plain text.

## Actor input object example

```json
{
  "urls": [
    "https://open.spotify.com/episode/3K9C7dXPTcuSAFt6fvhqrw"
  ],
  "maxEpisodesPerShow": 20,
  "includeSegments": true
}
```

# Actor output Schema

## `results` (type: `string`):

One item per episode: title, show, release date, duration, chapters, full transcript text with speaker labels, timestamped segments, or success=false with the reason.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://open.spotify.com/episode/3K9C7dXPTcuSAFt6fvhqrw"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("agentflow/spotify-podcast-transcript").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": ["https://open.spotify.com/episode/3K9C7dXPTcuSAFt6fvhqrw"] }

# Run the Actor and wait for it to finish
run = client.actor("agentflow/spotify-podcast-transcript").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://open.spotify.com/episode/3K9C7dXPTcuSAFt6fvhqrw"
  ]
}' |
apify call agentflow/spotify-podcast-transcript --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,agentflow/spotify-podcast-transcript"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dzsMiXakrhaJRlnVc/builds/DDWdh1aLcUqHtU3ub/openapi.json
