Trade API
Get Quotes
Get best-route quotes for same-chain swaps and cross-chain bridges, ranked across providers.
POST
Returns the best available routes for one or more swap/bridge pairs, including recommended provider, priced route, and fees. Transaction calldata is not included - call
/v1/buildTx separately once you’ve picked a route.
Body
integer
required
Source chain ID for every item in
data.object[]
required
Array of trade requests to quote.
string
User’s wallet address.
string
Quote filter:
all (default), best, or fastest.boolean
Request gasless-eligible quotes.
boolean
Request private/MEV-protected quotes.
boolean
Skip gas/output estimation for a faster response.
object
Allow/deny list of bridge providers:
{ allow?: string[]; deny?: string[] }.object
Allow/deny list of DEX providers:
{ allow?: string[]; deny?: string[] }.object
Fine-tune quote collection timing.
Response
The response is an object keyed by pair identifier ({fromChain}_{srcToken}_{toChain}_{destToken}), not wrapped in a data envelope.
string
Per-pair status, if applicable.
string
Provider ID of the recommended route.
string
Provider ID with the best return - use as a fallback route.
string
Provider ID with the fastest execution (bridge quotes only).
object
Map keyed by provider ID, each value a full quote.
object
Map of
chainId → token addresses missing price data.Examples
Last modified on July 29, 2026