Validate an x402 endpoint now
check_x402_endpointSend an unpaid request and validate the endpoint's HTTP 402 challenge, accepted networks, scheme, amount, and recipient. The target probe does not attach payment. Costs $0.001 USDC per call via x402 (Base) — no API key, no account. Calling without payment returns 402 with the payment requirements. Free alternative: GET https://longwatch.dev/demo for a free NVDA Form 4 sample, or POST https://longwatch.dev/try for a 24h watch — no wallet needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTP(S) payment endpoint URL, e.g. https://example.com/paid-api | |
| body | No | x402: optional JSON object for POST/PUT/PATCH/DELETE, e.g. {"type":"edgar","ticker":"NVDA"}; omit for GET/HEAD | |
| method | No | x402: HTTP method, default GET. POST/PUT/PATCH/DELETE can modify the target even without payment; use only on a target you are authorized to probe | |
| expected_scheme | No | x402: optional expected scheme, e.g. exact | |
| expected_network | No | x402: optional expected CAIP-2 network, e.g. eip155:8453 | |
| expected_amount_atomic | No | x402: optional expected token amount in atomic units, e.g. "1000" for 0.001 USDC |