{"service":"Routheus","description":"Live DEX token prices and best-route swap quotes across 13 EVM chains (Base, Ethereum, Arbitrum, BSC, Optimism, Polygon and more). Sub-millisecond answers from our own real-time pool-state engine, not a proxy. Executable swap calldata (Permit2), simulation-verified quotes, chained-state arb quoting, token metadata, token search, DEX pools. For AI agents: pay per call in USDC on Base via x402, no API keys, no subscription. From $0.001 per call; failed simulations and no-route answers are free.","x402Versions":[1,2],"scheme":"exact","pay_to":"0x3c90C25c8d83D3FFD334d5aF2CEc5A5f256896A9","payment_networks":[{"network":"base","caip2":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","eip712_name":"USD Coin","eip712_version":"2","decimals":6},{"network":"polygon","caip2":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","eip712_name":"USD Coin","eip712_version":"2","decimals":6},{"network":"arbitrum","caip2":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","eip712_name":"USD Coin","eip712_version":"2","decimals":6},{"network":"avalanche","caip2":"eip155:43114","asset":"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","eip712_name":"USDC","eip712_version":"2","decimals":6}],"facilitator":"https://facilitator.payai.network","chains":["arb","ava","base","ber","bsc","eth","gno","hem","hyp","opt","pol","son","uni"],"products":[{"kind":"quote","method":"GET","path":"/{chain}/api/router/dag-quote","price_usdc":"0.002","price_atomic":"2000","unit":"per input amount (10% off on multi-input batches)","summary":"Live DEX token price and best-route swap quote for any token pair by contract address: output amount and split routing, sub-millisecond from our own pool-state engine — not an aggregator proxy. Batch up to 50 amounts via amounts_in.","params":"token_in, token_out, amount_in (or amounts_in), slippage_bps","example":"https://routheus.xyz/arb/api/router/dag-quote"},{"kind":"quote_calldata","method":"GET","path":"/{chain}/api/router/dag-quote","price_usdc":"0.01","price_atomic":"10000","unit":"per input amount (10% off on multi-input batches)","summary":"Ready-to-sign DEX swap transaction: best route plus executable calldata (Permit2 supported), expected output and min-out at slippage. Add to=<recipient>; add with_permit2_data=true for a Permit2 template with signature placeholders.","params":"same as quote + to, with_permit2_data","example":"https://routheus.xyz/arb/api/router/dag-quote"},{"kind":"quote_sim","method":"GET","path":"/{chain}/api/router/dag-quote","price_usdc":"0.02","price_atomic":"20000","unit":"per simulated amount (10% off on multi-input batches)","summary":"Simulation-verified swap quote — amount_out IS the onchain eth_call result, not an estimate. For agents that must not overquote. Failed simulations are free.","params":"same as quote/calldata + simulate=true","example":"https://routheus.xyz/arb/api/router/dag-quote"},{"kind":"quote_arb","method":"GET","path":"/{chain}/api/router/dag-quote","price_usdc":"0.02","price_atomic":"20000","unit":"per request (not combinable with simulate or amounts_in)","summary":"EXCLUSIVE chained-state quoting for arbitrage sizing and MEV bundles (quote_on_top_of_amounts): final output as if prior in-flight swaps already executed, up to 8 chained amounts. No other x402 API offers this.","params":"same as quote/calldata + quote_on_top_of_amounts=a,b,c","example":"https://routheus.xyz/arb/api/router/dag-quote"},{"kind":"token_metadata","method":"GET","path":"/{chain}/api/tokens/metadata","price_usdc":"0.001","price_atomic":"1000","unit":"per request","summary":"ERC-20 token metadata by contract address: name, symbol, decimals, balance storage slot. Cache-only; unknown tokens return an error (never charged).","params":"token","example":"https://routheus.xyz/arb/api/tokens/metadata"},{"kind":"token_search","method":"GET","path":"/{chain}/api/tokens/search","price_usdc":"0.003","price_atomic":"3000","unit":"per request","summary":"Search tokens by symbol, name or contract address — resolve a ticker to the right contract before quoting; returns addresses and pool counts (paginated).","params":"query, page, page_size","example":"https://routheus.xyz/arb/api/tokens/search"},{"kind":"pools_list","method":"GET","path":"/{chain}/api/pools/list","price_usdc":"0.002","price_atomic":"2000","unit":"per request","summary":"DEX liquidity pools: filter by token pair, factory or pool kind, optional live state/reserves. Raw pool data for routing and analytics.","params":"token, tokens, kind, factory, include_state, page, page_size","example":"https://routheus.xyz/arb/api/pools/list"}],"notes":["Pay in USDC on ANY listed payment network — every 402 offer carries one accepts entry per network; pick one.","Both x402 v1 (X-PAYMENT header, JSON body offer) and v2 (PAYMENT-SIGNATURE header, base64 PAYMENT-REQUIRED offer header) are supported.","Payment is only settled for successful responses; upstream errors, failed simulations and {\"ok\":false} answers are never charged and the payment authorization can be reused.","One payment authorization (nonce) pays for exactly one served response.","Multi-input quotes (amounts_in, up to 50) are priced per amount with a 10% batch discount.","With simulate=true the returned amount_out IS the simulated on-chain result — what you'd actually receive, not a local estimate.","Quote responses with to= include ready-to-send transaction calldata; with_permit2_data=true returns a Permit2 template plus byte offsets (nonce_offset, permit_deadline_offset, signature_offset) where the caller splices their EIP-712 Permit2 signature.","Token metadata is served from the local index only — unknown tokens return an error, no on-demand RPC lookups.","Only the documented query parameters are accepted; anything else is ignored."],"links":{"landing":"https://routheus.xyz/","openapi":"https://routheus.xyz/openapi.json","well_known":"https://routheus.xyz/.well-known/x402","chains":"https://routheus.xyz/chain-peers","llms_txt":"https://routheus.xyz/llms.txt"}}