YouTube Transcript for LLM & RAG (Multilingual)
Pricing
from $3.00 / 1,000 transcripts
YouTube Transcript for LLM & RAG (Multilingual)
Get YouTube transcripts in any language from videos, Shorts, channels and playlists. Manual captions first, auto-captions as fallback, timestamps, and ready-made RAG chunks with title, channel, duration and publish date. Pay only for transcripts delivered.
Pricing
from $3.00 / 1,000 transcripts
Rating
0.0
(0)
Developer
Henry Crawl
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 hours ago
Last modified
Categories
Features
Share
Get clean YouTube transcripts in any language, with timestamps, video metadata and ready-made RAG chunks, from single videos, Shorts, playlists or whole channels. You only pay for transcripts that are actually delivered.
What does it do?
Paste YouTube links and you get back one row per video with:
- Transcript text: human-made captions first, auto-generated captions as fallback.
- Language detection that gets dubbed videos right: by default you get the video's original spoken language, even when YouTube has added AI-dubbed audio tracks.
- Timestamped segments (
start,duration,text) and an optional .srt file. - LLM / RAG chunks: you set the token size and overlap. Chunks never cut a caption line in half. Every chunk keeps its start/end time and a deep link (
...&t=754s), so your chatbot can cite the exact moment. - Metadata: title, channel name and ID, duration, publish date, view count, category, thumbnail, keywords, and the description (optional).
- Every available caption language for the video, so you know what else you can request.
Why this Actor?
| This Actor | |
|---|---|
| Inputs per run | Any mix of videos, Shorts, youtu.be, live replays, playlists, channels (@handle, /channel/ID, /c/, /user/) and bare video IDs |
| Languages | Original language by default, or your preference list (["en","es"]). es also matches es-419. Optional YouTube machine translation. |
| RAG-ready | Token-sized chunks with overlap, timestamps and deep links. A "one row per chunk" mode loads straight into Pinecone, Qdrant, Weaviate, pgvector, LangChain or LlamaIndex. |
| Fair billing | Charged only for successful transcripts. Videos without captions, private videos and invalid URLs still return a row explaining why, free of charge. |
| Polite and stable | Low default concurrency, exponential back-off, and Apify Proxy included. No login and no cookies. |
Input example
{"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ","https://youtu.be/sd6OLoQW0hY","https://www.youtube.com/shorts/E_F-FjJvxHo","https://www.youtube.com/playlist?list=PLovlAKbQVz6Bnt8Lov66TRVVhjvJMeps6","@mkbhd"],"languages": [],"chunkSizeTokens": 500,"chunkOverlapTokens": 50,"maxVideosPerSource": 20}
Main options:
| Field | Default | What it does |
|---|---|---|
urls | – | Videos, Shorts, playlists, channels or video IDs |
languages | [] (original language) | Preferred caption languages, in order |
preferManualCaptions | true | Use creator captions before auto-generated ones |
allowAutoGenerated | true | Turn off to accept only human-made captions |
translateIfMissing | false | Use YouTube machine translation when no preferred language exists (best effort, see Limits) |
outputFormat | video | video = one row per video. chunks = one row per chunk. |
chunkSizeTokens / chunkOverlapTokens | 500 / 50 | Chunk size and overlap |
includeSegments / includeSrt / includeDescription | true / false / false | Extra fields to include |
maxVideosPerSource | 20 | Videos per channel or playlist; for channels, newest first |
channelTab | videos | videos, shorts or streams |
Output example (one row per video, shortened)
{"status": "OK","videoId": "sd6OLoQW0hY","url": "https://www.youtube.com/watch?v=sd6OLoQW0hY","title": "Life balance: Yoshie Komuro at TEDxTokyo","channelName": "TEDx Talks","durationSeconds": 734,"publishDate": "2012-06-29T23:52:08-07:00","originalLanguage": "ja","language": "ja","captionType": "manual","availableLanguages": [{"code": "en", "name": "English", "isAutoGenerated": false}, {"code": "ja", "name": "Japanese", "isAutoGenerated": false}],"transcriptText": "皆さん こんにちは ...","tokenEstimate": 4410,"segments": [{"start": 4.2, "duration": 3.1, "text": "皆さん こんにちは"}],"chunks": [{"chunkIndex": 0,"startSeconds": 4.2,"endSeconds": 95.8,"startTimestamp": "00:00:04","endTimestamp": "00:01:35","url": "https://www.youtube.com/watch?v=sd6OLoQW0hY&t=4s","text": "...","tokenEstimate": 498}]}
In chunks mode, each row is one chunk and carries videoId, videoUrl, title, channelName, publishDate, durationSeconds, language and captionType, so it can be embedded directly.
Status codes (only OK is charged)
| Status | Meaning |
|---|---|
OK | Transcript delivered |
NO_CAPTIONS | The video has no captions at all |
LANGUAGE_NOT_AVAILABLE | None of your languages exist; try translateIfMissing |
TRANSLATION_FAILED | YouTube refused the machine translation; the original-language transcript is included free |
VIDEO_UNAVAILABLE / LOGIN_REQUIRED | Deleted, private, members-only or age-restricted video |
LIVE_NOT_FINISHED | Live stream still running or not started |
BOT_CHECK / RATE_LIMITED | YouTube throttled the request even after retries; run it again later |
INVALID_URL / SOURCE_UNAVAILABLE / SOURCE_EMPTY | Problem with the input link |
A run summary is saved as SUMMARY in the default key-value store.
Pricing
Pay per event: $3.00 per 1,000 transcripts ($0.003 per video with status OK). Failed videos, chunk rows and metadata cost nothing extra.
Use with AI agents (MCP)
The Actor works as a tool through the Apify MCP server, so Claude, Cursor, ChatGPT and other MCP clients can call it with a list of URLs and receive transcripts plus chunks ready for context.
FAQ
Does it need a YouTube account or API key? No. It reads only public caption data, the same captions any viewer can switch on.
Which language do I get by default? The language spoken in the video. If the video has dubbed audio tracks, the original track wins. If you set languages, your list wins.
Why is a video marked NO_CAPTIONS? The creator disabled captions, and YouTube did not create auto-captions (common for music, very short or very new videos). You are not charged.
How accurate is tokenEstimate? Within about 10–15% of OpenAI and Claude tokenizers, for both Latin and CJK scripts. Use it to size chunks, not for billing.
Can I get a whole channel? Yes. Paste the channel link and set maxVideosPerSource (up to 5,000). Channels are read newest first.
Limits
- Only videos that have captions (human-made or auto-generated) can be transcribed. There is no speech-to-text fallback.
- Machine translation (
translateIfMissing) is best effort: YouTube heavily rate-limits it from cloud IPs, so expect someTRANSLATION_FAILEDrows. - Auto-generated captions reflect YouTube's speech recognition quality: missing punctuation and misheard names.
- For videos with no auto-captions, original-language detection falls back to YouTube's default caption track, which can be a translation. Set
languageswhen this matters. - Comments, likes and viewer data are not collected.
Legal
The Actor collects only publicly available caption and video metadata, without logging in. You are responsible for using the transcripts in line with YouTube's Terms of Service, copyright law and applicable data protection law in your jurisdiction.