Check an x402 endpoint before paying (paid)
check_x402_endpointIs this x402 endpoint safe to pay? Fetches its 402 terms with one GET (never pays) and checks: payTo validity and EIP-55 checksum, zero/token-contract/OFAC-sanctioned payTo, asset is canonical USDC for the network, amount vs your budget, price vs the price advertised in its OpenAPI and on x402scan, payTo vs the one x402scan recorded, HTTPS, redirects, resource host, domain age (RDAP), tunnels/shared hosts. Returns go/caution/no_go, the recommended payment option and findings. Costs $0.003 USDC per call via x402 (charged only on success). Without an x402 wallet you get the payment terms and the paid HTTP URL instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The x402 endpoint you are about to pay (full URL incl. query). Only GET is sent; nothing is paid. | |
| max_usd | No | Your budget per call in USD; above it the verdict is no_go. | |
| network | No | Preferred network, CAIP-2 (eip155:8453) or v1 name (base). |