Skip to main content
GET
GET /api/v2/swap/quote — Get a swap quote (read-only, cacheable)

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <jwt> for user auth or Authorization: Bearer sk_{keyId}_{secret} for API key auth.

Query Parameters

chain
string
required

Chain: solana, base, bsc

inputMint
string
required

Token address to sell

outputMint
string
required

Token address to buy

amount
string
required

Amount in base units (positive integer string, no decimals)

slippageBps
integer<int32>

Slippage in basis points (default: 100)

Response

Swap quote

V2 success response envelope

data
object
required
requestId
string
required
pagination
object | null

Page-based pagination info (per RFC)