youtube.com
Get YouTube video transcript
Input
video_id requiredYouTube video id, e.g. "jNQXAC9IVRw" (the v= parameter, or the last path segment of a youtu.be link)
Output
segments requiredvideo_id requiredavailable requiredfalse only when the video is playable but has no captions in any language. A video that does not exist, or is private / region-blocked / sign-in-gated, throws instead of reporting false.
language optionalLanguage code of the track actually returned. Deterministic: the video's default caption track.
