Skip to main content
GET
Get swap quote

Headers

Authorization
string

Optional API key: Bearer vulcx_.... Anonymous calls are allowed but capped at a small per-IP rate limit — see Rate limits.

Example:

"Bearer vulcx_..."

Query Parameters

inputMint
string
required

Input token mint address (base58-encoded public key).

Example:

"So11111111111111111111111111111111111111112"

outputMint
string
required

Output token mint address (base58-encoded public key).

Example:

"uSd2czE61Evaf76RNbq4KPpXnkiL3irdzgLFUMe3NoG"

amount
string
required

Amount in smallest token units (lamports for FOGO, base units for SPL tokens). For FOGO with 9 decimals: 1000000000 = 1 FOGO.

Example:

"1000000000"

swapMode
enum<string>
required

How the amount is interpreted. ExactIn: amount is exact input, output is estimated. ExactOut: amount is exact desired output, input is estimated.

Available options:
ExactIn,
ExactOut
Example:

"ExactIn"

slippageBps
integer
default:50

Slippage tolerance in basis points (1 bps = 0.01%). Defaults to 50 (0.5%). Common values: 10 (0.1%), 50 (0.5%), 100 (1%), 300 (3%).

Example:

50

Response

Quote calculated successfully.

success
boolean
Example:

true

data
object

Swap quote with routing and price impact details.

Last modified on August 31, 2026