YouTube Transcript API
youtube_transcriptGet the full spoken transcript of any public YouTube video, returned as timed segments. Submit a public video URL and receive readable text with timestamps.
Instructions
The full spoken transcript of a public YouTube video, with timed segments. Returns one object. Fields use this platform's own names. Cost: 2 credits on a live read, 0 on a cache hit. Public data only: no bios, contact details or login-walled data. Read-only.
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 | A public URL, for example https://www.youtube.com/watch?v=dQw4w9WgXcQ | |
| cache | No | Defaults to true. Only pass false when you specifically need a live read — it always costs credits, where a cache hit is free. |