YouTube Transcript & Subtitles Scraper — Fast AI/RAG Ready
Pricing
from $1.80 / 1,000 transcript extracteds
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
17 hours ago
Last modified
Categories
Features
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
- Open the Input tab and paste one or more YouTube video URLs, 11-character video IDs, playlist URLs, or channel URLs /
@handlesinto Video, Playlist, or Channel URLs / IDs (or enter topics in Search Queries). - Choose your Preferred Languages (e.g.,
["en"]) and optionally set Translate Captions To (e.g.,"es","de"). - Toggle Include Timestamped Segments, Include SRT, or Include WebVTT based on your downstream workflow.
- 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 tomaxVideosPerSourceeach.languages: Ordered ISO language preferences; automatically prefers human-written captions over auto-generated ASR whenpreferManualCaptionsis 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
| Field | Type | Description |
|---|---|---|
videoId | string | 11-character YouTube video ID |
videoUrl | string | Canonical watch URL |
title | string | Video title |
channelName | string | Creator channel name |
durationSeconds | number | Video duration in seconds |
viewCount | number | View count at scrape time |
languageCode | string | Extracted caption language code |
isAutoGenerated | boolean | true for YouTube ASR auto-captions, false for manual |
transcriptText | string | Full clean joined transcript text |
wordCount | number | Word count of the extracted transcript |
segments | array | Timestamped caption lines (startMs, durationMs, startTimestamp, text) |
srt / vtt | string | Optional .srt and .vtt subtitle strings |
availableLanguages | array | All 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 Tier | Price per 1,000 transcripts | Actor 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 ApifyClientclient = 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_TOKENContent-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
- Keep
skipUnavailable: truewhen scraping playlists or search results so captionless videos are never charged. - Disable
includeSegmentswhen you only needtranscriptTextfor RAG embeddings to keep dataset JSON compact. - Pair this Actor with our YouTube Video & Channel Scraper, YouTube Comments & Replies Scraper, and YouTube Channel Email Scraper for complete creator and content intelligence.
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.