# YouTube Channel Transcript Scraper (`steadyscrape/youtube-channel-transcript-scraper`) Actor

Bulk YouTube channel transcripts: every video of a channel, its Shorts or a playlist, with captions in the language you ask for, timestamps, SRT/VTT and video metadata. A free row says why a video has no transcript. Export to JSON, CSV or Excel, or via API. No login.

- **URL**: https://apify.com/steadyscrape/youtube-channel-transcript-scraper.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (community)
- **Categories:** Videos, AI, Social media
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.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

## YouTube Channel Transcript Scraper

Download the transcripts of a whole YouTube channel in bulk: paste a channel link (or a playlist) and get every video's transcript, newest first, in the language you ask for, with timestamps, SRT and WebVTT, and each video's metadata. A channel's Shorts tab gives its Shorts only. **Every video comes back as a row**, and when a video has no transcript the row says why (`no_captions`, `age_restricted`, `unavailable`…), free of charge. You pay only for rows that carry a transcript.

No login, no cookies, no browser, no API key: it reads the same API the YouTube apps use.

### What you get from a YouTube channel

For each video of the channel or playlist, one row with:

- **The transcript** as plain `text`, as timed `segments` (`start` and `duration` in seconds), and optionally as `srt` and `vtt` files ready to save.
- **Which track was read**: `language`, `languageName`, `isAutoGenerated`, and `availableLanguages` (every caption track the video has).
- **The video**: title, channel name and id, duration, views, likes, publish date, category, description, keywords, thumbnail.
- **Where it came from**: `source` (the channel id or the playlist id you gave).
- **`status` and `reason`**: `ok`, `no_captions`, `language_missing`, `unavailable`, `age_restricted`, `login_required`, or `blocked`.

### Input: channels, Shorts and playlists

