x402 Router
v0.1.2Search 24.5k+ live, probed x402 endpoints; route to the best.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_x402_endpoints
Search LIVE x402 (HTTP 402 pay-per-call) endpoints. Filters: q (text), chain (Base, Solana...), category, max_price (USDC), min_score (0-100), sort (score|price|latency|newest), limit (1-50).
| Parameter | Type | Description |
|---|---|---|
category | string | |
chain | string | |
limit | integer | |
max_price | ||
min_score | ||
q | string | |
sort | string |
route_x402_request
FREE. Best live x402 endpoint for a task plus the top 3 (POST /route). Filters: q, category, chain, max_price. For the full ranked list with latency/reliability and a ready-to-pay pick use find_best_x402_endpoint. Does not pay.
| Parameter | Type | Description |
|---|---|---|
agent | string | |
category | string | |
chain | string | |
max_price | ||
q | string |
get_registry_stats
Registry summary: total/LIVE counts, LIVE by chain, median price, last crawl time, router health.
get_paid_route_requirements
Return the x402 payment requirements of the paid route (/route/paid) without paying.
find_best_x402_endpoint
PAID ($0.01 USDC on Base via x402). Full ranked list (up to 25) of live-tested x402 APIs for a task, with latency, reliability, price, payTo/networks, plus a ready-to-pay best pick. Needs X402_EVM_PRIVATE_KEY; otherwise returns the price.
| Parameter | Type | Description |
|---|---|---|
agent | string | |
category | string | |
chain | string | |
max_price | ||
q | string |
check_x402_endpoint
PAID ($0.002 USDC on Base via x402). Fresh live probe of one registry endpoint: is it up (HTTP 402), latency, the real price and payTo it asks for now, and whether that matches the registry. Needs X402_EVM_PRIVATE_KEY.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
agent | string |