YouTube Transcript & Subtitles Scraper API avatar

YouTube Transcript & Subtitles Scraper API

Pricing

from $0.01 / 1,000 results

Go to Apify Store
YouTube Transcript & Subtitles Scraper API

YouTube Transcript & Subtitles Scraper API

Scrape YouTube transcripts, subtitles, and captions in bulk - about $0.10 per 1,000 videos, the cheapest pay-per-video YouTube transcript API on Apify. Callable from any MCP client (Claude, Cursor, ChatGPT). Supports YouTube videos, Shorts, and every URL format. Failed videos are not charged.

Pricing

from $0.01 / 1,000 results

Rating

5.0

(3)

Developer

John

John

Maintained by Community

Actor stats

9

Bookmarked

81

Total users

19

Monthly active users

12 days ago

Last modified

Share

๐ŸŽฅ YouTube Transcript & Subtitles Scraper โ€” Pay-Per-Video MCP API

Scrape YouTube transcripts, subtitles, and captions in bulk at near-free pay-per-video rates. Built for MCP clients (Claude, Cursor, VS Code, ChatGPT), AI agents, content pipelines, and SEO research. Works with standard videos, YouTube Shorts, and every URL format.

๐Ÿ’ก Pricing: $0.0001 per video transcribed โ€” about $0.10 per 1,000 videos. Tiny per-run startup + per-result fees ($0.00001 each, set by Apify). No subscription, no proxy fees.


โšก What you get back

For every video, the dataset receives:

  • non_timestamped โ€” full transcript text, ready for LLMs.
  • timestamped โ€” every snippet with text, start, and duration in seconds.
  • language, language_code, is_generated, is_translatable, translation_languages.
  • total_seconds โ€” video duration.
  • video_id, url, success, timestamp.
  • On failure: structured error, error_message, error_type (no crash; the run continues).

๐ŸŽฏ Use cases

  • LLM training data โ€” bulk-collect transcripts for fine-tuning or RAG.
  • AI agents that watch YouTube โ€” let Claude or Cursor pull a transcript on demand via MCP.
  • Content repurposing โ€” turn videos into blog posts, summaries, or social clips.
  • SEO research โ€” mine transcripts for keywords, topics, and competitor analysis.
  • Podcast & video search โ€” index thousands of videos by their actual spoken content.

๐Ÿค– Use with MCP (Claude, Cursor, VS Code, ChatGPT)

This Actor is callable as a tool from any Model Context Protocol client. The Apify MCP server exposes every Actor on the store โ€” no installation, no separate package.

Step 1 โ€” Get an Apify API token

Grab a token from your Apify account โ†’ Integrations.

Step 2 โ€” Connect your MCP client

Claude Desktop / Claude Code โ€” edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com",
"headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
}
}
}

Cursor โ€” add .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com",
"headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
}
}
}

VS Code โ€” add .vscode/mcp.json:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com",
"headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
}
}
}

ChatGPT / web-only clients โ€” use the hosted Apify Tester MCP Client in the browser.

Step 3 โ€” Ask your agent

Once connected, prompt naturally:

"Use Apify to get the transcript of https://www.youtube.com/watch?v=dQw4w9WgXcQ"

"Pull YouTube transcripts for these three URLs and summarize each: โ€ฆ"

"Find the YouTube transcript scraper on Apify and run it for this Shorts URL."

Your client will discover this Actor via the search-actors tool, register it as a callable function, and feed the transcript back into the conversation.

Full reference: Apify MCP integration docs ยท MCP server source.


๐Ÿ”ง Input

ParameterTypeRequiredDescription
youtube_urlstring or array of stringsโœ…One URL or many. Works with standard videos, Shorts, youtu.be, embed, and mobile URLs.

Single video

{ "youtube_url": "https://www.youtube.com/watch?v=p8gV_7zFN44" }

Batch (processed in parallel)

{
"youtube_url": [
"https://www.youtube.com/watch?v=5kcaHAuGxmY",
"https://www.youtube.com/watch?v=p8gV_7zFN44",
"https://www.youtube.com/shorts/s4UkCaf_scs"
]
}

๐Ÿ“ค Example output

{
"url": "https://www.youtube.com/watch?v=p8gV_7zFN44",
"video_id": "p8gV_7zFN44",
"language": "English",
"language_code": "en",
"is_generated": false,
"is_translatable": true,
"translation_languages": ["es", "fr", "de"],
"total_seconds": 4782.52,
"timestamped": [
{ "text": "Hello and welcome to this video", "start": 0.08, "duration": 3.5 }
],
"non_timestamped": "Hello and welcome to this video...",
"timestamp": "2026-05-11T10:30:00",
"success": true
}

๐Ÿ’ฐ Pricing

EventPriceCharged for
videoprocessed$0.0001each video successfully transcribed (~$0.10 per 1,000 videos)
apify-actor-start$0.00001one event per GB of memory at run start (Apify-managed)
apify-default-dataset-item$0.00001per item stored in the dataset (Apify-managed)

Total cost examples (typical 1-video run = setup + 1 video + 1 dataset item):

Run sizeTotal cost
1 video~$0.00012
10 videos~$0.0011
100 videos~$0.0101
1,000 videos~$0.101
10,000 videos~$1.001

Unlike actors that charge per second of video, this one charges per video โ€” a 5-hour lecture costs the same as a 60-second Short. No subscription, no proxy fees. Failed videos and videos with no transcript are not charged.


๐Ÿš€ Quickstart

  1. Open this Actor on the Apify store.
  2. Paste a YouTube URL into youtube_url (or an array of URLs).
  3. Click Start. Results appear in the dataset within seconds.

Prefer the API? Every Actor on Apify has an API endpoint and can be called from any language, scheduled, or wired into webhooks.


โ“ FAQ

What if the video has no transcript? The Actor records an error entry in the dataset (success: false, error_message: โ€ฆ) and moves on to the next URL. You are only charged for successful transcriptions of the requested videos.

Does it work for YouTube Shorts? Yes. https://www.youtube.com/shorts/VIDEO_ID works out of the box, as do youtu.be/, /embed/, and m.youtube.com formats.

Can I call this from an AI agent? Yes โ€” that is the primary design goal. See the Use with MCP section above for Claude, Cursor, VS Code, and ChatGPT setup.

What about translation? The output includes is_translatable and a list of translation_languages available for each transcript. Translation itself is not performed by this Actor; pair it with your favorite LLM (or another Apify Actor) for translation.

Why is this so much cheaper than other YouTube transcript scrapers? This is a loss-leader: built for adoption, not margin. The actor uses YouTube's own caption tracks via a free open-source library, so the marginal cost is near zero.



Last Updated: 2026.05.11