Get a YouTube transcript
get_transcriptRetrieve captions from one YouTube video by URL or 11-character ID in TXT, Markdown, JSON, SRT, VTT, or CSV, with optional timestamps.
Instructions
Get the transcript (captions) of one YouTube video. Accepts a video URL (watch, youtu.be, Shorts, embed) or an 11-character video ID. Uses 1 GetTranscript credit; failed videos are refunded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video": "<video>"
},
"name": "get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube URL or video ID | |
| format | No | Output format. txt or md read best for an AI model; json keeps segments with timestamps. | txt |
| timestamps | No | Include timestamps for every line (default false: clean paragraphs). |