Get YouTube transcript
get_transcriptFetch the transcript of a public YouTube video. Accepts a full URL or an 11-character video ID. Defaults to Markdown (title + text), which is the most compact format for reading or summarizing. Use json for timestamped segments, srt/vtt for subtitle files. Costs 1 credit on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube URL or video ID | |
| format | No | Output format | md |
| language | No | Preferred caption language (BCP-47, e.g. en, es, pt-BR) | |
| timestamps | No | Prefix lines with timestamps (text/md) | |
| translate_to | No | Translate the transcript into this language |