YouTube Transcript Scraper API: Subtitles, SRT & AI Markdown
Pricing
from $1.00 / 1,000 transcripts extracted
YouTube Transcript Scraper API: Subtitles, SRT & AI Markdown
YouTube transcript scraper for manual or auto-generated captions, timestamped segments, SRT subtitles & RAG Markdown chunks from video URLs, Shorts & IDs — no YouTube API key or browser. Export JSON, CSV or SRT. $0 start, $2/1K transcripts ($0.002 each); failed videos never charged.
Pricing
from $1.00 / 1,000 transcripts extracted
Rating
0.0
(0)
Developer
Max Lee
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
an hour ago
Last modified
Categories
Features
Share
YouTube Transcript Scraper: Bulk Captions, SRT & AI Markdown
Extract clean YouTube transcripts, timestamped segments, SubRip (.srt) subtitles, and RAG-ready Markdown chunks from bulk video URLs or YouTube channel RSS feeds — no browser, proxy setup, or API key required.
- $0 Start Pay-Per-Event Pricing: $0 Actor start fee + $0.002 per extracted transcript (
$2.00 / 1,000 videos). The Apify $5/mo Free tier covers 2,500 transcripts/month. Videos with disabled captions or failed fetches are never charged. - Zero-Config First Run: Click Start with default inputs to inspect a full Dataset item in under 5 seconds at 256 MB RAM.
- 4 Output Formats per Video: Clean
fullText, timestampedsegments, ready-to-importsrt, and RAG-readymarkdownChunkswith clickable YouTube&t=timestamp links. - Bulk Videos + Channel RSS: Accepts watch URLs,
youtu.belinks, Shorts, embeds, live URLs, 11-character video IDs, and channel URLs /UC...IDs / RSS feeds (feeds/videos.xml?channel_id=...).
Common Use Cases
- LLM & RAG Knowledge Bases: Chunk long-form talks, tutorials, and interviews into
markdownChunkswith clickable timestamp citations for Pinecone, Qdrant, or pgvector. - Automated Channel Monitoring: Schedule daily or weekly runs on channel RSS feeds to summarize new uploads into Slack, Notion, or n8n workflows.
- Bulk Subtitle & SEO Repurposing: Download clean
.srtcaptions and full-text transcripts for blog posts, newsletters, clips, and multilingual localization.
Input Example
{"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"channelUrls": ["https://www.youtube.com/feeds/videos.xml?channel_id=UCuAXFkgsw1L7xaCfnd5JJOw"],"maxVideosPerChannel": 5,"language": "en","preferManualCaptions": true,"chunkMaxChars": 1500}
| Field | Type | Default | Description |
|---|---|---|---|
videoUrls | string[] | ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"] | YouTube watch/shorts/live/embed/youtu.be URLs or 11-char video IDs. |
channelUrls | string[] | [] | Channel IDs (UC...), /channel/UC..., /@handle, or feeds/videos.xml?channel_id=... URLs. |
maxVideosPerChannel | integer | 15 | Latest videos per channel RSS feed (1–15). |
language | string | "en" | Preferred BCP-47 caption language code (en, es, de, ja, etc.). Falls back cleanly if unavailable. |
preferManualCaptions | boolean | true | Prefer human-written captions over auto-generated ASR when both exist. |
chunkMaxChars | integer | 1500 | Target max character size per chunk in markdownChunks for RAG / LLM pipelines. |
concurrency | integer | 5 | Concurrent pure-HTTP video workers (1–15). |
requestTimeoutMs | integer | 15000 | Per-request HTTP timeout in milliseconds. |
Output Example (Dataset Item)
{"videoId": "dQw4w9WgXcQ","url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ","title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)","channel": "Rick Astley","language": "en","isAutoGenerated": false,"durationSec": 213,"fullText": "[♪♪♪] ♪ We're no strangers to love ♪ ...","segments": [{ "startSec": 1.36, "durationSec": 1.68, "endSec": 3.04, "text": "[♪♪♪]" },{ "startSec": 18.64, "durationSec": 3.24, "endSec": 21.88, "text": "♪ We're no strangers to love ♪" }],"srt": "1\n00:00:01,360 --> 00:00:03,040\n[♪♪♪]\n\n2\n00:00:18,640 --> 00:00:21,880\n♪ We're no strangers to love ♪\n","markdownChunks": [{"index": 0,"startSec": 1.36,"endSec": 211.0,"timestampUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ&t=1s","wordCount": 360,"markdown": "### [00:01](https://www.youtube.com/watch?v=dQw4w9WgXcQ&t=1s)\n\n[♪♪♪] ♪ We're no strangers to love ♪ ..."}],"wordCount": 360}
A compact run rollup (counts, skipped videos, duration, billing events) is also saved to the default Key-Value Store under OUTPUT.
How It Works
- Resolves video IDs from direct URLs, bare IDs, and YouTube channel Atom RSS feeds (
feeds/videos.xml). - Fetches caption track metadata via YouTube Innertube player API with automatic watch-page HTML fallback.
- Selects the best matching track (preferred language + manual captions over ASR, with automatic fallback).
- Downloads structured
json3captions with automatic timedtext XML fallback, normalizes entities/whitespace, and emitsfullText,segments,srt, andmarkdownChunks.