Free YouTube Transcript API - Subtitles, AI Translation & Audio
Pricing
Pay per usage
Free YouTube Transcript API - Subtitles, AI Translation & Audio
YouTube transcripts and subtitles in bulk, even when YouTube says no: AI translation when YouTube refuses, audio transcription for videos without captions. Timestamps, SRT, VTT. Callable from AI agents via Apify MCP.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Luis Holguin
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
11 minutes ago
Last modified
Categories
Features
Share
YouTube Transcript Scraper: captions, AI translation and audio transcription
Get the transcript of any YouTube video, playlist or channel as clean text, timestamped segments, SRT or WebVTT, with title, channel, length, views and publish date. Built for feeding videos into ChatGPT, Claude and other AI tools, for research, SEO and content repurposing.
Most transcript scrapers stop at "no transcript". This one keeps going:
| The video has... | A typical transcript scraper | This scraper |
|---|---|---|
| Captions in your language | ✅ Transcript | ✅ Transcript |
| Captions, but not in your language | YouTube's translation, which YouTube often refuses (3 of 5 in our side-by-side test); then you get the original language back | YouTube's translation if it works, else AI translation of the original, with every timestamp kept |
| No captions at all | ❌ "Captions are disabled" | ✅ We transcribe the audio (Whisper large-v3-turbo), with timestamps, then translate if you asked |
| Auto-dubbed audio tracks | May return the dub's captions, unmarked | Detects the original spoken language |
| A caption track labeled with the wrong language (e.g. Spanish lyrics uploaded as "English") | Depends on which track it picks | Detects it, uses a correctly labeled track if the video has one, else labels it right (languageMismatch) and translates if you asked |
| TV-news captions that repeat every line as it grows | Returns the stutter | Cleans it into normal lines |
| A playlist or channel link | Varies | ✅ Paste the link, we list the videos |
The middle column is what we measured on 27 Nov 2026 running the two most-used transcript Actors on the Store on the same videos. On a Chinese newscast with captions disabled, both said "no transcript"; on a Spanish newscast asked for in English, one returned Spanish and the other an error. The second one charged $0.005 for each of those errors. We returned the Chinese transcript from the audio and an AI English translation of the Spanish one, and we never charge for a failed video. AI translation and audio transcription run on paid Apify plans (see FAQ).
Why people pick it
- Never a silent wrong answer. Every item says how it was made:
transcriptSource(captionsoraudio),translationStatus(youtube,ai,unavailable,failed,paid-plan-only), the original language and the source track. - Free during launch (see Pricing). Even after launch, failed videos and clips with almost no speech will stay free, and if the language you asked for can't be produced you still get the original transcript free.
- No surprise bills. Audio transcription is capped per video ("Max audio minutes", default 60). Longer videos without captions are skipped free, with a clear message.
- Bulk. Mix video links, playlist links and channel links (
@handle,/channel/UC...) in one run. - Every link format. watch, youtu.be, Shorts, embed, live, or a bare ID. Duplicates removed.
- Doesn't fail your runs. Residential proxies, a fresh IP on every retry, one bad video never stops the batch. Live streams and premieres get their own codes instead of a hang.
Input
| Field | What it does |
|---|---|
videos | Video, playlist or channel links, or video IDs |
maxVideosPerSource | Videos to take from each playlist or channel (default 50) |
languages | Language codes in order of preference, e.g. ["en", "es"]. Empty = the video's own spoken language |
translate | Translate into your first language if it's missing (default on) |
audioFallback | Transcribe the audio of videos that have no captions (default on) |
maxAudioMinutes | Longest video we'll transcribe from audio (default 60) |
preferManualCaptions | Human captions over auto-generated ones (default on) |
includeText / includeTimestampedText / includeSegments / includeSrt / includeVtt | Output formats |
Output (one item per video)
{"status": "success","videoId": "vFcFdEUrpN4","title": "Mbunge kutoka Kenya akana kuiba simu bungeni.","channelName": "...","durationSeconds": 94,"transcriptSource": "audio","languageCode": "en","isTranslated": true,"translationStatus": "ai","originalLanguageCode": "sw","audioSeconds": 94,"wordCount": 212,"text": "Can you go inside the Kenyan Parliament? How could this happen? ...","segments": [{ "start": 0, "duration": 2.6, "text": "Can you go inside the Kenyan Parliament?" }]}
Failed videos have "status": "error", an errorCode and a readable error. They are never charged.
| errorCode | Meaning |
|---|---|
NO_TRANSCRIPT | No captions, and audio transcription is off |
NO_SPEECH | We transcribed the audio and there is no speech in it (music, silence) |
AUDIO_TOO_LONG | No captions and longer than your "Max audio minutes" |
LANGUAGE_NOT_AVAILABLE | Your language doesn't exist and translation is off |
LIVE_NOW / UPCOMING | A stream that is live right now, or hasn't started |
UNAVAILABLE / LOGIN_REQUIRED / MEMBERS_ONLY / AGE_RESTRICTED | Deleted, private, members-only or age-gated |
BLOCKED | YouTube kept blocking us after all retries (rare; retry later) |
INVALID_URL / CHANNEL_NOT_FOUND / PLAYLIST_NOT_FOUND | Bad link |
Pricing: free during launch
This Actor is free while we launch it. We charge nothing. You only pay Apify's normal platform usage for the run, from your own Apify account (the free plan's monthly credit covers it). Measured on 27 Nov 2026:
- About $0.0002–0.0014 per captioned video (compute plus proxy traffic).
- About $0.004 per audio minute for videos with no captions, mostly the proxy traffic to download the audio. "Max audio minutes" caps it per video.
Later we plan to switch to pay per event: $0.003 per transcript, $0.005 per AI translation (per started 10 minutes), $0.01 per audio minute, with failed videos always free. Apify shows every user at least 14 days' notice before a price applies, and we'll also say so here. Listing playlist and channel videos stays free.
FAQ
Does it work on Apify's free plan? Yes for captions and YouTube's own translations. AI translation and audio
transcription run on paid Apify plans only (they cost us real AI fees, and free-plan runs don't bring the developer
any revenue). On the free plan those videos come back clearly marked: translationStatus: "paid-plan-only" with the
original transcript free, or the error code AUDIO_PAID_PLAN_ONLY. Nothing is charged for them.
Which languages? Any language YouTube has captions in, any target language for AI translation, and ~99 spoken languages for audio transcription (Whisper).
How good is AI translation? It uses an open-source GPT model and translates line by line, so timestamps stay exact. Song lyrics and talks read naturally; auto-captions that YouTube cut mid-sentence stay as fragments.
What does a run keep about itself? A TELEMETRY record in the run's own key-value store: per video the
outcome, error code, time taken and audio minutes, plus run totals. No transcript text. It stays in your account.
Many videos without captions? Audio is transcribed one video at a time at the default 512 MB. Give the run 1 GB or more and it transcribes 3+ at once.
Is it legal? It reads public YouTube pages, like a browser does. You are responsible for how you use the data.
Development
npm installnpm test # offline unit testsnode --experimental-test-module-mocks test/main.smoke.mjs # full run against fixturesapify push # deploy (private)