Youtube Transcript API
Pricing
from $6.00 / 1,000 transcript delivereds
Youtube Transcript API
Pull transcripts from YouTube videos, Shorts and 3-hour podcasts. Full text, timed segments and SRT subtitles in any caption language. No YouTube account. Videos without captions are free.
Pricing
from $6.00 / 1,000 transcript delivereds
Rating
0.0
(0)
Developer
James J. Lee
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
YouTube Transcript API: Text, Timestamps & SRT, No Login
Get the transcript of any public YouTube video, Short or live replay as clean text, timed segments or SRT subtitles.
You pay only for transcripts delivered. Videos without captions, unavailable videos and failures are free, and every record says why.
What you get
- Full text ready for summaries, search, or an AI model
- Timed segments: every caption line with its start time and duration
- SRT subtitles, optional
- Any language the video has, manual or auto-generated, with your order of preference
- Video details: title, channel, length, view count, and every caption language available
- Any link form: watch links, youtu.be, Shorts, embeds, live links or bare video IDs
Why this one
- A clear reason for every video that has no transcript.
NO_CAPTIONS,AGE_RESTRICTED,UNAVAILABLEorINVALID_ID, never an empty transcript you were charged for. - Built to get past blocks. Every attempt uses a new proxy address, and videos that still fail get a second pass at the end of the run.
- Predictable cost. Set
maxVideos, or a maximum charge for the run, and it stops there.
Input
| Field | Default | Notes |
|---|---|---|
videos | required | YouTube links or video IDs |
languages | ["en"] | Preferred caption languages, in order |
includeSegments | true | Timed caption lines |
includeSrt | false | SRT subtitle file in the srt field |
maxVideos | 1000 | Run processes at most this many videos |
maxConcurrency | 3 | Videos in parallel, 1 to 10 |
proxyConfiguration | Residential | YouTube blocks most datacenter addresses |
Output
{"status": "OK","videoId": "aircAruvnKk","url": "https://www.youtube.com/watch?v=aircAruvnKk","title": "But what is a neural network? | Deep learning chapter 1","channel": "3Blue1Brown","lengthSeconds": 1120,"language": "en","isGenerated": false,"availableLanguages": ["ar", "en", "en (auto)", "es", "..."],"wordCount": 3357,"text": "This is a 3. It's sloppily written and rendered at an extremely low resolution of 28x28 pixels...","segments": [{ "start": 4.22, "duration": 3.1, "text": "This is a 3." }],"charged": true}
Videos without a transcript come back with status set to the reason and charged: false.
Limits to know about
- Only videos with captions. If a video has no captions, manual or automatic, there is no transcript to return. This Actor does not transcribe audio.
- Public videos only. Private, members-only and age-restricted videos are reported, not fetched.
- No official API. YouTube can change how captions are served without notice. If something breaks, open an issue and it will be looked at quickly.
For developers
npm installnpm test # offline testsnpm run live # real requests to YouTube from your own connection