Check up to 10 x402 endpoints before paying ($0.005 via x402)
x402_preflight_batchRead-only
Paid ($0.005 USDC via x402 on Base or Solana): the pre-payment check for up to 10 x402 endpoints at once. Per endpoint go, caution or no_go, the recommended payment option and why, plus totals. For marketplaces and agents that weigh several services. Never pays the endpoints. Same as GET /api/v1/preflight/batch. The answer carries a signed receipt (EIP-191, bound to your arguments) that proves later which verdict you got.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | The x402 endpoints to check (public http(s) URLs), at most 10 | |
| method | No | HTTP method of the paid route (default: GET, then POST) | |
| max_usd | No | Your budget per call in USD, e.g. 0.05 | |
| network | No | CAIP-2 network you want to pay on, e.g. eip155:8453 |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| counts | No | How many go, caution, no_go and unknown | |
| accepts | No | Only on an unpaid call: the x402 payment options | |
| receipt | No | Signed receipt (EIP-191) binding the answer to your arguments | |
| results | No | One preflight per endpoint |