# Download transcripts from a YouTube channel

**Use case:** 

Get the transcripts of a channel's latest videos in one run, with title, publish date, language, word count and timestamped segments. Paste a channel URL or @handle; no YouTube API key is needed. The example takes the latest uploads of TED. Switch the channel mode to all to go back through the channel's whole history.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ],
  "playlistUrls": [],
  "channelUrls": [
    "https://www.youtube.com/@TED"
  ],
  "maxVideos": 15,
  "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 "Download transcripts from a YouTube channel". [Sign up or log in](https://console.apify.com/create-task-from-example/22w1Bz5w2EpanRRw4) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Download transcripts from a YouTube channel" 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 "Download transcripts from a YouTube channel" 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 "Download transcripts from a YouTube channel" task via API](https://apify.com/panix/youtube-transcript-scraper.md).

## FAQ

### How many videos does the channel transcripts task fetch?

In latest mode the channel transcripts task reads the channel's newest uploads and Shorts, up to 15. Switch Channel discovery mode to all and raise Maximum discovered videos to go through the whole channel, up to 1,000 videos.

### What happens with videos that have no captions?

Videos without captions come back as rows with status error and a code such as NO_CAPTIONS, and they are never charged. The channel transcripts task charges only for transcripts it delivers.

### Which language are the transcripts in?

The channel transcripts task returns each video's captions in the spoken language and prefers human-made captions over automatic ones. Set Caption language to ask for one specific language.

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

The channel 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. Failed videos and duplicates 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`).
