// YouTube Transcript API

YouTube transcripts
as clean JSON

JSON · SRT · VTT

Pull any YouTube transcript as JSON, SRT or VTT — with title, channel, duration and views baked in. Residential proxies built into the price, and you pay only for successful results.

Get access

// Endpoints

Five endpoints, one contract

Transcripts, caption languages and playlist resolution — video URL or ID in, structured data out.

transcript (JSON) Structured transcript with per-line timestamps, plus video metadata.
transcript (SRT) Ready-to-use SubRip subtitle file from a single request.
transcript (VTT) WebVTT captions for web players and HTML5 <track>.
listLanguages Enumerate every available caption track for a video.
resolvePlaylist Expand a playlist or channel URL into video IDs — up to 500 per request.

// Live example

One request, clean JSON

See the shape of the data before you sign up.

Request
curl 'https://<marketplace-gateway>/v1/transcript'\
'?video=dQw4w9WgXcQ&lang=en&format=json' \
  -H '<auth-header>: <your-key>'
Response
{
  "videoId": "dQw4w9WgXcQ",
  "title": "Example Video",
  "channel": "Example Channel",
  "duration": 213,
  "viewCount": 1600000000,
  "lang": "en",
  "segments": [
    { "start": 0.0, "dur": 3.4, "text": "Hello there" },
    { "start": 3.4, "dur": 2.1, "text": "welcome back" }
  ]
}

Base URL and auth header depend on the marketplace — see the docs of the listing you pick.

No captions or an unavailable video comes back flagged — never billed.

// Pricing

Pay only for results

All-inclusive pricing — proxy infrastructure is built in. The price on the tag is the price on the invoice.

$5 / 1k per 1,000 successful transcripts (Apify pay-per-event)
$0 fail no captions or unavailable video is never billed
3 formats JSON, SRT and VTT from one request
proxy-in residential proxy infra built in — no extra proxy cost

// Use cases

What people build with it

Content repurposing Turn videos into blog posts, summaries and newsletters. Pull the transcript, keep the timestamps, reshape the rest.
AI / LLM pipelines Feed clean video text into RAG systems, summarizers and agents. JSON in, no scraping or proxy handling on your side.
Subtitles & i18n Generate SRT / VTT straight from a request and drive localization workflows without touching the raw video.
Research at scale Resolve a playlist or channel into up to 500 videos, then batch-extract transcripts for media monitoring.

// FAQ

YouTube Transcript API — FAQ

How do I get a YouTube transcript via API?

Pick a marketplace, grab an API key, and call the transcript endpoint with a video URL or ID. You get back clean JSON, SRT or VTT — no scraping, proxies or caption parsing on your side.

What formats does it return?

Three: structured JSON with timestamps, SubRip SRT, and WebVTT — all selectable from a single request.

Do I pay for videos with no captions?

No. Failed lookups — no captions or an unavailable video — cost nothing. You are billed only for successful transcripts.

How much does it cost?

On Apify it is $5 per 1,000 successful transcripts, pay-per-event. Zyla API Hub also offers tiered subscription plans with all five endpoints live.

Are there hidden proxy costs?

No. Residential proxy infrastructure is built into the price — the number on the tag is the number on the invoice, no extra proxy or overhead fees.

Can I pull transcripts for a whole channel or playlist?

Yes. The resolve endpoint expands a playlist or channel URL into a list of video IDs — up to 500 per request — which you then batch through the transcript endpoint.

What metadata comes with a transcript?

Every transcript includes video title, channel name, channel ID, duration and view count alongside the caption data.

Can I choose the caption language?

Yes. Use listLanguages to see available tracks, then pass the lang parameter to select the one you want.

// Get access

Where to get it

Available now through trusted API marketplaces — pricing is on each listing.

RapidAPI Playground + instant API key Open Zyla API Hub Subscription tiers — all 5 endpoints Open Apify Actor — pay per result Open API.market Pay-as-you-go access Open