the402 endpoint detail

← All endpoints

x402.donnyautomation.com polygon route

https://x402.donnyautomation.com/polygon/route

answers 402

Cheapest venue to buy and richest to sell ONE pair on Polygon PoS across QuickSwap, SushiSwap and Uniswap v3. Returns buyAt and sellAt (venue, price, tvlUsd), midSpreadBps, grossSpreadBps, optimalInput, venuesConsidered. Requires ?pair=SYM/SYM (e.g. WMATIC/USDC). Errors: 400 bad_pair, 404 not_routable, 502 upstream_read_failed. Ranks venues for one pair; to rank EVERY pair use /scan. Execution at

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.01
Network
base
Pay to
0x2740651e046c59aB2A6510401140643292d3a96F
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
107 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:12:50.565Z (31d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fx402.donnyautomation.com%2Fpolygon%2Froute"