crawl4ai_youtube_video_captions $0.002063 per call
Captions of a YouTube video. One YouTube video's captions (its transcript) in one language, as one row: the whole text, the timed lines, whether they are auto-generated, and every caption language the video has. `video` is the watch URL, a youtu.be or shorts link, or the 11-character id; `language` a code such as en, es or pt-BR (default en), or `any` for the default captions. A person's track comes before an auto-generated one. No captions in that language gives no row and a warning listing the languages. 1 to 3 s; when YouTube refuses, a slower second source gives the default captions (billed even when it has none). Col (Crawl4AI · YouTube)
For AI agents: call crawl4ai_youtube_video_captions
POST https://toll402.dev/v1/p/crawl4ai.youtube.video.captions
{
"video": "dQw4w9WgXcQ"
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"language": {
"type": "string",
"description": "default en",
"examples": [
"en"
]
},
"video": {
"type": "string",
"examples": [
"dQw4w9WgXcQ"
]
}
},
"additionalProperties": true,
"required": [
"video"
]
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}