API

YouTube Transcript API

One endpoint. Any video. Built for AI agents.

Terminal
$ 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.

Free
$0
200 credits (one-time)
  • 10 requests/min
  • All languages
  • JSON responses
Start Free
Starter
$9/mo
1,000 credits/mo ($9.00 per 1K)
  • 100 requests/min
  • All languages
  • Priority support
Get Started
Scale
$79/mo
20,000 credits/mo ($3.95 per 1K)
  • 100 requests/min
  • All languages
  • Priority support
Get Started

Need more credits?

Buy one-time credit packs on top of your subscription. No expiry.

1K2K5K10K25K50K
5,000 credits
$40
$8.00 per 1K
Buy 5,000 credits — $40

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