# YouTube Channel Transcripts - Bulk Transcripts for AI & RAG (`aolmo/youtube-channel-transcripts`) Actor

Get the transcripts of all recent videos of a YouTube channel or playlist in one run: full text, language, word count and optional timestamped segments, with title, views, duration and date. Built for AI, RAG, summaries and content research. You only pay for videos with a transcript: $0.004 each.

- **URL**: https://apify.com/aolmo/youtube-channel-transcripts.md
- **Developed by:** [Antonio del Olmo Tena](https://apify.com/aolmo) (community)
- **Categories:** AI, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 transcript extracteds

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

Download the transcripts of a YouTube channel's or playlist's videos in one run. Give a channel or a playlist and the Actor returns one row per video with the full transcript, its language and word count, optional timestamped segments, and the video title, date, views and duration. Feed them to an LLM, a RAG index or a search tool, or analyse what a creator says over time. You only pay for videos with a transcript. AI knowledge bases, content research and repurposing at $0.004 per transcript.

### What you get

**Video** (one row each): `transcript`, `hasTranscript`, `language`, `languageCode`, `isAutoGenerated`, `wordCount`, `segments` (with start time and duration, when enabled), `title`, `url`, `videoId`, `channelName`, `channelId`, `publishedAt`, `publishedText`, `durationSeconds`, `views`, `error`, `position`, `source`.

**Changes** on scheduled runs: `isNew` is true for videos uploaded since the previous run.

Videos without captions are returned with `hasTranscript: false` and are free.

### How to use it

1. Open the **Input** tab.
2. Add **Channels or playlists**, one per line: `@veritasium`, a channel URL, or a playlist URL (up to 50 per run).
3. Set **Max videos per source** (newest first, up to 500) and the **Languages** you prefer.
4. Turn on **Include timestamped segments** if you need timings.
5. Click **Start** and export the rows as JSON, CSV or Excel. Schedule it to get each new video's transcript.

### Input

```json
{
  "sources": ["@veritasium", "https://www.youtube.com/playlist?list=PLFs4vir_WsTwEd-nJgVJCZPNL3HALHHpF"],
  "maxVideos": 20,
  "languages": ["en"],
  "includeSegments": false
}
```

### Output

```json
{
  "source": "channel:@veritasium en",
  "videoId": "KfODG5REyss",
  "url": "https://www.youtube.com/watch?v=KfODG5REyss",
  "title": "I finally saw quantum physics with my own eyes...",
  "channelName": "Veritasium",
  "publishedText": "1 day ago",
  "durationSeconds": 3955,
  "views": 5691856,
  "hasTranscript": true,
  "language": "English",
  "languageCode": "en",
  "isAutoGenerated": false,
  "wordCount": 10724,
  "transcript": "This is liquid helium. It's currently sitting at negative 269 degrees Celsius...",
  "segments": [],
  "error": null,
  "isNew": false,
  "timestamp": "2026-11-06T10:00:00.000Z"
}
```

### Pricing

Pay per event: **$0.004 per video with a transcript**, and **$0.001 per new video** on a scheduled run. Videos without captions cost nothing. 100 transcripts cost $0.40.

### Limits and notes

- Transcripts are YouTube's captions, written by the creator or generated automatically; `isAutoGenerated` tells which.
- Live streams in progress are skipped. Videos with captions turned off return no transcript.
- `publishedAt` is estimated from YouTube's relative date when the exact date is not available.
- The transcripts belong to their creators: respect their rights when you publish derived content.

### Related Actors

- **YouTube Transcript API**: the transcript of single videos.
- **YouTube Channel Videos Scraper**: every video of a channel with its statistics.
- **Website to Markdown Crawler**: web pages as clean text for AI.

# Actor input Schema

## `sources` (type: `array`):

One per line: @veritasium, a channel URL, or a playlist URL such as https://www.youtube.com/playlist?list=PL... Up to 50 per run.

## `maxVideos` (type: `integer`):

Newest first, up to 500.

## `languages` (type: `array`):

Preferred transcript languages in order, such as en, es or pt-BR. If none is available, the original language is used.

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

Add each caption line with its start time and duration.

## `product` (type: `string`):

Internal. Leave as is.

## Actor input object example

```json
{
  "sources": [
    "@veritasium"
  ],
  "maxVideos": 20,
  "languages": [
    "en"
  ],
  "includeSegments": false,
  "product": "youtube-channel-transcripts"
}
```

# Actor output Schema

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

Dataset items: url, changed, events, data, timestamp and error (when the target failed).

# 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 = {
    "sources": [
        "@veritasium"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("aolmo/youtube-channel-transcripts").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 = { "sources": ["@veritasium"] }

# Run the Actor and wait for it to finish
run = client.actor("aolmo/youtube-channel-transcripts").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 '{
  "sources": [
    "@veritasium"
  ]
}' |
apify call aolmo/youtube-channel-transcripts --silent --output-dataset

```

## MCP server setup

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

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/CNKAOsgmz385HjD9Y/builds/hwcgoj6yl8nBOqRjN/openapi.json
