x402 Endpoint Check
x402_checkCheck an x402 endpoint before paying it. Makes one unpaid call, reads the 402 payment terms (v1 body or v2 header) and validates every option: the token is the official USDC contract for its network (not a look-alike), the price parses, the terms point back at the URL you called. Screens the payTo wallet (OFAC sanctions, scam list, on-chain basics), checks the site against 360k+ crypto phishing domains and its domain age, and reads the endpoint's public record on nohumans.directory (verified, delivered when bought). Returns do_not_pay / caution / no_problems_found with reasons, plus the cheapest option. Price: $0.005 USDC per call (x402). Free sample: call free_sample with tool="x402_check".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The x402 endpoint you are about to pay, with its parameters | |
| method | No | GET (default) or POST: how you will call it | |
| max_price | No | Optional: your budget per call in USD; a higher price is flagged |