# Transcribe YouTube podcast episodes

**Use case:** 

Get full transcripts of the latest podcast episodes from a YouTube channel, with chapters split out when the host adds them. This example pulls the newest Lex Fridman episodes; swap in any podcast channel or playlist.

## Input

```json
{
  "urls": [
    "@lexfridman"
  ],
  "maxVideosPerSource": 3,
  "channelContent": "videos",
  "languages": [
    "en"
  ],
  "fallbackToOriginalLanguage": true,
  "preferManualCaptions": true,
  "allLanguages": false,
  "maxLanguages": 30,
  "includeSegments": true,
  "subtitleFormat": "none",
  "includeDescription": true,
  "includeChapters": true,
  "includeMostReplayed": false,
  "chunkWords": 0,
  "onlyNew": false,
  "maxVideos": 0,
  "dryRun": false
}
```

## Output

```json
{
  "url": {
    "label": "Video",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "channelName": {
    "label": "Channel name",
    "format": "string"
  },
  "publishDate": {
    "label": "Publish date",
    "format": "string"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "captionType": {
    "label": "Caption type",
    "format": "string"
  },
  "wordCount": {
    "label": "Word count",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "text": {
    "label": "Transcript",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The YouTube Transcript, Subtitles & Captions Scraper Actor is ready to run with the inputs already set for "Transcribe YouTube podcast episodes". [Sign up or log in](https://console.apify.com/create-task-from-example/4JnJduL7WzrFWwPM8) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Transcribe YouTube podcast episodes" task

The YouTube Transcript, Subtitles & Captions Scraper Actor will start running based on the input automatically. You can also change all the input fields, like videos, shorts, channels or playlists, max videos per channel / playlist / search, and more, to match your specific use case.

### 3. Receive the "Transcribe YouTube podcast episodes" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as video, title, channel name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Transcribe YouTube podcast episodes" task via API](https://apify.com/verbatim-labs/youtube-transcript.md).

## FAQ

### Am I charged for videos without captions?

Videos with no captions, private or deleted videos come back from the podcast transcript task as free rows with a status and errorCode. Only rows with status ok are billed.

### What does each row contain?

Each row has the video title, channel, publish date, language, caption type, word count and the full transcript text, plus optional timestamped segments, chapters and SRT/VTT.

### Do long episodes work?

The podcast transcript task handles episodes of any length: one transcript per episode, whether it runs 10 minutes or 4 hours, with chapters split out when the video has them.

### Can I use the transcripts with an AI agent or n8n?

The podcast transcript task works over the Apify API, MCP, Make, n8n and Zapier. Every row has stable status and errorCode fields, so a workflow can branch without parsing error text.

## About this Actor

This example demonstrates how to use [YouTube Transcript, Subtitles & Captions Scraper](https://apify.com/verbatim-labs/youtube-transcript.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/verbatim-labs/youtube-transcript.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/verbatim-labs/youtube-transcript.md

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`).
