# YouTube & Shorts Transcript Extractor (Multilingual + MCP) (`furry_mead/youtube-transcript-extractor`) Actor

Extract clean full-text transcripts, millisecond timestamps, language tracks (manual vs auto-generated), and video metadata from YouTube & Shorts URLs in <15KB per video. Zero charge on captionless/private videos + Standby MCP Server.

- **URL**: https://apify.com/furry_mead/youtube-transcript-extractor.md
- **Developed by:** [rj q](https://apify.com/furry_mead) (community)
- **Categories:** Videos, AI, Social media
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.75 / 1,000 videos transcribed

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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 & Shorts Transcript Extractor (Pay-Per-Event + MCP Server)

Extract **clean, LLM/RAG-ready full transcripts**, **millisecond-accurate timestamps**, **language tracks (human vs. auto-generated)**, and **video metadata** from batches of YouTube videos and YouTube Shorts in milliseconds — consuming **under 15 KB of bandwidth per video** without ever downloading video streams!

***

### 1. What Goes In (Input)

Click **Start** right away using the pre-filled YouTube URLs, or paste hundreds of links/IDs:

| Input Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `videoUrls` | `string[]` | `["https://www.youtube.com/watch?v=jNQXAC9IVRw", ...]` | Watch URLs, `/shorts/` links, `youtu.be` links, or 11-char video IDs |
| `preferredLanguage` | `string` | `"en"` | Preferred language (`en`, `es`, `zh-Hans`, `ja`, `de`, `fr`, `auto`); prioritizes manual subtitles over ASR |
| `fallbackToAnyLanguage` | `boolean` | `true` | Automatically fall back to primary track if `preferredLanguage` is absent |
| `translateToLanguage` | `string` | *(optional)* | Auto-translate translatable subtitle tracks into target ISO code |
| `includeSegments` | `boolean` | `true` | Include millisecond-level `segments` array alongside merged `fullText` |

***

### 2. Sample JSON Output

```json
{
  "inputUrlOrId": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "videoId": "jNQXAC9IVRw",
  "videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "isShortsInput": false,
  "title": "Me at the zoo",
  "channelName": "jawed",
  "channelId": "UC4QobU6STFB0P71PMvOGN5A",
  "durationSeconds": 19,
  "viewCount": 356000000,
  "languageCode": "en",
  "languageName": "English",
  "isAutoGenerated": false,
  "availableLanguages": [
    {
      "languageCode": "en",
      "languageName": "English",
      "isAutoGenerated": false,
      "isTranslatable": true
    }
  ],
  "segmentCount": 5,
  "wordCount": 42,
  "charCount": 215,
  "fullText": "All right, so here we are in front of the elephants. The cool thing about these guys is that they have really, really, really long trunks...",
  "segments": [
    {
      "startMs": 1200,
      "durationMs": 3100,
      "endMs": 4300,
      "timestamp": "00:01",
      "text": "All right, so here we are in front of the elephants."
    }
  ],
  "bytesFetchedForVideo": 6840,
  "scrapedAt": "2026-12-01T09:10:00.000Z"
}
```

***

### 3. Transparent Pay-Per-Event Pricing (Zero Charge on Private / Captionless Videos!)

Apify charges a separate `apify-actor-start` event at $0.00005 per GB of allocated memory (minimum one event per start). Result-event prices are listed separately.

Protected by `BillingGuard` — if a video is private, deleted, or has captions disabled, no transcript event is charged:

| Event Name | FREE Tier | BRONZE | SILVER | GOLD | Trigger Condition |
| :--- | :--- | :--- | :--- | :--- | :--- |
| `video-transcribed` | **$2.50 / 1,000** | **$2.25 / 1,000** | **$2.00 / 1,000** | **$1.75 / 1,000** | Only when a non-empty transcript is verified and returned |

***

### 4. Connect Directly to Claude / Cursor / n8n (Standby MCP Server)

Let your AI assistant read full spoken transcripts of any YouTube video or Short in <1 second via `/mcp`:

```json
{
  "mcpServers": {
    "youtube-transcript": {
      "type": "streamable-http",
      "url": "https://<YOUR-APIFY-USERNAME>--youtube-transcript-extractor.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}
```

- **Exposed MCP Tool**: `extract_youtube_transcript`
  - Example prompt in Claude/Cursor: *"Call `extract_youtube_transcript` on `https://www.youtube.com/watch?v=jNQXAC9IVRw` and summarize the key points."*

***

### 5. FAQ

- **Am I billed if a YouTube video has no subtitles or is private?**
  No transcript event is charged. `BillingGuard` blocks `video-transcribed` charges unless `fullText` and `segments` are verified non-empty.
- **Does this work on YouTube Shorts (`youtube.com/shorts/...`)?**
  **Yes!** Shorts links, `youtu.be` links, `/live/` streams with captions, and raw 11-character IDs are all supported natively.
- **Why is it so fast compared to browser-based scrapers?**
  It queries YouTube's lightweight Innertube caption track API with field-masked metadata (~7–15 KB total per video vs. 50+ MB browser page loads).

# Actor input Schema

## `videoUrls` (type: `array`):

Batch of YouTube watch links, Shorts links, youtu.be links, or 11-character video IDs. Pre-filled so clicking Start works immediately!

## `preferredLanguage` (type: `string`):

ISO language code (e.g., en, es, zh-Hans, ja, de, fr) or auto. Human subtitles are prioritized over auto-generated ASR.

## `fallbackToAnyLanguage` (type: `boolean`):

If preferredLanguage is not available, fall back to the video's primary available subtitle language.

## `translateToLanguage` (type: `string`):

Optional target language code (e.g., zh-Hans, en, es) to translate translatable subtitle tracks into.

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

Return detailed millisecond-level segments array in addition to clean merged fullText (disable to shrink LLM context payloads).

## `maxTotalChargeUsd` (type: `number`):

Optional hard spend cap in USD. Execution stops cleanly once reached.

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

Pure HTTP (<15KB/video) works with direct or low-cost datacenter proxies — no video stream is ever downloaded.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "preferredLanguage": "en",
  "fallbackToAnyLanguage": true,
  "includeSegments": true
}
```

# Actor output Schema

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

No description

## `overview` (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 = {
    "videoUrls": [
        "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    ],
    "preferredLanguage": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("furry_mead/youtube-transcript-extractor").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 = {
    "videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
    "preferredLanguage": "en",
}

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

```

## MCP server setup

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

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/qsCf5gjieNEklQD1l/builds/ScUHc79ipipUxV9iU/openapi.json
