Swap quote (no trade is made)
get_swap_quoteRead-onlyIdempotent
Estimate what a swap would return right now: the best route across the indexed DEX pools, amount out (decimal-adjusted), effective price, price impact (percent) and the smallest pool liquidity on the route (ADA). It never builds, signs or submits a transaction: the result includes swapUrl, a link the user opens to review the trade and sign it in their own wallet.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of tokenIn to sell, decimal-adjusted (100 = 100 ADA when tokenIn is ADA). | |
| tokenIn | Yes | What is sold: a token unit, or "lovelace" / "ADA" for ADA. | |
| tokenOut | Yes | What is bought: a token unit, or "lovelace" / "ADA" for ADA. |