← All endpoints
api.agentstools.dev swap price
https://api.agentstools.dev/swap/price
answers 402
Lightweight swap quote for Base without calldata: give tokenIn, tokenOut and raw amountIn and get the max-output route across Aerodrome and Uniswap V3, the buy amount, amountOutMin, price impact and the venues compared. A cheap price check before you build the full transaction.
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
- 0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- GET
- Response latency
- 173 ms
- Payment options
- 1 usable of 1
- Last checked
- 2026-09-06T01:16:50.894Z (2h ago)
- Category
- finance-crypto
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.agentstools.dev%2Fswap%2Fprice"