# YouTube Transcript Scraper (`clearcaption/youtube-transcript-translate`) Actor

FREE: ~1,000 YouTube transcripts a month on Apify's free plan. Videos, channels, playlists, search; SRT/VTT subtitles; translation with timestamps. No captions = $0.

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

## Pricing

from $3.50 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## ClearCaption: YouTube Transcript Scraper

> **FREE to try: about 1,000 transcripts every month on Apify's free plan** (the $5 monthly credit covers it, no credit card). After that $0.005 per video with a transcript; videos without captions are always $0.

Paste YouTube videos, channels, playlists or search keywords. Get clean transcripts, subtitles (SRT / VTT) and video metadata — in the original language or translated into yours, **with timestamps kept in the translation** (translated SRT / VTT).

**You pay only for videos that have a transcript.** No captions, private, deleted, duplicate or broken link — $0.

**Blocked by YouTube on AWS / GCP / Colab?** If `youtube-transcript-api` fails with `RequestBlocked`, `IpBlocked` or 429 on your server, use our free open-source Python fallback with the same output format: [github.com/Andrii2203/clearcaption-youtube-transcript](https://github.com/Andrii2203/clearcaption-youtube-transcript).

**Use it from code or no-code:** `pip install clearcaption` (Python + CLI) · `npm i clearcaption` (JS/TS, Node, Deno, Bun, Cloudflare) · n8n community node `n8n-nodes-clearcaption` · MCP server for Claude / Cursor / ChatGPT agents.

| | ClearCaption | Typical transcript actors |
|---|---|---|
| Videos without captions | **$0** | often charged |
| Translation | YouTube track when it exists ($0 extra), otherwise AI translation with timestamps | original only, or YouTube auto-translate |
| Translated SRT / VTT | yes | rare |
| Channels, playlists, search | yes | some |
| Python drop-in for youtube-transcript-api | yes | no |

### Use it from AI agents (MCP): Claude, ChatGPT, Cursor, n8n

Add this MCP server to your client and the agent can fetch and translate YouTube transcripts by itself:

```json
{
  "mcpServers": {
    "clearcaption": {
      "url": "https://mcp.apify.com?tools=clearcaption/youtube-transcript-translate",
      "headers": { "Authorization": "Bearer <YOUR_APIFY_TOKEN>" }
    }
  }
}
```

- **Claude Desktop / Claude Code, Cursor, VS Code:** paste the block above into the MCP settings, or skip the header and sign in to Apify in the browser on first connection.
- **Apify CLI:** `apify mcp install cursor` (or another client), then add this Actor in the [MCP configurator](https://mcp.apify.com/).
- Then just ask: *"Get the transcript of https://youtu.be/dQw4w9WgXcQ and translate it to German as SRT."*

**Ask an AI about this Actor:**
[ChatGPT](https://chatgpt.com/?q=How%20do%20I%20use%20the%20ClearCaption%20YouTube%20Transcript%20%26%20Translator%20Actor%20on%20Apify%20\(https%3A%2F%2Fapify.com%2Fclearcaption%2Fyoutube-transcript-translate\)%3F) ·
[Claude](https://claude.ai/new?q=How%20do%20I%20use%20the%20ClearCaption%20YouTube%20Transcript%20%26%20Translator%20Actor%20on%20Apify%20\(https%3A%2F%2Fapify.com%2Fclearcaption%2Fyoutube-transcript-translate\)%3F) ·
[Perplexity](https://www.perplexity.ai/search?q=How%20do%20I%20use%20the%20ClearCaption%20YouTube%20Transcript%20%26%20Translator%20Actor%20on%20Apify%20\(https%3A%2F%2Fapify.com%2Fclearcaption%2Fyoutube-transcript-translate\)%3F)

### YouTube transcript scraper for AI, research and localization

- **AI and LLM workflows** — feed lectures, podcasts and tutorials to ChatGPT, Claude, summaries, RAG and agents.
- **Research and content** — quotes, notes, chapters and SEO from any video.
- **Localization** — read foreign-language videos in your own language, or translate your own videos for a new audience.

### What you get

One clean row per video. Example: a 33-minute English coding tutorial, translated to Spanish.

```json
{
  "videoId": "HIj8wU_rGIU",
  "title": "How to Start Coding | Programming for Beginners | Learn Coding | Intellipaat",
  "channel": "Intellipaat",
  "lengthSec": 1988,
  "status": "OK",
  "lang": "en",
  "isGenerated": true,
  "viewCount": 360057,
  "url": "https://www.youtube.com/watch?v=HIj8wU_rGIU",
  "text": "hey guys welcome to the live by intellipaat i am ram and i'll be the one covering the live today so guys today we'll be learning how to start coding …",
  "translation": {
    "lang": "es",
    "source": "ai",
    "text": "Hola a todos, bienvenidos al directo de Intellipaat. Soy Ram y hoy aprenderemos cómo empezar a programar …"
  },
  "chargedUsd": 0.025
}
```

Add `srt` or `vtt` to **Output formats** to get ready subtitle files (for the original and the translation). With `segments` every line also comes with its start time:

```json
"segments": [
  { "start": 11.759, "dur": 4.721, "text": "hey guys welcome to the live by" },
  { "start": 13.84, "dur": 5.199, "text": "intellipaat i am ram and i'll be the one" }
]
```

- `lang` — the language actually spoken in the video. Auto-dubbed audio tracks are ignored, so you get the original speech.
- `translation.source` — `youtube` when YouTube already has a track in your language (free), `ai` when we translate it.
- Metadata in every row: `viewCount`, `keywords`, `description`, `thumbnail`, `channelId`, `isLive`, `url`; `source` shows which channel, playlist or search the video came from.
- `status` — `OK`, `NO_CAPTIONS`, `UNAVAILABLE`, `BAD_INPUT` or `ERROR`. Every video you send gets a row with its status and reason, so nothing disappears silently. Only `OK` is charged.

### Why this one

| | This Actor | pintostudio/youtube-transcript-scraper |
|---|---|---|
| Price per video with a transcript | **$0.005** | $0.01 |
| Channels, playlists, search | **yes, in one run** | no — one video per run |
| SRT / VTT subtitles | **yes** | — |
| Translation | **YouTube's own track free, otherwise AI translation into any language** | only languages YouTube itself provides or auto-translates |
| Videos without captions, broken links, duplicates | **$0**, each still gets a row with the reason | — |

Competitor price, FAQ ("processes one video per run") as shown on its Apify Store page on 24 November 2026; "—" means not stated there.

### How it works

1. Add videos (`watch`, `youtu.be`, `shorts`, `live`, `embed` links or 11-character IDs), channels (`@handle`, `/channel/UC…`), playlists, or search keywords. Set **Max videos per channel, playlist or search** — listing videos is free.
2. Optional: pick a language to translate to — `en`, `es`, `de`, `uk`, `fr`, `pl`, `pt`, `ja`…
3. Run. Download the dataset as JSON, CSV or Excel, or use the API, n8n, Make and Zapier.

### Input

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=HIj8wU_rGIU",
    "https://www.youtube.com/@freecodecamp",
    "https://www.youtube.com/playlist?list=PLWKjhJtqVAbnZtkAI3BqcYxKnfWn_C704"
  ],
  "searchQueries": ["how to start coding"],
  "maxVideosPerSource": 20,
  "targetLanguage": "es",
  "translationEngine": "auto",
  "outputFormats": ["text", "srt", "vtt"]
}
```

Ready-made examples: see the **Examples** tab — translation to 7 languages, timestamps, bulk links, a full 25-hour lecture for LLMs.

### Pricing

Like a taxi meter — short videos cost little, long ones a bit more.

| What | Price |
|---|---|
| Transcript of one video (up to 10 hours) | $0.005 |
| Each extra started 10 hours of the same video | $0.005 |
| Translation by YouTube's own track in your language | free |
| AI translation, per started 10 minutes of video | $0.005 |
| Video without a transcript | free |

Examples: a 10-minute video — $0.005, with AI translation — $0.010. A 1-hour lecture with AI translation — $0.035. If a translation fails, you pay only for the transcript and the row says why.

Set **Max cost per run** and the Actor stops before going over it — no translation is started that you would not pay for.

### Good to know

- Works with auto-generated and manual captions, regular videos, Shorts and live recordings.
- Translation keeps the meaning and only fixes obvious speech-recognition errors.
- Something wrong? Open an issue — we read every one.

# Actor input Schema

## `videos` (type: `array`):

Video links (watch, youtu.be, shorts, live, embed), 11-character video IDs, channel links (@handle, /channel/UC…) or playlist links. You get one row per video.

## `searchQueries` (type: `array`):

Search keywords. The top videos for each keyword are transcribed.

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

Listing videos is free; you pay only for videos with a transcript.

## `targetLanguage` (type: `string`):

Language code, e.g. en, es, de, fr, pt, uk, pl, ja. Leave empty to get only the original transcript.

## `translationEngine` (type: `string`):

YouTube's own caption track in your language is included in the price. AI translation costs $0.005 per started 10 minutes of video.

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

Plain text is always included. Add timestamped segments, SRT or VTT.

## `includeTimestamps` (type: `boolean`):

Same as adding 'segments' to output formats.

## Actor input object example

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=HIj8wU_rGIU"
  ],
  "maxVideosPerSource": 50,
  "translationEngine": "auto",
  "outputFormats": [
    "text"
  ],
  "includeTimestamps": false
}
```

# Actor output Schema

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

One row per video: original transcript, optional translation and the amount charged.

# 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 = {
    "videos": [
        "https://www.youtube.com/watch?v=HIj8wU_rGIU"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("clearcaption/youtube-transcript-translate").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 = { "videos": ["https://www.youtube.com/watch?v=HIj8wU_rGIU"] }

# Run the Actor and wait for it to finish
run = client.actor("clearcaption/youtube-transcript-translate").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 '{
  "videos": [
    "https://www.youtube.com/watch?v=HIj8wU_rGIU"
  ]
}' |
apify call clearcaption/youtube-transcript-translate --silent --output-dataset

```

## MCP server setup

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

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/ZZ2iSmdOTsfylTJ8H/builds/ezjWnfZAxRxgQrucy/openapi.json
