the402 endpoint detail

← All endpoints

gate402.app v1 best-swap

https://gate402.app/v1/best-swap

answers 402

Best-execution intel for a Base token: which DEX pool to trade on and the estimated price impact + total cost for a given trade size, ranked across pools, with a split suggestion. Constant-product estimate for trading agents — the execution plan, not a firm quote.

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

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fgate402.app%2Fv1%2Fbest-swap"