X402 Router answers one question for an agent: which x402 pay-per-call API should I use for this task, and what will it cost? It searches a registry of ~24,000 LIVE x402 endpoints that is re-probed every 3 hours. Pick the guide for your stack:
Free trial: 3 free trial calls per wallet per day, no payment needed. Add the header X-402-Trial: <your wallet address> (EVM 0x… or Solana) to /route/paid and you get the same full ranked answer a paid call gets. Limits: 3 per wallet and 3 per IP per UTC day, from a shared pool of 100 a day. After that you get the normal 402. Try it · trial.sh · trial_call.py
| Call | Price | Returns |
|---|---|---|
POST /route | free | best match + top 3 (name, url, price) |
POST /route/paid + X-402-Trial header | free trial (3 per wallet per day) | the same answer as the paid call |
POST /route/paid | 0.01 USDC | best pick with payTo/networks/asset ready to pay, plus up to 25 ranked matches with latency, score, reliability |
GET /check/paid?url= | 0.002 USDC | fresh live probe of one endpoint |
GET /status/endpoint?url= | free | last 20 crawl probes for one endpoint |
All code on these pages is in /examples as downloadable files.
Prices: /route/paid 0.01 USDC, /check/paid 0.002 USDC, /route free. x402 v2 on Base (eip155:8453) or Solana. Machine-readable: OpenAPI · /.well-known/x402 · llms.txt