Skip to main content
POST
Get quotes

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Quote parameters.

fromToken
string
required

Input token mint address.

Minimum string length: 1
toToken
string
required

Output token mint address.

Minimum string length: 1
fromAmount
string
required

Input amount in the token's base units.

Minimum string length: 1
fromAddress
string

Wallet address sending the input token.

Minimum string length: 1
toAddress
string

Wallet address receiving the output token.

Minimum string length: 1

Response

Available quotes from the supported routes.

success
enum<boolean>
required
Available options:
true
data
object
required
timestamp
string
required