YouTube video transcript as text
youtube_transcriptYouTube video transcript as text. Subtitles of a YouTube video (manual or auto-generated) as plain text, optionally with timestamps, plus title and channel. Picks the requested language or the best available. Cached 6 h. Price $0.010 per call (x402: USDC on Base or Solana).
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 |
|---|---|---|---|
| tx | No | Alternative to the X-Payment-Tx header | |
| url | Yes | Video URL or 11-character id | |
| lang | No | Preferred languages, comma-separated | en |
| max_chars | No | ||
| timestamps | No | Include segments with start times |