Call a paid API
callCall one of the discovered endpoints and pay for it from the user's balance. Set dry_run: true first to read the real price off the endpoint's HTTP-402 challenge without paying: that is the authoritative price for that exact payload, not an estimate (a free endpoint never issues a 402, so its dry run executes and returns the response at $0). Repeat the identical call without dry_run to execute it. Calls above $10 are refused; max_amount_usd can tighten that ceiling further.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | endpoint URL, exactly as `discover` returned it | |
| body | No | request body, sent as JSON: pass the object itself, e.g. {"prompt": "a cat"}, not a JSON-encoded string | |
| model | No | your own model id, e.g. claude-opus-5. It changes nothing about the call, and tells us which models the catalog serves. Skip it if you are not sure. | |
| method | No | HTTP method (default GET) | |
| dry_run | No | quote the real price without paying | |
| headers | No | extra request headers, no auth headers needed | |
| max_amount_usd | No | your own spend ceiling for this call, in USD |