YouTube Transcript & Subtitles Scraper — Fast AI/RAG Ready avatar

YouTube Transcript & Subtitles Scraper — Fast AI/RAG Ready

Pricing

from $1.80 / 1,000 transcript extracteds

Go to Apify Store
YouTube Transcript & Subtitles Scraper — Fast AI/RAG Ready

YouTube Transcript & Subtitles Scraper — Fast AI/RAG Ready

Fast no-browser YouTube transcript and subtitles extractor. Get clean full text, timestamped segments, SRT/VTT captions, auto-translation, and video metadata from video URLs, playlists, channels, or search queries.

Pricing

from $1.80 / 1,000 transcript extracteds

Rating

0.0

(0)

Developer

Leopold saint

Leopold saint

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 hours ago

Last modified

Features

Limited permissions

Share

What does YouTube Transcript & Subtitles Scraper do?

YouTube Transcript & Subtitles Scraper extracts clean plain-text transcripts, timestamped caption segments, optional SRT / WebVTT files, and complete video metadata from YouTube without launching a slow browser. Pass individual video URLs/IDs, entire playlists, channel URLs / @handles, or search queries and get LLM-, RAG-, and analytics-ready JSON in seconds.

Running on the Apify platform gives you REST API access, scheduled runs, webhooks, MCP server compatibility for AI agents, automatic proxy fallback, and one-click JSON/CSV/Excel exports.

Why use YouTube Transcript & Subtitles Scraper?

  • AI, RAG & LLM knowledge bases: Ingest entire YouTube channels, podcasts, tutorials, and courses into vector databases or agent pipelines with clean text and exact timestamps.
  • Content repurposing & SEO: Turn long-form videos into blog articles, newsletters, show notes, social threads, or localized subtitles (translateTo).
  • Market & competitor research: Search YouTube topics at scale and analyze what creators, reviewers, and buyers actually say inside videos.
  • Zero-waste flat pricing: Videos without captions are automatically skipped (when skipUnavailable: true) so you only pay for real transcripts delivered.

How to use YouTube Transcript & Subtitles Scraper

  1. Open the Input tab and paste one or more YouTube video URLs, 11-character video IDs, playlist URLs, or channel URLs / @handles into Video, Playlist, or Channel URLs / IDs (or enter topics in Search Queries).
  2. Choose your Preferred Languages (e.g., ["en"]) and optionally set Translate Captions To (e.g., "es", "de").
  3. Toggle Include Timestamped Segments, Include SRT, or Include WebVTT based on your downstream workflow.
  4. Click Start and download your dataset in JSON, CSV, Excel, or pull it via the Apify API / MCP.

Input

Configure the run in the Input tab or pass JSON via API:

{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
],
"languages": ["en"],
"preferManualCaptions": true,
"includeSegments": true,
"includeSrt": false,
"maxTotalVideos": 25,
"skipUnavailable": true
}
  • videoUrls: Direct video URLs, 11-character IDs, Shorts URLs, playlist URLs, or channel @handles/URLs.
  • searchQueries: Optional YouTube search queries expanded automatically up to maxVideosPerSource each.
  • languages: Ordered ISO language preferences; automatically prefers human-written captions over auto-generated ASR when preferManualCaptions is enabled.
  • translateTo: Optional ISO language code for on-the-fly YouTube caption translation.

Output

Each dataset item represents one video transcript with metadata. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

{
"videoId": "jNQXAC9IVRw",
"videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"title": "Me at the zoo",
"channelName": "jawed",
"channelId": "UC4QobU6STFB0P71PMvOGN5A",
"durationSeconds": 19,
"viewCount": 370000000,
"languageCode": "en",
"languageName": "English",
"isAutoGenerated": false,
"hasTranscript": true,
"wordCount": 38,
"estimatedReadingMinutes": 0.2,
"segmentCount": 6,
"transcriptText": "All right, so here we are in front of the elephants...",
"segments": [
{
"startMs": 1200,
"durationMs": 2900,
"startSeconds": 1.2,
"startTimestamp": "00:01",
"text": "All right, so here we are in front of the elephants"
}
]
}

Data table

FieldTypeDescription
videoIdstring11-character YouTube video ID
videoUrlstringCanonical watch URL
titlestringVideo title
channelNamestringCreator channel name
durationSecondsnumberVideo duration in seconds
viewCountnumberView count at scrape time
languageCodestringExtracted caption language code
isAutoGeneratedbooleantrue for YouTube ASR auto-captions, false for manual
transcriptTextstringFull clean joined transcript text
wordCountnumberWord count of the extracted transcript
segmentsarrayTimestamped caption lines (startMs, durationMs, startTimestamp, text)
srt / vttstringOptional .srt and .vtt subtitle strings
availableLanguagesarrayAll caption tracks exposed by the video

How much does it cost to scrape YouTube transcripts?

This Actor uses transparent Pay-Per-Event (PPE) pricing with platform usage included (no hidden compute surcharges or stacked per-feature fees):

Apify Plan TierPrice per 1,000 transcriptsActor start
Free$3.00$0.00005
Bronze$2.60$0.00005
Silver$2.20$0.00005
Gold+$1.80$0.00005

Extracting 100 video transcripts costs $0.30 on the Free tier (or $0.18 on Gold+). On Apify's $5 monthly Free tier credit, you can extract over 1,600 transcripts per month.

API, n8n, Make & AI Agent (MCP) integration

JavaScript / TypeScript (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('leopoldsaint/youtube-transcript-scraper').call({
videoUrls: ['https://www.youtube.com/watch?v=jNQXAC9IVRw'],
languages: ['en'],
includeSegments: true,
includeSrt: true,
maxTotalVideos: 10,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]?.transcriptText);

Python (apify-client for RAG / LangChain)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("leopoldsaint/youtube-transcript-scraper").call(run_input={
"videoUrls": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"],
"languages": ["en"],
"includeSegments": False,
"maxTotalVideos": 10,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["title"], item["wordCount"], item["transcriptText"][:200])

n8n, Make & Zapier (1-request HTTP API)

POST https://api.apify.com/v2/acts/leopoldsaint~youtube-transcript-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN
Content-Type: application/json

AI Agents & MCP Server (Claude, Cursor, OpenAI)

Add leopoldsaint/youtube-transcript-scraper via Apify's hosted MCP server (https://mcp.apify.com) to let Claude, Cursor, or custom AI agents summarize videos, playlists, or entire channels automatically.

Tips and advanced options

FAQ, disclaimers, and support

  • Does this require YouTube API keys or login cookies? No. It uses public caption endpoints with automatic fallback and Apify Proxy support when needed.
  • Legality & compliance: Only scrape publicly accessible YouTube data and comply with applicable laws, copyright, and platform terms of service.
  • Need help or a custom feature? Open an issue on the Issues tab and we will respond promptly.