Get CEX Quote API
Retrieves a quote for an exchange transaction, providing details on estimated input and output amounts, supported limits, and exchange duration.
Endpoint: GET/quote
GET/quoteResponse: A JSON object containing Quote details.
Parameters:
amount
string
The amount which the client is willing to transfer (Example: 2)
from
string
The TokenID of a currency the client will transfer (Example: BNB)
to
string
The TokenID of a currency the client will receive (Example: ETH)
anonymous
boolean
Anonymous / Non-anonymous flow. For Anonymous, it will go through a XMR route
useXmr (optional)
boolean
Use XMR if it is true or if it is false use another token for the anonymous transaction for the quote or exchange.
Example Request:
GET/quote?amount=2&from=ETH&to=BNB&anonymous=false&useXmr=falseExample Response:
{
"amountIn": 2,
"amountOut": 12345,
"min": 0.1,
"max": 99999999,
"useXmr": false,
"duration": 15
}Response Fields:
amountIn
number
Quoted amount in
amountOut
number
Quoted amount out
deviceInfo (optional)
string
Device info type (e.g., Linux, Windows)
isMobile (optional)
boolean
Indicates if the request is from a mobile device
clientId (optional)
string
Client ID
min
number
Minimum amount accepted for exchange
max
number
Maximum amount accepted for exchange
useXmr
boolean
Use XMR if true, otherwise use another token for an anonymous transaction
duration
number
Duration of the exchange in minutes
Last updated