Skip to main content
GET
Estimate a swap

Authorizations

Authorization
string
header
required

Partner API key in the form Authorization: Bearer fn_....

Query Parameters

sourceChain
enum<string>
required
Available options:
arbitrum,
arc,
avalanche,
base,
bitcoin,
bsc,
ethereum,
hedera,
hypercore,
hyperevm,
lightning,
litecoin,
monad,
monero,
optimism,
plasma,
polygon,
robinhood,
sei,
solana,
spark,
tempo,
ton,
tron,
xrp,
zcash
sourceAsset
required

An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.

Available options:
AAPL,
AI,
AMD,
AMZN,
BNB,
BONER,
BTC,
CASHCAT,
COIN,
COST,
DAI,
DELTA,
DJT,
ETH,
GLD,
GME,
GOOGL,
GRAM,
HIMS,
HSUSD,
HYPE,
IF,
LTC,
META,
MON,
MSFT,
MSTR,
MU,
NVDA,
OUSD,
PIPEDOG,
PLTR,
POL,
PONS,
PYUSD,
PathUSD,
QQQ,
RDDT,
SHX,
SKHY,
SLV,
SNDK,
SOL,
SPCX,
SPY,
STONKBROKER,
TENDIES,
TRX,
TSLA,
TSM,
UP,
USDB,
USDC,
USDC.e,
USDG,
USDT,
USDe,
USD₮0,
USO,
WBNB,
WBTC,
WEN,
XMR,
XO,
XPL,
XRP,
ZEC,
cbBTC,
tBTC
destinationChain
enum<string>
required
Available options:
arbitrum,
arc,
avalanche,
base,
bitcoin,
bsc,
ethereum,
hedera,
hypercore,
hyperevm,
lightning,
litecoin,
monad,
monero,
optimism,
plasma,
polygon,
robinhood,
sei,
solana,
spark,
tempo,
ton,
tron,
xrp,
zcash
destinationAsset
required

An AssetInput, or a token address. An unlisted destination adds minAmountOut and fallback to the quote.

Available options:
AAPL,
AI,
AMD,
AMZN,
BNB,
BONER,
BTC,
CASHCAT,
COIN,
COST,
DAI,
DELTA,
DJT,
ETH,
GLD,
GME,
GOOGL,
GRAM,
HIMS,
HSUSD,
HYPE,
IF,
LTC,
META,
MON,
MSFT,
MSTR,
MU,
NVDA,
OUSD,
PIPEDOG,
PLTR,
POL,
PONS,
PYUSD,
PathUSD,
QQQ,
RDDT,
SHX,
SKHY,
SLV,
SNDK,
SOL,
SPCX,
SPY,
STONKBROKER,
TENDIES,
TRX,
TSLA,
TSM,
UP,
USDB,
USDC,
USDC.e,
USDG,
USDT,
USDe,
USD₮0,
USO,
WBNB,
WBTC,
WEN,
XMR,
XO,
XPL,
XRP,
ZEC,
cbBTC,
tBTC
amount
string
required
Pattern: ^[0-9]+$
amountMode
enum<string>
Available options:
exact_in,
exact_out
deliveryMode
enum<string>

Delivery mode; fixed requires exact_in and an eligible route with active partner terms. A route accepts fixed only where /v2/orchestration/routes reports fixedEligible (fixedTo); other routes return 400 fixed_delivery_unsupported_route. Fixed estimates are indicative; quotes validate exact-output affordability before returning deposit instructions. Fixed stablecoin routes to Solana USDC include recipient token-account creation costs upfront and preserve the quoted payout.

Available options:
variable,
fixed
recipientAddress
string

Destination recipient for validation and network costs; use the owner address for Solana tokens.

Minimum string length: 1
slippageBps
integer
Required range: 0 <= x <= 1000
affiliateErrorMode
enum<string>

Opt in to affiliate_not_found / affiliate_disabled for registered affiliate lookup failures. Omitted or legacy preserves invalid_request. HTTP 400 in either mode.

Available options:
legacy,
specific
sourcePaymentMode
enum<string>

Shielded is native ZEC exact-in variable only. No account or provider deposit is allocated by estimates.

Available options:
default,
shielded
routing
enum<string>
Available options:
best_return
allowedProviders
string

Shielded only: comma-separated near-intents and/or hyperunit, without duplicates.

maxEstimatedSettlementSeconds
integer

Shielded only: upper bound for eligible provider estimates.

Response

Quote estimate

estimatedOut
string
required
feeAmount
string
required
feeBps
integer
required
feeAsset
string
required
route
string[]
required
source
object
required
destination
object
required
sourcePaymentMode
enum<string>
Available options:
shielded
priceValidUntil
string<date-time>

Two-minute indicative pricing deadline. Execution reprices after verified receipt and must preserve lockedMinAmountOut.

execution
object
amountMode
enum<string>
Available options:
exact_in,
exact_out
targetAmountOut
string
requiredAmountIn
string
maxAcceptedAmountIn
string
inputBufferBps
integer
deliveryMode
enum<string>
Available options:
fixed
roundingFeeAmount
string
totalFeeAmount
string
networkCostAmount
string

Quoted network cost in smallest units of networkCostAsset.

networkCostAsset
string

Asset used to pay the quoted network cost.

networkCostRequired
boolean

Whether the quoted network cost must be paid.

networkCosts
object[]

Itemized network costs and quote-time assumptions.

appFeeAmount
string
appFeePlatformCutAmount
string
appFees
object[]
feeAssetDetails
object
feeAmountUsd
string
totalFeeAmountUsd
string
minAmountOut
string

Unlisted destinations only: the least amount of the token, in its smallest units, the recipient receives when the swap succeeds. Enforced on chain at the recipient.

fallback
object

Unlisted destinations only: what the recipient receives if the swap into the token cannot deliver minAmountOut.