apihub_call_external
Call an external x402-protected URL (any provider in the marketplace or any x402 API). APIHub pays the provider on your behalf using the platform wallet and debits your credit balance for the exact amount. No wallet or gas required.
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": "apihub_call_external"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL to call (e.g. https://hub.atxp.ai/...) | |
| body | No | Request body (object or string). Omit for GET. | |
| method | No | HTTP method (default POST) | |
| headers | No | Additional request headers. Do not set Authorization or X-PAYMENT - handled automatically. |