YouTube Transcript API
youtube_transcriptExtract a timestamped transcript from any YouTube video link or video ID. Use it to get captioned video text, noting that private videos and videos without captions return no transcript.
Instructions
Convert any YouTube video to a transcript with timestamps. Costs 1 credit per successful call. A transcript exists only when the video has captions, written by the creator or generated by YouTube. Private videos and videos with captions turned off return no transcript. Auto-generated captions can contain mistakes, especially with names and technical terms.
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": {
"url": "<url>"
},
"name": "youtube_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video link. Works with watch, youtu.be, Shorts and embed links, or a bare video ID. |