Get YouTube transcript
get_youtube_transcriptRead-only
Get the transcript of a YouTube video from its link. Returns the captions YouTube has for the video (subtitles uploaded by the creator, or the auto-generated captions) as plain text, with the title, channel and the caption languages available. Does not work for videos without captions, or for private, members-only or age-restricted videos.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Link to a single YouTube video, for example https://www.youtube.com/watch?v=dQw4w9WgXcQ | |
| language | No | Language code of the captions to return, for example en, es or pt-BR. Defaults to the language spoken in the video. | |
| timestamps | No | Prefix every caption line with its start time, like [1:23]. Defaults to false. |