Read the captions of a YouTube video as text
youtube_transcriptA YouTube video's captions as plain text and timestamped segments, with the video's title, channel, duration, views, publish date, chapters and the list of caption languages. Accepts watch, youtu.be, shorts, embed and live links or the 11-character id; pick a language with lang (default English, else the first track). Auto-generated captions contain recognition errors. A video without captions is a 404 and not charged. Price: $0.01 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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 YouTube link (watch, youtu.be, shorts, embed or live), or the 11-character video id | |
| lang | No | Caption language code, e.g. en, de or pt-BR (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| video | No | ||
| source | No | ||
| checkedAt | No | ||
| transcript | No | ||
| availableLanguages | No |