v1
latestOpenAPI 3.1.02026-07-228799577.7 KBGet swap quote
Get the best swap quote across all supported DEXes with optimal routing
get/quote
Query parameters
inputMintstring required
Input token mint address
outputMintstring required
Output token mint address
amountinteger required
Input amount in lamports
slippageBpsstring
Slippage in basis points or 'dynamic'
dexesstring
Comma-separated list of DEXes to include
poolsstring
Comma-separated list of specific pool addresses
maxHopsinteger
Maximum routing hops
feeBpsinteger
Platform fee in basis points
feeFromInputboolean
Take fee from input amount
chargeBpsinteger
Extra charge on positive slippage
feeAccountstring
Fee recipient wallet address
Response
Successful quote response