# YouTube Transcript Scraper – Bulk Channels & Playlists (`prospect_antechamber/youtube-transcript-bulk`) Actor

YouTube transcript scraper for whole channels and playlists: bulk transcripts, subtitles and captions in one run. RAG-ready JSON, text, SRT, VTT. $2 per 1,000 transcripts + Apify usage. Captions only.

- **URL**: https://apify.com/prospect_antechamber/youtube-transcript-bulk.md
- **Developed by:** [Nidhi Karuturi](https://apify.com/prospect_antechamber) (community)
- **Categories:** Videos, AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 transcript extracteds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Transcript Scraper – Bulk Channels & Playlists ($2 / 1,000 videos)

**$2 per 1,000 transcripts** – vs **$10/1k** (pintostudio, single video only), **$7/1k** (karamelo) and **$5/1k** (starvibe). Prices from the Apify Store, checked 23 Oct 2026. Only successful transcripts are charged; Apify platform usage (compute + residential proxy, ~$2.80–3.70 per 1,000 in our tests) is billed separately by Apify. A few actors (supreme_coder, codepoetry) charge ~$1/1k.

Paste a **YouTube channel or playlist URL** and get **every video's transcript** in one dataset: one row per video, timestamped segments, plus plain text, SRT and VTT. Built for **LLMs, RAG pipelines, vector databases and AI agents**. Single videos and Shorts work too.

### What it does

- **Bulk input:** mix video URLs, Shorts, `youtu.be` links, bare video IDs, playlist URLs and channel URLs (`/@handle`, `/channel/…`, `/c/…`) in one list. Duplicates are removed.
- **Playlist & channel transcripts:** playlists and channels are expanded automatically, up to `maxVideosPerSource` videos per source (default 50).
  - A channel URL reads the channel's **Videos** tab only. To include Shorts, turn on `includeChannelShorts` or add the `…/shorts` URL separately; for live streams add `…/streams`.
- **Languages:** list language codes in priority order (`en`, `hi`, `es`, …). If none match, you get the first available caption track, and the `language` field tells you which.
- **Human vs auto captions:** human-uploaded captions are preferred by default; turn off `preferManual` to prefer auto-generated.
- **All formats in one row:** JSON segments always; add `txt`, `srt`, `vtt` via `outputFormats`.
- **Nothing disappears silently:** every video gets a row. Failures carry an `error` such as `TranscriptsDisabled`.

### What it does not do

- **Captions only, no speech-to-text.** It reads the captions YouTube already has (human or auto-generated). If a video has no captions, you get an `error` row and no transcript.
- No translation. You get the languages YouTube provides.

### Input

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://www.youtube.com/playlist?list=PL...",
    "https://www.youtube.com/@veritasium",
    "https://www.youtube.com/@veritasium/shorts"
  ],
  "maxVideosPerSource": 50,
  "languages": ["en"],
  "preferManual": true,
  "outputFormats": ["txt", "srt"]
}
```

### Output (one item per video)

```json
{
  "videoId": "dQw4w9WgXcQ",
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "title": "Rick Astley - Never Gonna Give You Up",
  "channel": "Rick Astley",
  "channelUrl": "<from oEmbed>",
  "language": "en",
  "isAutoGenerated": false,
  "durationSec": 211,
  "segmentCount": 61,
  "segments": [{"start": 18.64, "duration": 3.24, "text": "We're no strangers to love"}],
  "text": "We're no strangers to love ...",
  "srt": "1\n00:00:18,640 --> 00:00:21,880\n...",
  "error": null
}
```

`durationSec` is the end time of the last caption, not the official video length.

### Proxy & reliability

- **Default: Apify residential proxy.** In our residential cloud test, **23 of 23 captioned videos** returned a transcript (2 more videos in that run had no captions/were unplayable and returned an error). That's one test, not a guarantee.
- **Datacenter proxy (optional):** cheaper, but YouTube often blocks it; in one of our runs only 1 of 23 succeeded. If you choose it, enable `residentialFallback` to retry blocked videos on residential (extra proxy usage).
- Up to 4 retries per video; permanent errors (no captions, unavailable, age-restricted) stop immediately. 5 videos processed in parallel.

### Pricing (per-transcript fee + your platform usage)

| What | Price |
|---|---|
| Actor fee | $2 per 1,000 transcripts ($0.002 each, successful only) |
| Apify platform usage | billed by Apify at your plan's rates (compute, residential proxy traffic) |

Measured in our cloud tests (residential proxy): about **$2.80–3.70 per 1,000 transcripts**. Your cost depends on your plan, video length and how often YouTube blocks requests. Set a max charge per run in Apify to cap spend. Pricing may change later; Apify announces changes in advance.

### Honest comparison (Apify Store, checked 23 Oct 2026)

Several actors are cheaper per transcript (e.g. supreme_coder and codepoetry at about $1 per 1,000). codepoetry also does AI transcription for videos without captions, which this actor doesn't. This actor's focus is **whole channels and playlists in one run, every video accounted for (failures get an error row), RAG-ready text and segments**.

### Use it from code, n8n or an AI agent

- **API / Python / JS:** call `prospect_antechamber/youtube-transcript-bulk` with the Apify client.
- **LangChain / LlamaIndex:** use `ApifyWrapper.call_actor` or `ApifyActor.load_data` and map `text` → document content.
- **n8n / Make / Zapier:** use the official Apify integrations.
- **MCP (Claude, Cursor, etc.):** add it to the Apify MCP server: `https://mcp.apify.com?tools=prospect_antechamber/youtube-transcript-bulk`.

