get_youtube_video
YouTube video metadata: title, channel, views, length, description. GET /x402/youtube-video?url= — $0.01.
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": "get_youtube_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Any YouTube video URL, youtu.be or raw video id | |
| payment | No | Optional. Your x402 payment proof for this exact call — the PAYMENT-SIGNATURE value produced by settling this route's 402 challenge (USDC on Base or Solana), or an MPP 'Authorization: Payment ...' value. Omit on a first call: the tool then returns the live 402 challenge to pay against. This server relays your proof upstream and retries; it never creates or settles payments itself. |