Skip to main content
GET
Get Quotes By Chain And Address

Authorizations

Authorization
string
header
required

Query Parameters

amount
number<double>
required

Amount of the from token to swap as a decimal float in the token's display units (e.g. 1.5 BTC, 250.75 USDT) — not a base-units / wei integer like 100000000000000. Must be strictly greater than 0 and at most the maximum BSON Double value (Number.MAX_VALUE ≈ 1.7976931348623157e308).

Required range: 0 <= x <= 1.7976931348623157e+308
fromChain
string
required

Source chain identifier — shortName from GET /v2/chains (e.g. "ethereum", "kava_2222-10", "AssetHub") or numeric EVM chainId (e.g. "1", "42161").

Pattern: ^[A-Za-z0-9][A-Za-z0-9_.\-]{0,49}$
toChain
string
required

Destination chain identifier — shortName from GET /v2/chains (e.g. "ethereum", "kava_2222-10", "AssetHub") or numeric EVM chainId (e.g. "1", "42161").

Pattern: ^[A-Za-z0-9][A-Za-z0-9_.\-]{0,49}$
fromTokenAddress
string
toTokenAddress
string
slippage
number<double>

Slippage percentage, only used for decentralized swaps.

Required range: 0 <= x <= 100
useXmr
boolean
fixed
boolean

Request a fixed-rate quote. Only partners that support fixed rate will be returned.

deviationThreshold
number<double>

Maximum price deviation percentage when rotating wallets. Only used if rotatePayoutWallets is true. Default 5

Required range: 0 <= x <= 100
rotationLookback
integer<int32>

Number of recent orders to check for path rotation. Only used if rotatePayoutWallets is true. Default 10

Required range: 1 <= x <= 100
rotatePayoutWallets
boolean
rotateFallback
boolean
types
enum<string>[]
Available options:
private,
standard,
dex
swaps
enum<string>[]
Available options:
ch,
cl,
cn,
le,
se,
ss,
sx,
sz,
sp,
eb,
nx,
cc,
qx,
tc,
hu,
nic,
dl,
ad,
wh,
cf,
un,
jp,
mn,
rd,
ps,
cs,
kd,
ct,
zx,
wc,
su,
tt,
ni,
sd,
bg,
ab,
pt
inLegIncludedSwaps
string[]

Allowlist for the in-leg of anonymous (private, 2-hop) paths. When set, only these providers may be used as the in-leg. Silently ignored for STANDARD and DEX quotes, which are single-hop and have no in/out leg concept.

inLegExcludedSwaps
string[]

Providers excluded from the in-leg of anonymous (private, 2-hop) paths. Does not affect the out-leg. Silently ignored for STANDARD and DEX quotes, which are single-hop and have no in/out leg concept.

outLegIncludedSwaps
string[]

Allowlist for the out-leg of anonymous (private, 2-hop) paths. When set, only these providers may be used as the out-leg. Silently ignored for STANDARD and DEX quotes, which are single-hop and have no in/out leg concept.

outLegExcludedSwaps
string[]

Providers excluded from the out-leg of anonymous (private, 2-hop) paths. Does not affect the in-leg. Silently ignored for STANDARD and DEX quotes, which are single-hop and have no in/out leg concept.

senderAddress
string
receiverAddress
string
sort
enum<string>
Available options:
amountOut,
amountOutUsd,
amountIn,
duration
sortOrder
enum<string>
Available options:
asc,
desc

Response

Success

quotes
object[]
required
total
number<double>
required