Skip to main content
GET
Get trade v2 quote

Authorizations

x-api-key
string
header
required

API key authentication. Provide your API key as the header value.

Query Parameters

inputMint
string
required

Public key of the input token mint

outputMint
string
required

Public key of the output token mint

taker
string
required

Public key of the wallet that will sign the swap

amount
string
required

Amount to swap in the token's smallest unit, as a positive integer string of raw base units (1-20 digits, no leading zeros)

slippageBps
default:auto

'auto' or an integer 0-10000 in basis points

Available options:
auto
transactionSpeed
enum<string>
default:turbo

Priority fee tier used when building the transaction

Available options:
normal,
fast,
turbo
provider
enum<string>
default:auto

Provider to quote against. 'auto' races Jupiter and Titan (when Titan is configured) and serves the first success

Available options:
auto,
jupiter,
titan

Response

Successfully retrieved trade v2 quote

success
boolean
required
Example:

true

response
object