Get video transcript — YouTube API
Returns the transcript for a public video, in WebVTT format.
GET
/v1/youtube/videos/{videoId}/transcript1 credit per requestExample response200OK
Make the request.
One authenticated GET to /v1/youtube/videos/{videoId}/transcript. Authentication and error conventions stay consistent across endpoints. This page shows the path, parameters, response shape, limits, and credit rule for this operation.
Built for
- Data Analytics
- Market Research
- Platform Integration
const response = await fetch("https://api.konbiniapi.com/v1/youtube/videos/plN7JMbadRg/transcript", {
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
Parameters2
- videoIdrequiredIn · PathType · stringYouTube video ID (the v= value from a watch URL)
- languageIn · QueryType · stringLanguage code of the caption track to return, as listed in the video-detail endpoint's captions[].languageCode. Defaults to the channel's default track, or the first available one if none is set.
What you will probably call next.
The YouTube endpoints around this one — the same object at a different depth, or the same kind of read.
Try it on your own data.
Get a free API key and make this request in minutes. Failed and timed-out requests are automatically refunded.