{"slug":"x402-tools-com-v1-x402-preflight-9a6733","title":"Give it the x402 endpoints your agent is about to call and your spending rules (","host":"x402-tools.com","method":"POST","resource":"https://x402-tools.com/v1/x402-preflight","category":"market","description":"Give it the x402 endpoints your agent is about to call and your spending rules (per-request cap, total budget, allowed networks). It probes every endpoint without paying, in parallel, and returns which ones are safe to pay, the real price in USD, network and pay-to address of each, the total cost, a","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":33,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"budget_usd":0.02,"max_price_usd":0.01,"networks":["base"],"urls":["https://x402-tools.com/v1/markdown","https://x402-tools.com/v1/image"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"budget_usd":{"description":"Total budget in USD for this batch. Endpoints are approved in order until it runs out.","type":"number"},"max_price_usd":{"description":"Per-request cap in USD. Endpoints that cost more are blocked.","type":"number"},"networks":{"description":"Allowed networks, e.g. [\"base\"] or [\"eip155:8453\"]. Default: any mainnet.","type":"array"},"urls":{"description":"1 to 10 x402 endpoint URLs, or objects { url, method } to probe with POST.","type":"array"}},"required":["urls"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":33,"error":null},{"day":"2026-11-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":39,"error":null},{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":29,"error":null}],"description_full":"Give it the x402 endpoints your agent is about to call and your spending rules (per-request cap, total budget, allowed networks). It probes every endpoint without paying, in parallel, and returns which ones are safe to pay, the real price in USD, network and pay-to address of each, the total cost, and a plain reason for every endpoint it blocks (over the cap, over budget, testnet only, not a valid x402 endpoint, non-USD price). Use it as a guardrail step in any agent that spends money.","last_updated":"2026-11-27T23:47:38.768Z","schemes":["exact"]}