x402_proxy
Access x402-protected APIs with automatic payment. Dynamic pricing: 0.01 USDC fee + target cost. Supports USDC on Base.
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": {
"targetUrl": "<targetUrl>"
},
"name": "x402_proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetUrl | Yes | The x402-protected URL to access | |
| targetBody | No | Request body for POST/PUT requests | |
| paymentProof | No | Transaction hash of USDC payment (required after initial 402 response) | |
| targetMethod | No | HTTP method | GET |
| targetHeaders | No | Additional headers to send to target |