Aqua0
API ReferenceSwaps

Preview a swap quote (1inch Aqua or Uniswap V4)

Simulates a swap and returns the preview WITHOUT any signature or capital hold. Both venues are just-in-time, meaning neither holds capital between swaps. The `venue` body field selects the path. `aqua` simulates against the 1inch Aqua router for a shipped-strategy fill (body: order, tokenIn, tokenOut, amountIn, takerData, with chainId as a query parameter). `v4` prices a just-in-time liquidity fill against Aqua0's own vault capital and JIT range preferences (body: poolId, chainId, token0, token1, swapDirection, tickSpacing, requestedAmount0/1, tradeType). Read-only.

POST
/api/swap/quote

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Response Body

curl -X POST "https://example.com/api/swap/quote"
Empty
Empty