anyapi_youtube_video_transcript_full $0.00385 per call
YouTube Video Transcript (Provenance). Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition. (AnyAPI · YouTube)
For AI agents: call anyapi_youtube_video_transcript_full
POST https://toll402.dev/v1/p/anyapi.youtube.video_transcript_full
{
"url": "https://www.youtube.com/watch?v=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": {
"captionKind": {
"type": "string",
"description": "Which caption track to accept: \"manual\" only creator-written captions, \"automatic\" only YouTube's speech recognition, \"any\" whichever exists.",
"default": "any",
"enum": [
"manual",
"automatic",
"any"
]
},
"language": {
"type": "string",
"description": "Preferred caption language code (e.g. \"en\", \"es\"). Defaults to English."
},
"url": {
"type": "string",
"description": "YouTube video or Short URL (e.g. \"https://www.youtube.com/watch?v=dQw4w9WgXcQ\" or \"https://www.youtube.com/shorts/Fir1x9cw2vg\").",
"examples": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
]
}
},
"additionalProperties": true,
"required": [
"url"
]
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}