YouTube Transcript Scraper with AI Fallback
Pricing
from $0.55 / 1,000 transcripts
YouTube Transcript Scraper with AI Fallback
Get YouTube transcripts for any video, Short, playlist or channel. Official captions first, automatic Whisper AI fallback when a video has none. Full videos up to 3 h, 99 languages, SRT or plain text, MCP-ready for AI agents, cached discounts, and free error rows for failed videos.
Pricing
from $0.55 / 1,000 transcripts
Rating
0.0
(0)
Developer
Denis Barzakovsky
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
3
Monthly active users
9 days ago
Last modified
Categories
Features
Share
📝 YouTube Transcript Scraper with AI Fallback
Get a timestamped transcript for any YouTube video — including videos with no captions at all.
TubeScribe is a YouTube transcript API with no YouTube API key, no proxy and no OpenAI key. Paste video, Shorts, playlist or channel URLs: you get the official captions when they exist, and an automatic Whisper AI transcript when they don't. You pay only for transcripts that were actually delivered.
- ✅ Captions first, AI only when needed — one actor, one run, no second tool for caption-less videos.
- ⏱️ Whole videos up to 3 hours, 99 languages, language detected per 10-minute chunk.
- 💸 Fair billing — failed, private and silent videos are free error rows; cached transcripts are cheaper; restarts never double-charge.
- 🤖 Built for LLMs — timestamped segments, plain text or SRT, callable from Claude, Cursor and ChatGPT via MCP.
What does YouTube Transcript Scraper do?
For every YouTube URL you give it, TubeScribe:
- Expands playlists and channels into their videos (up to 1,000 per run) and de-duplicates them.
- Picks the tracks you asked for: the default track, specific languages, or every caption language.
- Fetches official captions (manual or auto-generated) with YouTube's own timestamps.
- Falls back to AI speech-to-text when a video has no captions. Turn it off with
aiFallback: falseand such videos become free error rows. - Pushes one dataset row per video and track — a transcript, or a non-charged error with the reason.
Export as JSON, CSV, Excel, XML or HTML, or read it through the API, webhooks, Make, Zapier or n8n.
What data can you extract from YouTube?
| Transcript | Video | Run details |
|---|---|---|
📝 Full text (text) | 📺 Title | 🧠 Source: captions or AI |
| ⏱️ Timestamped segments | 👤 Channel | ♻️ Served from cache |
| 🎞️ SRT subtitle file | ⌛ Duration | ✂️ Truncated by budget |
| 🌐 Language | 🔗 URL and video ID | ⚠️ Error code and reason |
| 🗂️ All caption tracks |
Can I get transcripts of YouTube Shorts, playlists and whole channels?
Yes. Paste any video, Shorts, playlist or channel URL — TubeScribe expands playlists and channels into videos and transcribes each one, with or without captions.
How does YouTube Transcript Scraper work?
It does what you'd do by hand, at scale: open the video, check which captions exist, copy them with timestamps — and if there are none, listen to the audio and type it out.
- Reads the video page and its list of caption tracks
- Downloads the captions you asked for, with YouTube's timestamps
- If there are no captions, downloads the audio and transcribes it with Whisper large-v3-turbo, 10 minutes at a time
- Cleans out Whisper's typical "hallucinations" over silence and music
- Saves one row per video and language, ready to export
Why use TubeScribe?
| Feature | Typical transcript scraper | TubeScribe |
|---|---|---|
| Video without captions | Error item, or AI behind an opt-in switch | Automatic AI fallback, and aiFallback: false to switch it off and pay nothing |
| Long videos on AI | Often capped (for example 30–120 min, or per-run minute limits) | Full video up to 3 hours, cached whole |
| Mixed-language video | One forced language | Language detected per 10-minute chunk |
| Every caption language of a video | One language per run | tracks: ["all"]: one item per language |
| Silence on AI | Whisper "hallucinations" ("Thank you.", loops) | Hallucination filter; no-speech videos are free |
| Repeat requests | Full price every time | Cached transcripts at a discount |
| AI price | Often $0.01+ per minute | From $0.0045 per minute |
| Cost control | Run timeout only | budgetSeconds per video plus the run's maximum cost |
| Run restarted by the platform | May push or charge again | Each item delivered and charged once |
What can you do with YouTube transcripts?
🤖 Feed LLMs, RAG and AI agents
Turn channels, courses and podcasts into timestamped text for embeddings, summaries and Q&A. Segments carry start/end seconds, so answers can cite the exact moment.
Recommended approach:
- Use a channel or playlist URL with
maxItems,outputFormats: ["text"] - Use the 📄 Plain text view, or the segments for chunking with timestamps
- Pipe into LangChain, LlamaIndex or your vector DB
✍️ Repurpose videos into content and SEO
Turn videos into blog posts, newsletters, threads and show notes, or mine what competitors say.
Recommended approach: one-off runs on selected videos; export the 📄 Plain text view to Docs or Sheets.
📊 Research and monitoring
Build multilingual corpora from interviews, lectures and news, or track what a channel says over time.
Recommended approach:
- Schedule a daily or weekly run on a channel; repeat videos come from cache at a lower price
- Connect a webhook to Slack, Sheets or a database
- Each run is a timestamped dataset — your own transcript history
♿ Accessibility and localization
Get transcripts for videos that never had captions, or every existing caption language in one run (tracks: ["all"]), and download them as 🎞️ SRT.
How to scrape YouTube transcripts
- Create a free Apify account — the Free plan includes monthly platform credit.
- Open YouTube Transcript Scraper and click Try for free.
- Paste one or more video, Shorts, playlist or channel URLs into Start URLs.
- Keep Mode: Official captions (AI fallback included) or pick Transcribe with AI.
- Click Start and download your transcripts as JSON, CSV, Excel or SRT text.
⬇️ Input example
Fill the form in Apify Console or paste JSON. Full details are on the Input tab.
The form has three sections:
- 🎬 Videos — Start URLs, Maximum items
- 🗣️ Transcript — Mode, Language, Tracks, AI fallback
- 📤 Output and cost — Output formats, Budget seconds, Force refresh, Concurrency
How to get transcripts for single videos and Shorts
{ "startUrls": [{ "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw" }, { "url": "https://youtu.be/dQw4w9WgXcQ" }] }
Supported URLs: youtube.com/watch?v=…, youtu.be/…, youtube.com/shorts/…, m.youtube.com/….
How to transcribe a whole channel or playlist
{ "startUrls": [{ "url": "https://www.youtube.com/@TED" }], "maxItems": 200, "concurrency": 8 }
Channels are read from the Videos tab, newest first. maxItems caps the run.
How to transcribe YouTube videos without captions (AI)
{ "startUrls": [{ "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw" }], "mode": "ai" }
Captions mode already falls back to AI automatically; mode: "ai" forces AI even when captions exist (useful for poor auto-captions).
How to get subtitles in a specific language, or every language
{ "startUrls": [{ "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw" }], "tracks": ["en", "de", "es"] }
tracks: ["all"] returns one row per caption language. language: "de" asks for German.
How to get plain text or SRT files
{ "startUrls": [{ "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw" }], "outputFormats": ["text", "srt"] }
Free: both are rendered from the segments you already pay for.
How to preview long videos cheaply
{ "startUrls": [{ "url": "https://www.youtube.com/@handle" }], "mode": "ai", "maxItems": 20, "budgetSeconds": 300 }
All input fields
| Field | Type | Default | What it does |
|---|---|---|---|
startUrls | array of { "url": … }, required | [{"url":"https://youtu.be/jNQXAC9IVRw"}] | 1–1,000 YouTube video, Shorts, playlist or channel URLs (youtube.com, m.youtube.com, youtu.be). Duplicates are removed. |
maxItems | integer, 1–1,000 | 100 | The most dataset items (video × track) this run produces. It also caps how many videos are read from each playlist or channel. |
mode | "captions" or "ai" | "captions" | captions uses the official track and falls back to AI when a video has no captions. ai always transcribes the audio. Billing follows the source that actually answered. |
language | string (BCP 47, for example en, de, pt-BR) | not set | The language you want. Not set: the video's default track for captions, and auto-detection for AI. When set, the AI is told to transcribe in that language, so set it only to a language that is actually spoken in the video. |
tracks | array of strings | ["original"] | original gives one item per video in its default language. all gives one item per caption language the video offers. Language codes (for example ["en","es","de"]) give one item per code. You can list up to 100 entries, and each one becomes its own item and charge. |
concurrency | integer, 1–16 | 4 | How many videos are processed in parallel. |
budgetSeconds | integer, 1–3,600 | not set | Media seconds to transcribe per item. The transcript is cut at that point (truncated: true, truncatedReason: "budget"), and AI minutes are billed only for what was delivered. |
forceRefresh | boolean | false | Ignore cached transcripts and read the video again. Billed at the full (not cached) price. |
aiFallback | boolean | true | Only for mode: "captions". On: a video without captions is transcribed with AI and billed as AI minutes. Off: such a video ends as an error item (unsupported_format, or bad_request for a language the video has no track in) and costs nothing. mode: "ai" ignores it. |
outputFormats | array of "text" and "srt", no repeats, up to 2 | [] | Derived readings to add to every transcript item: text is the transcript as one plain-text string, srt is it as a SubRip subtitle file. Both render the snapshot.segments the item already carries, so they cost nothing. |
⬆️ Output example
Results land in the Output tab as a table or JSON, while the run is still going. Pick the view that fits your job:
- 📝 Transcripts (default) — one row per video and language: title, channel, language, source, duration, cache
- 📄 Plain text — URL, language and the full
text; best for LLMs and docs - 🎞️ SRT subtitles — URL, language and the
srtfile - ⚠️ Errors — failed videos with
error.codeand reason (never charged) - All fields — every field, including timestamped segments and tracks (export the whole dataset)
Before exporting you can pick or omit fields and download JSON, CSV, Excel, XML or HTML.
JSON view
{"status": "ok","itemId": "ts_1926c30bdee3cbf4","at": "2026-10-31T10:36:31.715807Z","source": "captions","fromCache": true,"snapshot": {"itemId": "ts_32ca514afa1fb227","videoId": "jNQXAC9IVRw","url": "https://www.youtube.com/watch?v=jNQXAC9IVRw","title": "Me at the zoo","channel": "jawed","durationSeconds": 19,"language": "en","tracks": [{ "kind": "captions", "language": "de", "autoGenerated": false, "preferred": false },{ "kind": "captions", "language": "de", "autoGenerated": true, "preferred": false },{ "kind": "captions", "language": "en", "autoGenerated": false, "preferred": true },{ "kind": "captions", "language": "en", "autoGenerated": true, "preferred": true }],"segments": [{ "index": 0, "start": 1.2, "end": 3.36, "text": "All right, so here we are, in front of the\nelephants" },{ "index": 1, "start": 5.318, "end": 7.974, "text": "the cool thing about these guys is that they\nhave really..." },{ "index": 2, "start": 7.974, "end": 12.616, "text": "really really long trunks" },{ "index": 3, "start": 12.616, "end": 14.367, "text": "and that's cool" },{ "index": 4, "start": 14.421, "end": 15.733, "text": "(baaaaaaaaaaahhh!!)" },{ "index": 5, "start": 16.881, "end": 18.881, "text": "and that's pretty much all there is to\nsay" }],"segmentCount": 6,"truncated": false,"complete": true,"hasMore": false,"createdAt": "2026-10-31T09:03:56.081780Z"},"truncated": false}
A failure entry is not a transcript charge: it says which work item failed and why.
{"status": "error","videoId": "jNQXAC9IVRw","url": "https://www.youtube.com/watch?v=jNQXAC9IVRw","track": "original","language": "en","error": {"code": "private_video","message": "the video is private"}}
Transcript item fields
| Field | Type | Description |
|---|---|---|
status | string | ok for a delivered transcript entry. |
itemId | string | ID of this delivery (ts_…). |
at | date-time | When the transcript was delivered. |
source | string | Where the transcript came from: captions (YouTube's own captions) or ai (TubeScribe transcribed the audio). Billing follows this. |
fromCache | boolean | true when the transcript was served from the TubeScribe cache and billed at the cached price. |
snapshot.videoId | string | 11-character YouTube video ID. |
snapshot.url | string | Canonical watch URL. |
snapshot.title | string | Video title. |
snapshot.channel | string | Channel name. |
snapshot.durationSeconds | integer | Video length in seconds. |
snapshot.language | string | Language of the transcript. |
snapshot.tracks[] | array | Tracks the video offers: kind (captions or audio), language, autoGenerated, preferred, label. |
snapshot.segments[] | array | The transcript: index, start and end (seconds), text, and confidence (0–1) when available. |
snapshot.segmentCount | integer | How many segments the transcript has. |
snapshot.complete | boolean | true when the segments cover the whole video. |
snapshot.hasMore | boolean | true when the item holds only part of the stored transcript (see Limits). |
snapshot.createdAt | date-time | When this transcript was produced. A date older than the run means it came from the cache. |
truncated | boolean | true when budgetSeconds cut the transcript short. |
truncatedReason | string | budget, when truncated is true. |
fullDurationSec | integer | Length of the full transcript that a truncated answer was cut from. |
charge | object | The billing record of this item (state, costMicros in millionths of a dollar, chargedCount, …). Every delivered item has one, on a free plan as on a paid one. |
text | string | The transcript as one plain-text string, when outputFormats asked for text: each segment's whitespace collapsed, the segments joined with single spaces. Absent when not asked for, and never on an error item. |
srt | string | The transcript as a SubRip subtitle file, when outputFormats asked for srt: numbered blocks of start --> end timestamps and the segment's own lines. Absent when not asked for, and never on an error item. |
Error item fields
| Field | Type | Description |
|---|---|---|
status | string | error for a failed or not-started work item. |
videoId | string | 11-character YouTube video ID. |
url | string | Canonical watch URL. |
track | string | Work item track, such as original or a language code. |
language | string | Optional language asked for, when the input named one. |
at | date-time | Optional time the failure was reported. |
error.code | string | Machine-readable failure code, such as private_video, no_speech, rate_limited, WATCHDOG_TIMEOUT or NOT_STARTED. |
error.message | string | Human-readable failure message safe to show. |
Set outputFormats to get text and/or srt on every item. The Output tab and API
exports let you flatten or pick fields; CSV and Excel exports include the segments as columns.
Error codes reference
Every error row is free. The error.code tells you why the video failed:
error.code | Meaning |
|---|---|
private_video | The video is private |
age_restricted | The video is age-restricted and needs a login |
forbidden | Members-only or geo-blocked |
not_found | Deleted or unavailable, or a live or upcoming stream |
no_speech | The AI found no speech in the audio |
unsupported_format | The video has no captions and aiFallback is off |
bad_request | The request can't be served, for example a language the video has no captions in |
rate_limited, budget_exhausted, conflict, upstream_error | A temporary limit, or YouTube or the AI kept failing after automatic retries — run it again later |
NOT_STARTED | The run stopped starting new videos, for example at its maximum cost |
WATCHDOG_TIMEOUT, CONNECTION_LOST, NO_TERMINAL_EVENT, RUN_TIMEOUT | The job stalled or the connection dropped — run it again |
internal | Our bug — please open an issue with the video URL |
💰 How much does it cost to scrape YouTube transcripts?
Pay per event: you pay for delivered transcripts, not compute, proxies or run time.
| Event | Charged for | Free / Bronze | Silver | Gold |
|---|---|---|---|---|
transcript | each new transcript (one video × track) | $0.004 | $0.00375 | $0.0035 |
transcript-cached | each transcript served from cache | $0.0015 | $0.0015 | $0.0015 |
ai-minute | each started minute of new AI transcript | $0.006 | $0.005 | $0.0045 |
ai-minute-cached | each started minute of cached AI transcript | $0.003 | $0.0025 | $0.002 |
apify-actor-start | each run | $0.0005 | $0.0005 | $0.0005 |
The current prices for your plan are always shown on the actor's Pricing tab. Free Apify plans are charged the same events at the same moments, and pay them from the free monthly credit of the account: only the prices differ between plans.
Never charged: videos that fail, private, members-only, age-restricted or unavailable videos,
videos with no speech, and items the run never started. These failures are pushed as status: error
dataset entries, but they never claim, charge or confirm a billing event.
An AI item pays one transcript event plus its AI minutes. A captions item pays the transcript
event only, however long the video is. AI minutes are counted per started minute of transcript
actually delivered: 60 s is 1 minute and 61 s is 2. With budgetSeconds, you pay only for the cut
you received.
Cost examples (Free / Bronze prices, start fee not included)
| Job | Cost | On Gold |
|---|---|---|
| 1,000 videos with captions | $4.00 | $3.50 |
| 1,000 videos with captions, all from cache | $1.50 | $1.50 |
| One 10-minute video, AI | $0.064 | $0.0485 |
| 1,000 ten-minute videos, AI | $64.00 | $48.50 |
| 1 hour of audio, AI (one 60-min video) | $0.364 | $0.2735 |
| 1 hour of audio, AI, from cache | $0.1815 | $0.1215 |
Try it free: the Apify Free plan includes $5 of monthly usage — enough for about 1,200 caption transcripts every month.
💡 Cost optimization tips
- Max total charge in run options — TubeScribe reserves each video's expected cost and stops before your limit.
budgetSecondscaps the transcribed (and billed) length per video.maxItemscaps transcripts per run.- Captions mode keeps caption videos at the flat
transcriptprice; usemode: "ai"only when captions are poor. - Turn off
aiFallbackif you only want existing captions — caption-less videos then cost nothing. - Re-run instead of
forceRefresh— cached transcripts cost 50–60% less. - Schedule weekly, not daily, for slow channels.
🔌 Integrations
Connect TubeScribe to Make, Zapier, n8n, Google Sheets, Slack, Airbyte, LangChain and LlamaIndex, or trigger anything with webhooks and schedules.
Example workflow: schedule a daily run on a channel → webhook on success → n8n/Make posts the transcript summary to Slack.
🐍 Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("iddqd/tubescribe").call(run_input={"startUrls": [{"url": "https://www.youtube.com/watch?v=jNQXAC9IVRw"}],"mode": "captions",})for item in client.dataset(run["defaultDatasetId"]).iterate_items():if item["status"] != "ok":print(item["videoId"], item["error"]["code"])continuesnap = item["snapshot"]text = " ".join(s["text"] for s in snap.get("segments") or [])print(snap["title"], snap.get("language"), text[:200])
🟨 JavaScript / Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('iddqd/tubescribe').call({startUrls: [{ url: 'https://www.youtube.com/@handle' }],maxItems: 50,});const { items } = await client.dataset(run.defaultDatasetId).listItems();for (const item of items) {if (item.status !== 'ok') {console.log(item.videoId, item.error.code);continue;}const { snapshot } = item;const text = (snapshot.segments ?? []).map((s) => s.text).join(' ');console.log(snapshot.title, text.slice(0, 200));}
🌐 cURL — one call, items back
curl -X POST "https://api.apify.com/v2/acts/iddqd~tubescribe/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"startUrls":[{"url":"https://youtu.be/jNQXAC9IVRw"}]}'
🤖 Use YouTube Transcript Scraper with AI agents (MCP)
Give Claude, Cursor, VS Code or ChatGPT a "get YouTube transcript" tool via the Apify MCP server:
{"mcpServers": {"tubescribe": {"url": "https://mcp.apify.com?tools=iddqd/tubescribe","headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }}}}
Then ask: "Get the transcript of https://youtu.be/jNQXAC9IVRw and summarize it with timestamps."
Quick setup: give your MCP client the URL mcp.apify.com?tools=iddqd/tubescribe. More options are on the MCP tab.
❓ FAQ
Can I get a transcript of a YouTube video that has no captions?
Yes. TubeScribe transcribes the audio with Whisper AI automatically and bills it as AI minutes. Set aiFallback: false to get a free error row instead.
Which languages are supported?
Captions: every language YouTube offers for the video. AI: the 99 languages of Whisper large-v3-turbo, auto-detected per audio chunk.
Does it translate transcripts?
No. You get YouTube's captions or the language actually spoken.
How accurate is the AI transcript?
Clear speech is close to human quality. A filter removes the phrases Whisper invents over silence and music. Heavy music, crosstalk and strong accents lower accuracy.
How is this different from the YouTube Data API?
The official API only downloads captions for videos you own. TubeScribe reads public captions for any public video and adds AI for videos without them.
Can I download YouTube subtitles as SRT?
Yes — set outputFormats: ["srt"], free of charge.
How many videos can I transcribe per run?
Up to 1,000 items per run. For more, split the input or schedule several runs.
Do Shorts, live streams and premieres work?
Shorts yes. Live streams and premieres once they have ended.
Can I get private, members-only or age-restricted videos?
No. They become free error rows.
What if I request the same video again?
It is usually served from cache: faster and cheaper.
Do I need a proxy or a YouTube/OpenAI API key?
No. Everything is included in the event prices.
How often should I schedule runs to monitor a channel?
Daily for news and high-volume channels, weekly for most others. Videos already transcribed are served from cache at the cached price.
Can I get transcripts of old videos or build a history?
Yes — any public video, however old. Scheduled runs each create a timestamped dataset, so you can keep a history of a channel.
What if a video doesn't work?
It becomes a free error row with the reason. If you think it should work, open an issue on the Issues tab with the video URL.
Is it legal to scrape YouTube transcripts?
TubeScribe only reads publicly available data. Make sure your use complies with YouTube's terms, copyright and personal-data laws such as GDPR. If unsure, consult a lawyer. See also Apify's blog post on the legality of web scraping.
Are there other YouTube tools in Apify Store?
Combine transcripts with metadata and comments:
| 📹 YouTube Scraper | 💬 YouTube Comments Scraper |
| 🏎 Fast YouTube Channel Scraper | ▶️ YouTube Shorts Scraper |
💬 Feedback and support
Found a bug or need a feature? Open an issue on the Issues tab — we usually reply within a business day. If TubeScribe saved you time, a ⭐ review helps a lot.
📜 Changelog
- 0.1 — initial release: captions with automatic AI fallback, always-AI mode, videos/Shorts/playlists/channels,
tracks, 3-hour AI, per-chunk language detection, hallucination filter, cached discount, no charge for failures, restart-safe billing.
TubeScribe is an independent tool, not affiliated with, endorsed by or sponsored by YouTube or Google.