# YouTube Transcript Scraper — Text and Timestamps \[$0.99/1K] (`zinin/youtube-transcript-scraper`) Actor

Get YouTube video transcripts by URL or video ID: full text, timestamped segments, language, auto-caption flag, title and channel. $0.99 per 1,000 transcripts, no start fee.

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

## Pricing

from $0.69 / 1,000 result delivereds

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

## YouTube Transcript Scraper — full text and timestamps

**$0.99 per 1,000 transcripts, no start fee.** Paste YouTube video URLs or IDs and get each transcript as clean full text plus timestamped segments, with language, auto-caption flag, video title and channel. Videos without captions come back as free status rows.

The prefilled run fetches one public video and returns its English transcript in a few seconds.

Published Store prices of the first seven Actors for "youtube transcript", read on 20 November 2026 (Free plan, per 1,000 transcripts). The table compares listed prices and user counts; it is not an accuracy test of other Actors.

| Actor | Users in 30 days | Result price | Start price |
|---|---:|---:|---:|
| Youtube Transcript Scraper (pintostudio) | 2,752 | $10.00/1K | none listed |
| YouTube Transcript & Subtitles Scraper API (johnvc) | 7,354 | $2.76/1K + metadata event | $0.00001 |
| YouTube Video Transcript (starvibe) | 3,251 | $5.00/1K | none listed |
| Youtube Transcript Scraper (supreme_coder) | 1,910 | $1.00/1K | $0.00005 |
| Youtube Transcript Scraper (topaz_sharingan) | 136 | $5.00/1K | $0.01 |
| YouTube Transcript Scraper Pro (codepoetry) | 693 | $1.00/1K | $0.0025 |
| Youtube Transcripts (karamelo) | 859 | $7.00/1K | none listed |
| **This Actor** | new | **$0.99/1K** | **none** |

### What you get

One row per video with a transcript:

- `text` — the whole transcript as one clean string, ready for an LLM prompt, summary or search index;
- `segments` — every caption line with `start` and `duration` in seconds, for quotes, chapters and subtitles;
- `language`, `languageName`, `isAutoGenerated` — which caption track was used and whether YouTube generated it automatically;
- `availableLanguages` — every caption language the video offers;
- `title`, `channel`, `channelId`, `durationSeconds`, `videoId`, `videoUrl`;
- `wordCount`, `segmentCount`, `requestedLanguage`, `languageMatch`, `source`, `retrievedAt`.

Use it to feed videos into RAG and summarisation pipelines, turn talks and podcasts into articles, research what creators say about a topic, or build subtitle datasets.

Creator-written captions are preferred over auto-generated ones in the same language. If the preferred language is missing, the Actor returns captions in the language spoken in the video when YouTube marks it, otherwise the first available track (`languageMatch: "fallback"`), or a free status row when you turn the fallback off.

This Actor reads the captions that YouTube already shows to every viewer. It is **not** speech-to-text: a video with no captions returns a free `NO_CAPTIONS` row. It does not download video or audio, does not log in, and does not return private, members-only or age-restricted videos. It does not translate captions.

This Actor is an independent tool and is not affiliated with YouTube or Google.

### Input

The one-click prefill uses:

```json
{
  "videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
  "language": "en",
  "anyLanguageFallback": true,
  "includeSegments": true
}
```

| Field | What it does |
|---|---|
| `videos` | 1 to 200 video URLs or 11-character IDs. Watch, `youtu.be`, Shorts, embed and live links work. Duplicates are processed once. |
| `language` | Preferred language code: `en`, `es`, `de`, `fr`, `ja`, `pt-BR`… Default `en`. |
| `anyLanguageFallback` | On (default): return the spoken-language transcript when the preferred language is missing. Off: return a free status row with the available languages. |
| `includeSegments` | On (default): include timestamped segments. Off: full text and metadata only. |
| `maxItems` | Optional cap on paid transcripts in one run. |

### Output

```json
{
  "found": true,
  "videoId": "dQw4w9WgXcQ",
  "videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
  "channel": "Rick Astley",
  "channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
  "durationSeconds": 213,
  "language": "en",
  "languageName": "English",
  "isAutoGenerated": false,
  "requestedLanguage": "en",
  "languageMatch": "exact",
  "availableLanguages": ["en", "en (auto)", "de-DE", "ja", "pt-BR", "es-419"],
  "text": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ …",
  "wordCount": 487,
  "segmentCount": 61,
  "source": "YouTube public caption tracks",
  "retrievedAt": "2026-11-20T13:10:00.000Z",
  "segments": [
    { "start": 1.36, "duration": 1.68, "text": "[♪♪♪]" },
    { "start": 18.64, "duration": 3.24, "text": "♪ We're no strangers to love ♪" }
  ]
}
```

