# Get transcripts of every video in a YouTube playlist

**Use case:** 

Paste a public playlist and get the transcript of each video in playlist order, with title, channel, language, word count and timestamped segments. Good for online courses, lecture series and podcast archives. The example reads a short TED playlist; raise Maximum discovered videos for longer playlists.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ],
  "playlistUrls": [
    "https://www.youtube.com/playlist?list=PLOGi5-fAu8bH7ddYcU-rClnxhchNrfym2"
  ],
  "channelUrls": [],
  "maxVideos": 20,
  "channelMode": "latest",
  "publishedAfter": "",
  "publishedBefore": "",
  "language": "",
  "preferManualCaptions": true,
  "fixUrduScript": true,
  "removeNonSpeechTags": false,
  "includeSegments": true,
  "includeMetadata": true,
  "includeSrt": false,
  "includeVtt": false,
  "includeMarkdown": false,
  "includeChunks": false,
  "chunkSizeWords": 300,
  "chunkOverlapWords": 30,
  "maxConcurrency": 10,
  "maxRetries": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "position": {
    "label": "Source order",
    "format": "integer"
  },
  "sourceType": {
    "label": "Source type",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "title": {
    "label": "Video title",
    "format": "string"
  },
  "channelName": {
    "label": "Channel name",
    "format": "string"
  },
  "publishedDate": {
    "label": "Published date",
    "format": "string"
  },
  "language": {
    "label": "Spoken language",
    "format": "string"
  },
  "wordCount": {
    "label": "Word count",
    "format": "integer"
  },
  "errorCode": {
    "label": "Error code",
    "format": "string"
  },
  "transcript": {
    "label": "Transcript",
    "format": "string"
  },
  "url": {
    "label": "Canonical video URL",
    "format": "string"
  }
}
```

## How it works

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

The YouTube Transcript API & Scraper Actor is ready to run with the inputs already set for "Get transcripts of every video in a YouTube playlist". [Sign up or log in](https://console.apify.com/create-task-from-example/X8dNq0A2P3GBr1ke6) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get transcripts of every video in a YouTube playlist" task

The YouTube Transcript API & Scraper Actor will start running based on the input automatically. You can also change all the input fields, like youtube video or shorts urls, youtube playlist urls, and more, to match your specific use case.

### 3. Receive the "Get transcripts of every video in a YouTube playlist" 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 source order, source type, status, 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 "Get transcripts of every video in a YouTube playlist" task via API](https://apify.com/panix/youtube-transcript-scraper.md).

## FAQ

### How many videos can the playlist transcripts task read?

The playlist transcripts task reads up to 1,000 videos per run; set Maximum discovered videos to the playlist length. Videos keep the playlist order in the position field.

### Does it work with private playlists?

The playlist transcripts task works with public playlists. Private playlists need a YouTube login, so they are not supported.

### How much does the playlist transcripts task cost?

The playlist transcripts task costs $0.003 per transcript on the Apify Free plan and $0.00275 on Starter, less on Scale and Business, plus $0.003 per run. Videos without captions are free.

## About this Actor

This example demonstrates how to use [YouTube Transcript API & Scraper](https://apify.com/panix/youtube-transcript-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/panix/youtube-transcript-scraper.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/panix/youtube-transcript-scraper.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`).
