Skip to main content
GET
Get quote

Authorizations

X-API-Key
string
header
required

Path Parameters

mint
string
required

Token mint address

Query Parameters

inputMint
string

Input token mint. Omit for SOL → token quotes. Pair with outputMint for cross token→token routes.

outputMint
string

Output token mint. Alone ⇒ sell :mint → this mint; with inputMint ⇒ explicit pair, always honored.

wallet
string

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.

slippageBps
integer
default:500

Slippage tolerance in basis points

amount
integer
default:1000000000

Input amount in lamports (default 1 SOL)

maxHops
integer

Cap the route search depth (1–3 hops). Can only tighten the operator ceiling, never widen it.

Required range: 1 <= x <= 3
includeDex
string

Comma-separated DEX allowlist — labels match route[].dex, case/spacing-insensitive (e.g. pumpswap,raydium-cpmm).

excludeDex
string

Comma-separated DEX denylist. Wins over includeDex.

Response

Quote retrieved

success
boolean
Example:

true

data
object

Quote result