YouTube Transcript API
Any public YouTube video's transcript as text and timed segments.

Scraping…
What teams build with the YouTube Transcript API
RAG and search over videos
Index talks, lectures, and interviews as text, with timestamps that link each passage back to its moment in the video.
Summaries and notes
Give a language model a video's full transcript to summarize, quote, or turn into show notes and chapters.
Content research
Read what competitors and creators say in their videos without watching them, and search across many at once.
Does the official YouTube API return transcripts?
Official API restricted
Only for your own videos. The YouTube Data API downloads a caption track only when the signed-in user can edit the video.
captions.download needs OAuth and, in YouTube's words, "requires the user to have permission to edit the video"; anyone else gets 403 forbidden. captions.list names a video's tracks but, as its page says, does not contain the captions themselves.
Clair API reads the caption tracks a public video offers to any viewer and returns one as JSON: the uploader's captions when there are any, YouTube's automatic ones otherwise. A video with no captions returns 404; Clair API does not transcribe audio.
Read from these pages on October 27, 2026.
Integrate in minutes
One host, one Bearer key for every Clair API. Each call returns JSON with the same envelope, so a second API is a new path, not a new client.
curl -G "https://api.clair.im/v1/youtube/transcript?video_id=jNQXAC9IVRw" \ -H "Authorization: Bearer YOUR_API_KEY"
Query and response fields
video_id takes an 11-character id or any watch, shorts, embed, live, or youtu.be link. Without language, English is returned when the video has it, else its first uploaded track. A language such as pt matches a regional track such as pt-BR.
- Typical response time
- 1–3 s
- How it loads
- Page fetch
- Time limit
- 50 s
One request for the page, through a proxy network that gets past the site's bot checks. No browser. Usually a few seconds; a site that challenges the request takes longer. A request that reaches the time limit returns 504 and is not charged.
GET /v1/youtube/transcript
Authorizationheader · stringrequired
- Bearer <api_key>. Create keys under API keys.
video_idstringrequired
- The 11-character id, such as
dQw4w9WgXcQ, or a watch, shorts, embed, live, or youtu.be link. languagestring
- Caption language code, such as
en,de, orpt-BR.ptalso matchespt-BR. Default: English, else the first uploaded track.
Pricing
Each endpoint is priced per 1,000 items it returns, and a call that returns nothing is free. Pay as you go with credit that never expires, spent across every Clair API; a plan lowers every rate.
Pay as you go. A plan lowers every rate. | |||||
|---|---|---|---|---|---|
Pay as you go $0 no monthly fee $1 of free credit once, no card. Then top up from $5; credit never expires. | |||||
| Posts | |||||
| YouTube Video Details | $2.25 / 1K videos | $1.92 / 1K videos | $1.58 / 1K videos | $1.25 / 1K videos | Custom rate |
| YouTube Channel Videos | $0.07 / 1K videos | $0.06 / 1K videos | $0.05 / 1K videos | $0.04 / 1K videos | Custom rate |
| YouTube Transcripts | $2.70 / 1K transcripts | $2.30 / 1K transcripts | $1.90 / 1K transcripts | $1.50 / 1K transcripts | Custom rate |
| YouTube Comments | $0.11 / 1K comments | $0.09 / 1K comments | $0.08 / 1K comments | $0.06 / 1K comments | Custom rate |
| Search | |||||
| YouTube Video Search | $0.11 / 1K videos | $0.09 / 1K videos | $0.08 / 1K videos | $0.06 / 1K videos | Custom rate |
Pay as you go runs at 5 requests a second (10 a minute on the free credit alone); Starter at 10, Scale at 25, Business at 50. Need more? Email us and we will raise your limit.
Top up from $5; topped-up credit never expires and is spent at your plan's rates. A plan's fee is its monthly credit, spent first and gone at renewal. Calls stop when your credit runs out, so nothing is billed past it.
Common questions
Anything else? Email contact@serinlabs.com.
What do I send?
The 11-character video id, or any watch, shorts, embed, live, or youtu.be link to the video.
Which language do I get?
English when the video has it, otherwise its first uploaded track. Pass language, such as pt, to ask for another; it also matches a regional track such as pt-BR.
Does the official YouTube API return transcripts?
Only for videos you can edit. Clair API reads the caption tracks a public video offers any viewer: the uploader's captions, or YouTube's automatic ones. A video with no captions returns 404; Clair API does not transcribe audio.
What does the YouTube Transcript API return?
video_id takes an 11-character id or any watch, shorts, embed, live, or youtu.be link. Without language, English is returned when the video has it, else its first uploaded track. A language such as pt matches a regional track such as pt-BR.
How is usage counted?
You pay for the data a call returns, not for the call. Each endpoint sells one kind of item (a job, a profile, a review, a results page) at its own price per 1,000. A search that returns 40 jobs is 40 jobs; a lookup is one item. A call that returns nothing is free: not found, an empty search, a malformed request, or a failure on our side. Each response's x-items-billed and x-request-cost-usd headers say what it cost.
Is there a free tier?
Yes. The free tier is $1 of free credit across every Clair API, with no card: about 9,090 YouTube Video Search if it all goes here. It's granted once; after that you pay as you go with credit that never expires.
What happens when I run out of credit?
The API returns 429 until you top up, and nothing is billed past your credit. Topped-up credit never expires, and a plan's monthly credit is spent before it.
Does my plan cover other Clair APIs?
Yes. One key and one wallet cover every Clair API, and every call spends from the same credit at your plan's rates. Your first call starts the free tier.
Learn more about the YouTube Transcript API
Use cases
- YouTube transcripts for RAG
Video transcripts, chunked with timestamps, for an index.
Best APIs
More from the YouTube API
The same key covers every endpoint. See the full YouTube API.
Related APIs
APIs teams often combine with the YouTube API.
Crunchbase API
Glassdoor API
Instagram API
Bloomberg API
Associated Press API