v1
latestOpenAPI 3.1.02026-07-2619047.9 KBSwap Quote
Returns a swap quote between two SPL mints. The quote response can be passed as-is into POST /v1/swap/swap to build the swap transaction.
Query parameters
Input token mint address.
Output token mint address.
Raw amount to swap before decimals are applied, as an unsigned integer string.
Slippage threshold in basis points.
Use ExactIn for fixed input amount or ExactOut for fixed output amount.
Optional comma-separated list of DEX labels to include.
Optional comma-separated list of DEX labels to exclude.
Restrict intermediate tokens to a more stable set.
Limit routing to a single hop.
Request a legacy transaction-compatible route.
Optional platform fee in basis points.
Approximate maximum account budget for the route.
Instruction format to target.
Keep for compatibility with upstream quote parameters.
Exclude routes that are incompatible with Jito bundles.
Allow dynamic selection of intermediate tokens.
Response
Swap quote