### FAQ

**Do I pay for videos without captions?** There's no actor fee at all. They return `error: TranscriptsDisabled` (or similar); the small platform usage for the attempt still applies.
**Can I get a whole channel?** Yes, up to `maxVideosPerSource` per channel URL; raise it for bigger channels.
**Shorts?** Pass Shorts URLs directly, a channel's `/shorts` URL, or turn on `includeChannelShorts`.
**Speech-to-text for videos without captions?** No, captions only.
**Is scraping YouTube captions allowed?** You're responsible for complying with YouTube's terms and copyright law in your use of the data.

# Actor input Schema

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

Video, Shorts, playlist or channel URLs (or bare video IDs). Playlists and channels are expanded automatically.

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

Cap for each playlist, or each channel tab (Videos, Shorts, Streams).

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

Caption language codes in priority order, e.g. en, hi, es. If none match, the first available caption track is returned. No translation.

## `preferManual` (type: `boolean`):

Use uploaded captions when available.

## `outputFormats` (type: `array`):

Segments (JSON) are always included. Add plain text, SRT and/or VTT strings.

## `proxyConfiguration` (type: `object`):

Default: Apify RESIDENTIAL proxy (recommended). Datacenter proxy is cheaper for us but YouTube blocked it heavily in our tests (one run: 1 of 23 succeeded).

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

Only matters if you switch the proxy below to datacenter. Then videos YouTube blocks after 4 tries are retried twice on residential proxy (extra proxy usage, paid as platform usage). Ignored on the default residential proxy.

## `includeChannelShorts` (type: `boolean`):

Channel URLs read the Videos tab by default. Turn on to also expand the channel's Shorts tab (up to the per-source cap for each tab). You can also pass a …/shorts URL directly.

## Actor input object example

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "maxVideosPerSource": 50,
  "languages": [
    "en"
  ],
  "preferManual": true,
  "outputFormats": [
    "txt"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "residentialFallback": false,
  "includeChannelShorts": false
}
```

# Actor output Schema

## `transcripts` (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/watch?v=dQw4w9WgXcQ"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("prospect_antechamber/youtube-transcript-bulk").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/watch?v=dQw4w9WgXcQ"] }

# Run the Actor and wait for it to finish
run = client.actor("prospect_antechamber/youtube-transcript-bulk").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/watch?v=dQw4w9WgXcQ"
  ]
}' |
apify call prospect_antechamber/youtube-transcript-bulk --silent --output-dataset

```

## MCP server setup

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

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/DHkB7DwJJzedzuZT3/builds/a6P3LdQ9dh6l7JuyT/openapi.json
