Quote

To get the best priced quote, and retrieved quote will be used in POST /v1/swap.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Chain ID

string
required

Input token address

string
required

Output token address

integer
required

The amount to swap, have to factor in the token decimals.

string
enum

DEX list, separated by comma. If not specified, all DEXs will be used.

Allowed:
string
enum

DEX list to be excluded, separated by comma. If not specified, all DEXs will be used.

Allowed:
boolean
Defaults to false

Commission direction. true means charge from inputToken, false means charge from outputToken

uint16

Commission rate, in basis points (bps), e.g. 15 means 0.15%. When charging inputToken, deduct from amountIn before quote; when charging outputToken, quote first then deduct from amountOut

string

user address

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json