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.
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. |