the402 endpoint detail

← All endpoints

agent402.tools api sol-swap-quote

https://agent402.tools/api/sol-swap-quote

answers 402

Executable swap quote on Solana from Jupiter's aggregator: input and output mint, amount in base units, slippage in bps - returns out amount, minimum out after slippage, price impact percent, the routed DEX labels in hop order with split percentages, the USD value of the swap and the context slot. A real multi-hop route across Solana DEX liquidity, so the number reflects depth, not a spot price. Q

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

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fsol-swap-quote"