anyapi_youtube_video_transcript $0.01375 per call

YouTube Video Transcript. Fetch the transcript/captions of a YouTube video or Short by URL or ID. (AnyAPI · YouTube)

For AI agents: call anyapi_youtube_video_transcript
POST https://toll402.dev/v1/p/anyapi.youtube.video_transcript
{
 "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": {
  "id": {
   "type": "string",
   "description": "YouTube video ID. A Short uses the same ID as any other video."
  },
  "url": {
   "type": "string",
   "description": "Full YouTube video URL. Shorts (youtube.com/shorts/...), youtu.be, live, and embed URLs all work.",
   "examples": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
   ]
  }
 },
 "additionalProperties": true
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI