YouTube Transcript Scraper with AI Fallback avatar

YouTube Transcript Scraper with AI Fallback

Pricing

from $0.55 / 1,000 transcripts

Go to Apify Store
YouTube Transcript Scraper with AI Fallback

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

Denis Barzakovsky

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

3

Monthly active users

9 days ago

Last modified

Features

Limited permissions

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:

  1. Expands playlists and channels into their videos (up to 1,000 per run) and de-duplicates them.
  2. Picks the tracks you asked for: the default track, specific languages, or every caption language.
  3. Fetches official captions (manual or auto-generated) with YouTube's own timestamps.
  4. Falls back to AI speech-to-text when a video has no captions. Turn it off with aiFallback: false and such videos become free error rows.
  5. 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?

TranscriptVideoRun 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?

FeatureTypical transcript scraperTubeScribe
Video without captionsError item, or AI behind an opt-in switchAutomatic AI fallback, and aiFallback: false to switch it off and pay nothing
Long videos on AIOften capped (for example 30–120 min, or per-run minute limits)Full video up to 3 hours, cached whole
Mixed-language videoOne forced languageLanguage detected per 10-minute chunk
Every caption language of a videoOne language per runtracks: ["all"]: one item per language
Silence on AIWhisper "hallucinations" ("Thank you.", loops)Hallucination filter; no-speech videos are free
Repeat requestsFull price every timeCached transcripts at a discount
AI priceOften $0.01+ per minuteFrom $0.0045 per minute
Cost controlRun timeout onlybudgetSeconds per video plus the run's maximum cost
Run restarted by the platformMay push or charge againEach 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

  1. Create a free Apify account — the Free plan includes monthly platform credit.
  2. Open YouTube Transcript Scraper and click Try for free.
  3. Paste one or more video, Shorts, playlist or channel URLs into Start URLs.
  4. Keep Mode: Official captions (AI fallback included) or pick Transcribe with AI.
  5. 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

FieldTypeDefaultWhat it does
startUrlsarray 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.
maxItemsinteger, 1–1,000100The 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.
languagestring (BCP 47, for example en, de, pt-BR)not setThe 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.
tracksarray 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.
concurrencyinteger, 1–164How many videos are processed in parallel.
budgetSecondsinteger, 1–3,600not setMedia 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.
forceRefreshbooleanfalseIgnore cached transcripts and read the video again. Billed at the full (not cached) price.
aiFallbackbooleantrueOnly 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.
outputFormatsarray 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 srt file
  • ⚠️ Errors — failed videos with error.code and 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

FieldTypeDescription
statusstringok for a delivered transcript entry.
itemIdstringID of this delivery (ts_…).
atdate-timeWhen the transcript was delivered.
sourcestringWhere the transcript came from: captions (YouTube's own captions) or ai (TubeScribe transcribed the audio). Billing follows this.
fromCachebooleantrue when the transcript was served from the TubeScribe cache and billed at the cached price.
snapshot.videoIdstring11-character YouTube video ID.
snapshot.urlstringCanonical watch URL.
snapshot.titlestringVideo title.
snapshot.channelstringChannel name.
snapshot.durationSecondsintegerVideo length in seconds.
snapshot.languagestringLanguage of the transcript.
snapshot.tracks[]arrayTracks the video offers: kind (captions or audio), language, autoGenerated, preferred, label.
snapshot.segments[]arrayThe transcript: index, start and end (seconds), text, and confidence (0–1) when available.
snapshot.segmentCountintegerHow many segments the transcript has.
snapshot.completebooleantrue when the segments cover the whole video.
snapshot.hasMorebooleantrue when the item holds only part of the stored transcript (see Limits).
snapshot.createdAtdate-timeWhen this transcript was produced. A date older than the run means it came from the cache.
truncatedbooleantrue when budgetSeconds cut the transcript short.
truncatedReasonstringbudget, when truncated is true.
fullDurationSecintegerLength of the full transcript that a truncated answer was cut from.
chargeobjectThe 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.
textstringThe 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.
srtstringThe 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

FieldTypeDescription
statusstringerror for a failed or not-started work item.
videoIdstring11-character YouTube video ID.
urlstringCanonical watch URL.
trackstringWork item track, such as original or a language code.
languagestringOptional language asked for, when the input named one.
atdate-timeOptional time the failure was reported.
error.codestringMachine-readable failure code, such as private_video, no_speech, rate_limited, WATCHDOG_TIMEOUT or NOT_STARTED.
error.messagestringHuman-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.codeMeaning
private_videoThe video is private
age_restrictedThe video is age-restricted and needs a login
forbiddenMembers-only or geo-blocked
not_foundDeleted or unavailable, or a live or upcoming stream
no_speechThe AI found no speech in the audio
unsupported_formatThe video has no captions and aiFallback is off
bad_requestThe request can't be served, for example a language the video has no captions in
rate_limited, budget_exhausted, conflict, upstream_errorA temporary limit, or YouTube or the AI kept failing after automatic retries — run it again later
NOT_STARTEDThe run stopped starting new videos, for example at its maximum cost
WATCHDOG_TIMEOUT, CONNECTION_LOST, NO_TERMINAL_EVENT, RUN_TIMEOUTThe job stalled or the connection dropped — run it again
internalOur 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.

EventCharged forFree / BronzeSilverGold
transcripteach new transcript (one video × track)$0.004$0.00375$0.0035
transcript-cachedeach transcript served from cache$0.0015$0.0015$0.0015
ai-minuteeach started minute of new AI transcript$0.006$0.005$0.0045
ai-minute-cachedeach started minute of cached AI transcript$0.003$0.0025$0.002
apify-actor-starteach 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)

JobCostOn 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.
  • budgetSeconds caps the transcribed (and billed) length per video.
  • maxItems caps transcripts per run.
  • Captions mode keeps caption videos at the flat transcript price; use mode: "ai" only when captions are poor.
  • Turn off aiFallback if 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 ApifyClient
client = 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"])
continue
snap = 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.

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.