v1

latestOpenAPI 3.0.02026-07-232731152.8 KB
MarketQueryService

GetDexQuote returns a cross-chain route quote from the configured DEX provider

Quote-only. Does not execute the swap. Response includes the raw route data needed by the client (or a follow-up call) to actually execute it

post/market/v1/dex/quote

Request body

allowMultiTxboolean
senderAddressstring

sender_address is the wallet address of the user initiating the swap.

Response

A successful response.

affiliateAddressstring

affiliate_address is the address that receives the affiliate fee for this route.

affiliateFeeBpsinteger

affiliate_fee_bps is the affiliate fee in basis points applied to this route (e.g. 100 = 1.00%).

approvalAddressstring

approval_address is the spender (LiFi router) that needs ERC-20 allowance.

approvalAmountstring

approval_amount is the minimum token amount (base units) that must be approved.

approvalTokenstring

approval_token is the ERC-20 contract address that must grant allowance before the swap. Empty for native-token swaps (no approval needed).

doesSwapboolean
estimatedAmountOutstring
evmTxstring

evm_tx is the RLP-serialized unsigned EIP-1559 transaction (hex, 0x-prefixed). Only present when provider is "lifi". Parse with viem's parseTransaction, then pass the extracted fields to sendTransaction (nonce is a placeholder — omit it).

providerstring

provider identifies which DEX routing provider fulfilled this quote ("skip" or "lifi").

routeDataobject

route_data is the full Skip route object required for swap execution. Contains the complete route including operations, required chain addresses, and all fields needed to call Skip's executeRoute without a separate route() call.

swapPriceImpactPercentstring
txsRequiredinteger
usdAmountInstring
usdAmountOutstring