Skip to main content
POST
Get trade quote (EVM + Solana)
Use NATIVE keyword for fromToken/toToken to trade native assets (ETH, SOL, etc.). Rate-limited (15/min per user). Solana mainnet only (devnet/testnet not supported). If from provided with ERC20, returns approvalNeeded and spender.

Authorizations

x-api-key
string
header
required

Body

application/json
chain
string
required

EVM chain slug

fromToken
string
required
toToken
string
required
amount
string
required

Amount in wei (decimal or 0x-hex)

from
string | null

Wallet address for allowance checks (optional)

includeGas
boolean | null

Include gas estimates (optional)

protocols
string | null

Comma-separated allowlist of protocols (optional)

excludeProtocols
string | null

Comma-separated blocklist of protocols (optional)

Response

Quote response

quote
object
required