Get quote
Get the current price quote for a token. Requires API key.
Side resolution — the explicit params are always honored:
inputMint+outputMinttogether: used verbatim — this is how cross token→token pairs are quoted (e.g. BONK → JUP).inputMintalone: a quote mint (SOL/USDC/…) buys:mint; any other token keeps the legacy sell-side contract (:mint→ SOL).outputMintalone: sell:mint→ that mint.- Neither: buy
:mintwith SOL.
A request resolving to identical input and output (e.g.
/quote/{SOL}?inputMint=JUP) answers success:false
(“input and output mint must differ”).
Authorizations
Path Parameters
Token mint address
Query Parameters
Input token mint. Omit for SOL → token quotes. Pair with outputMint for cross token→token routes.
Output token mint. Alone ⇒ sell :mint → this mint; with inputMint ⇒ explicit pair, always honored.
Trader wallet. When the sim gate is enabled server-side, the served plan is built + simulated at quote time (alternatives retried on rejection), so the quote and its routeTicket are known-buildable. Unparseable values are ignored.
Slippage tolerance in basis points
Input amount in lamports (default 1 SOL)
Cap the route search depth (1–3 hops). Can only tighten the operator ceiling, never widen it.
1 <= x <= 3Comma-separated DEX allowlist — labels match route[].dex, case/spacing-insensitive (e.g. pumpswap,raydium-cpmm).
Comma-separated DEX denylist. Wins over includeDex.