| field | what it does |
|---|---|
| `urls` | Channels (`youtube.com/@handle`, `/channel/UC…`, `/c/…`, `/user/…`, an old `youtube.com/name`, or a bare `@handle`) and playlists (link or id). A channel's Shorts tab (`@handle/shorts`) or its Shorts playlist (`UUSH…`) gives its Shorts only. Single video links work too. |
| `maxVideosPerSource` | How many videos to read from each channel or playlist, newest first for channels. YouTube lists a channel 100 videos at a time; the Actor follows every page, up to 5,000. Default 100. Over the API, `maxVideos` or `max_videos` (as other channel transcript Actors name it, 0 = every video) is read too. |
| `language` | Caption language code, e.g. `en`, `es`, `pt-BR`, `es-419` (any case, `_` or `-`). `pt` matches `pt-BR`. Empty: the track YouTube shows by default. |
| `whenLanguageMissing` | `default-track` (read the video's default track; the row says which) or `skip` (a free row with status `language_missing` and the languages it has). |
| `preferAutoGenerated` | Read the auto-generated track even when a manual one exists in that language. |
| `formats` | Any of `text`, `segments`, `srt`, `vtt`. Default: text and segments. |
| `residentialFallback` | Retry a video YouTube refused from datacenter IPs through a residential proxy, at no extra cost to you. Default on. |

```json
{
    "urls": ["https://www.youtube.com/@veritasium", "https://www.youtube.com/@TED/shorts", "https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab"],
    "language": "en",
    "formats": ["text", "segments", "srt"],
    "maxVideosPerSource": 500
}
```

### Output example

```json
{
    "videoId": "eyZEqSPeMwg",
    "url": "https://www.youtube.com/watch?v=eyZEqSPeMwg",
    "status": "ok",
    "reason": null,
    "title": "No device could prove Einstein wrong... until now",
    "channelName": "Veritasium",
    "channelId": "UCHnyfMqiRRG1u-2MsSQLbXA",
    "durationSeconds": 2067,
    "viewCount": 3939613,
    "likeCount": 50227,
    "publishDate": "2026-10-23T11:46:44-07:00",
    "category": "Education",
    "description": "Can atomic clocks prove Einstein wrong? …",
    "keywords": ["veritasium", "science", "physics"],
    "thumbnailUrl": "https://i.ytimg.com/vi/eyZEqSPeMwg/sddefault.jpg",
    "isLive": false,
    "requestedLanguage": "en",
    "language": "en",
    "languageName": "English",
    "isAutoGenerated": false,
    "availableLanguages": [{ "code": "en", "name": "English", "autoGenerated": false }, { "code": "en", "name": "English (auto-generated)", "autoGenerated": true }],
    "text": "- This might be the most ambitious long shot precision experiment that I've ever seen. Scientists have put one atomic clock down in Boulder, Colorado …",
    "segments": [{ "start": 0.034, "duration": 3.886, "text": "- This might be the most ambitious long shot precision" }],
    "srt": null,
    "vtt": null,
    "source": { "type": "channel", "id": "UCHnyfMqiRRG1u-2MsSQLbXA" }
}
```

A video without a transcript still gets its row, uncharged:

```json
{ "videoId": "hY7m5jjJ9mM", "status": "no_captions", "reason": "The video has no captions", "availableLanguages": [], "text": null, "segments": null }
```

A line that gives no video at all gets a free row of its own, and the run still succeeds: `status` is `invalid` (not a YouTube link), `not_found` (the playlist or channel does not exist or is private), `no_videos` (it lists no public video), `blocked` or `unreadable`, with `reason`, the line as `inputUrl` and its `source`:

```json
{ "status": "not_found", "reason": "channel https://www.youtube.com/@nosuchchannel does not exist on YouTube, or is private.", "inputUrl": "https://www.youtube.com/@nosuchchannel", "source": { "type": "channel", "id": "https://www.youtube.com/@nosuchchannel" } }
```

The run's `SUMMARY` record lists how many videos each channel or playlist gave, the rows per status, and any channel or playlist that could not be read.

### Output fields

| field | type | what it holds |
|---|---|---|
| `videoId`, `url` | string | The video's id and its watch link. |
| `status` | string | `ok` (transcript delivered, charged), or why there is none: `no_captions`, `language_missing`, `unavailable`, `age_restricted`, `login_required`, `blocked`, `unreadable` (free). |
| `reason` | string or null | YouTube's own words when the status is not `ok`. |
| `title`, `channelName`, `channelId` | string or null | The video's title and its channel. |
| `durationSeconds`, `viewCount`, `likeCount` | number or null | Length in seconds, views and likes. |
| `publishDate` | string or null | Publish date and time with its offset (ISO 8601). |
| `category`, `description`, `thumbnailUrl` | string or null | YouTube category, full description, thumbnail link. |
| `keywords` | string\[] | The video's tags. |
| `isLive` | boolean or null | Whether the video is a live stream. |
| `requestedLanguage` | string or null | The `language` you asked for. |
| `language`, `languageName`, `isAutoGenerated` | string, string, boolean or null | The caption track that was read. |
| `availableLanguages` | `{ code, name, autoGenerated }[]` | Every caption track the video has. |
| `text` | string or null | The transcript as plain text. |
| `segments` | `{ start, duration, text }[]` or null | The transcript as timed lines, in seconds. |
| `srt`, `vtt` | string or null | The transcript as SRT and WebVTT subtitle files, when asked for in `formats`. |
| `source` | `{ type, id }` | The channel, playlist or video link it came from (`type` is `channel`, `playlist` or `video`). |

### Bulk channel transcripts for AI, research and repurposing

- **Feed a channel to an AI model**: a creator's whole back catalogue as clean text or timed segments, for a chatbot, embeddings or summaries.
- **Research and monitoring**: what a channel, a competitor or a whole playlist has said on a topic, searchable as text, with the publish date of each video.
- **Repurposing**: turn a channel's videos into articles, newsletters, clips or subtitles (SRT/VTT ready to upload).
- **Shorts only**: give the channel's `/shorts` link to get the transcripts of its Shorts without its long videos.

The same engine, for single videos and mixed lists, is the [YouTube Transcript Scraper](https://apify.com/steadyscrape/youtube-transcript-scraper).

### Pricing

Pay per transcript delivered (the `transcript` event). Rows with any other status (no captions, unavailable, restricted, blocked) are free, and the proxy traffic is included. A channel of 100 videos usually takes one to two minutes; the run stops before a transcript that would go past your spending limit.

### Limits and notes

- Auto-translated captions are not available through this API; the transcript comes in the languages the video has.
- Age-restricted, private and members-only videos need a signed-in account, which this Actor does not use: they get a free row with the reason.
- Live streams in progress have no transcript until YouTube publishes the recording's captions.
- When YouTube asks an IP to confirm it is not a bot, that IP is not used again in the run and the work goes on from another one; the check is never solved or bypassed. A video no IP could fetch is a free `blocked` row, and the run still succeeds.
- A video given twice (in two playlists, or a Short that is also among the channel's uploads) is scraped once.
- This Actor is not affiliated with, endorsed by or connected to YouTube or Google. Transcripts are provided for analysis, research, accessibility and indexing; respect YouTube's terms and the creators' rights in how you use them.

# Actor input Schema

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

One per line: a channel link (<code>@handle</code>, <code>/channel/UC…</code>, <code>/c/</code>, <code>/user/</code>, an old <code>youtube.com/name</code>) or a bare <code>@handle</code>, or a playlist link or id. A channel gives its uploads, newest first; its Shorts tab link (<code>@handle/shorts</code>) or its Shorts playlist (<code>UUSH…</code>) gives its Shorts only. Single video links work too.

## `language` (type: `string`):

Caption language to read, as a code (<code>en</code>, <code>es</code>, <code>pt-BR</code>, <code>es-419</code>, <code>zh-Hant</code>; any case, <code>\_</code> or <code>-</code>). A short code matches a regional track (<code>pt</code> finds <code>pt-BR</code>). Empty: the track YouTube shows by default for the video.

## `whenLanguageMissing` (type: `string`):

What to do with a video that has captions but none in the requested language. Either read its default track (the row's <code>language</code> tells which one) or skip it with status <code>language_missing</code> and the languages it does have.

## `preferAutoGenerated` (type: `boolean`):

When a video has both a manual and an auto-generated track in the language, read the auto-generated one. Off: the manual one wins, auto-generated is the fallback.

## `formats` (type: `array`):

Which renderings of the transcript to include in each row: plain <code>text</code>, timed <code>segments</code> (start and duration in seconds), <code>srt</code> and <code>vtt</code> subtitle files as strings.

## `maxVideosPerSource` (type: `integer`):

How many videos to read from each channel or playlist, newest first for channels. YouTube lists a channel 100 videos at a time; the Actor follows every page up to this number.

## `residentialFallback` (type: `boolean`):

YouTube refuses most datacenter IPs, Apify's included. A video refused on the direct route and on a datacenter proxy is retried through Apify's residential proxy, at no extra cost to you: you pay per transcript only. Off: such videos end with status <code>blocked</code>, free.

## Actor input object example

```json
{
  "urls": [
    "https://www.youtube.com/@veritasium"
  ],
  "language": "en",
  "whenLanguageMissing": "default-track",
  "preferAutoGenerated": false,
  "formats": [
    "text",
    "segments"
  ],
  "maxVideosPerSource": 3,
  "residentialFallback": true
}
```

# Actor output Schema

## `transcripts` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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://www.youtube.com/@veritasium"
    ],
    "language": "en",
    "formats": [
        "text",
        "segments"
    ],
    "maxVideosPerSource": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/youtube-channel-transcript-scraper").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://www.youtube.com/@veritasium"],
    "language": "en",
    "formats": [
        "text",
        "segments",
    ],
    "maxVideosPerSource": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("steadyscrape/youtube-channel-transcript-scraper").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://www.youtube.com/@veritasium"
  ],
  "language": "en",
  "formats": [
    "text",
    "segments"
  ],
  "maxVideosPerSource": 3
}' |
apify call steadyscrape/youtube-channel-transcript-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyscrape/youtube-channel-transcript-scraper"
        }
    }
}
```

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/FrXaldWUv0yBDH0Xh/builds/OWYRra9dTxxH3az2L/openapi.json
