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.
Input token mint address.
"So11111111111111111111111111111111111111112"
Output token mint address.
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
Raw amount to swap before decimals are applied, as an unsigned integer string.
^\d+$"1000000"
Slippage threshold in basis points.
x >= 050
Use ExactIn for fixed input amount or ExactOut for fixed output amount.
ExactIn, ExactOut "ExactIn"
Optional comma-separated list of DEX labels to include.
"Raydium,Orca+V2"
Optional comma-separated list of DEX labels to exclude.
"Meteora+DLMM"
Restrict intermediate tokens to a more stable set.
true
Limit routing to a single hop.
false
Request a legacy transaction-compatible route.
false
Optional platform fee in basis points.
x >= 020
Approximate maximum account budget for the route.
x >= 064
Instruction format to target.
V1, V2 "V1"
Keep for compatibility with upstream quote parameters.
false
Exclude routes that are incompatible with Jito bundles.
false
Allow dynamic selection of intermediate tokens.
false
Swap quote
ExactIn, ExactOut x >= 0V1, V2, null x >= 0