the402 endpoint detail

← All endpoints

api.agentstools.dev swap quote

https://api.agentstools.dev/swap/quote

answers 402

Non-custodial swap calldata for Base: give tokenIn, tokenOut, raw amountIn, slippage and recipient; we read Aerodrome and Uniswap V3 on-chain state, pick the max-output route, and return ready-to-sign transaction calldata plus the ERC-20 approval, amountOutMin, price impact and the venues compared. You sign with your own wallet — we never hold or move funds.

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

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.agentstools.dev%2Fswap%2Fquote"