Free status rows have `found: false` and a `status`:

| `status` | Meaning |
|---|---|
| `NO_CAPTIONS` | The video is public but has no caption track. |
| `LANGUAGE_NOT_AVAILABLE` | No captions in the preferred language and the fallback is off; see `availableLanguages`. |
| `VIDEO_UNAVAILABLE` | Private, deleted, age-restricted or otherwise not playable without signing in. |
| `INVALID_INPUT` | An entry in a mixed list is not a YouTube video URL or ID. A list with no valid entry fails the run. |
| `SOURCE_REFUSED` | YouTube refused every attempt for this video in this run. Retry later. |

### Price and limits

The only paid event is `result-found`: $0.00099 per delivered transcript on the Free plan ($0.99 per 1,000). There is no start charge and no paid default-dataset event. Status rows are free. Subscription tiers: Bronze $0.891/1K, Silver $0.792/1K, Gold, Platinum and Diamond $0.693/1K. 1,000 transcripts cost $0.99 in result charges; 100,000 cost $99.

One run accepts up to 200 videos and processes up to four at a time. For larger jobs, split the list into several runs. If YouTube refuses every video the run tried, the run fails and nothing is charged.

### For AI agents and workflow tools

The Actor uses limited permissions and declares input, dataset and output schemas. An MCP client can connect to `https://mcp.apify.com` and select `zinin/youtube-transcript-scraper`; pass one video and set `includeSegments` to `false` when the agent only needs the text.

```json
{
  "mcpServers": {
    "apify": { "url": "https://mcp.apify.com?tools=zinin/youtube-transcript-scraper" }
  }
}
```

In n8n, Make or Zapier, run the Actor, wait for completion, then fetch default-dataset items. Use `videoId` as the stable deduplication key; route `found: false` rows by `status`. [Apify's MCP guide](https://docs.apify.com/mcp) and [integration guides](https://docs.apify.com/integrations) show the client setup.

### You might also like

- [YouTube Playlist Scraper](https://apify.com/zinin/youtube-playlist-scraper) — list the videos of any public playlist, then pass them here.
- [YouTube Channel Videos List](https://apify.com/zinin/youtube-channel-videos-list) — every video of a channel as input for transcripts.
- [YouTube Channel Scraper](https://apify.com/zinin/youtube-channel-intel) — subscribers, links and contact details of a channel.
- [YouTube Similar Channels Finder](https://apify.com/zinin/youtube-channel-lookalike-finder) — find lookalike creators.

### What's new — 20 November 2026

First version: transcripts by video URL or ID, full text and timestamped segments, language preference with fallback, free status rows, result-only billing.

### Run time limit

When the run's time limit is close, the Actor stops by itself shortly before it and finishes normally: everything delivered stays, and the status message says how many transcripts were delivered. Raise the run timeout for a big job, or resurrect the run — it continues from that point without charging the delivered transcripts again.

# Changelog

This Actor's version history is a separate document: https://apify.com/zinin/youtube-transcript-scraper/changelog.md

# Actor input Schema

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

1 to 200 YouTube video URLs or 11-character video IDs. Watch, youtu.be, Shorts, embed and live links are accepted. Duplicates are processed once.

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

Language code such as en, es, de, fr, ja or pt-BR. Creator-written captions are preferred over auto-generated ones in the same language.

## `anyLanguageFallback` (type: `boolean`):

When on, a video without captions in the preferred language returns captions in its spoken language when YouTube marks it, otherwise the first available track. When off, it returns a free status row listing the available languages.

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

Adds the segments array (start, duration, text) to each row. Turn off to get only the full text and metadata.

## `maxItems` (type: `integer`):

Stop after this many delivered transcripts. Leave empty to process the whole list. Status rows for videos without captions are free and do not count.

## Actor input object example

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "language": "en",
  "anyLanguageFallback": true,
  "includeSegments": true
}
```

# Actor output Schema

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

API URL of the run's default dataset items.

# 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=dQw4w9WgXcQ"
    ],
    "language": "en",
    "anyLanguageFallback": true,
    "includeSegments": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("zinin/youtube-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 = {
    "videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
    "language": "en",
    "anyLanguageFallback": True,
    "includeSegments": True,
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zinin/youtube-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/R6lnVamZm4xBtzLKj/builds/itA24get1pe3Oaz7w/openapi.json
