Skip to main content
GET
Get swap quote.
Get a quote for swapping assets across different blockchain networks.

Authorizations

garden-app-id
string
header
required

If you do not yet have an app ID, please follow these steps.

Query Parameters

from
required

Mainnet

Available options:
arbitrum:wbtc,
ethereum:wbtc,
arbitrum:ibtc,
base:cbbtc,
bitcoin:btc,
bnbchain:btcb,
botanix:btc,
citrea:cbtc,
ethereum:cbbtc,
ethereum:usdt,
hyperevm:ubtc,
litecoin:ltc,
monad:mon,
monad:usdc,
solana:cbbtc,
solana:sol,
solana:usdc,
starknet:wbtc,
tron:usdt
to
required

Mainnet

Available options:
arbitrum:wbtc,
ethereum:wbtc,
arbitrum:ibtc,
base:cbbtc,
bitcoin:btc,
bnbchain:btcb,
botanix:btc,
citrea:cbtc,
ethereum:cbbtc,
ethereum:usdt,
hyperevm:ubtc,
litecoin:ltc,
monad:mon,
monad:usdc,
solana:cbbtc,
solana:sol,
solana:usdc,
starknet:wbtc,
tron:usdt
from_amount
string
to_amount
string
affiliate_fee
integer

(Optional) Add an affiliate fee to each swap, defined in bips (100 bips = 1%).

slippage
integer

(Optional) Add slippage up to 5% for each quote/swap, defined in bips (100 bips = 1%.

indicative
boolean

Return an indicative quote. Default: false

Response

200 - application/json

Quote information.

status
enum<string>
Available options:
Ok,
Error
error
string | null
result
object[]