YouTube Transcript API
One endpoint. Any video. Built for AI agents.
$ curl -H "Authorization: Bearer 2yt_..." \
"https://2outube.com/api/v1/transcript?video_id=dQw4w9WgXcQ"
Why developers choose 2outube
Reliable
InnerTube extraction with browser-based fallback. Works from any IP — no cloud blocking.
Fast
Edge-cached responses. Repeat requests resolve in under 50ms. Global CDN delivery.
Structured JSON
Timestamped segments, language metadata, and video info. Ready for LLM pipelines.
Affordable
200 free credits to start. Paid plans from $9/mo. No per-request surprise bills.
Simple, predictable pricing
1 credit = 1 transcript request. No hidden fees.
- 100 requests/min
- All languages
- Priority support
- 100 requests/min
- All languages
- Priority support
- 100 requests/min
- All languages
- Priority support
Need more credits?
Buy one-time credit packs on top of your subscription. No expiry.
Frequently Asked Questions
How do I get YouTube transcripts programmatically?
Register for a free API key, then make a GET request to /api/v1/transcript with the video_id parameter. The API returns structured JSON with timestamped transcript segments. See the quickstart guide for step-by-step instructions.
Does the API work with auto-generated captions?
Yes. The API retrieves both manual and auto-generated captions. If a video has auto-generated captions in the requested language, those are returned. Use the lang parameter to specify a language (defaults to English).
What happens when I run out of credits?
The API returns a 402 Payment Required status. You can upgrade your plan at any time via the /api/v1/subscribe endpoint. Your existing API key continues to work after upgrading.
Can I use this API for AI and LLM applications?
Absolutely. The API is designed for AI agents and LLM pipelines. The structured JSON response with timestamped segments is ideal for feeding into language models, RAG systems, and automated workflows.
Does the API work from cloud servers and serverless functions?
Yes. Unlike youtube-transcript-api and direct scraping, the 2outube API works reliably from any IP address including AWS, GCP, Azure, Vercel, and Cloudflare Workers. No risk of IP blocking.
Start building with YouTube transcripts
200 free credits. No credit card required.
Get Your API Key