Skip to main content

Get quote

Interface address: /api/v1/quote
Note: This interface allows you to query the current fiat/crypto exchange rate, which may differ from the actual transaction price.

Request input parameters

ParameterTypeMandatoryDescription
fiatCurrencyStringYFiat currency
cryptoCurrencyStringYCryptocurrency
fiatAmountStringNFiat amount.
Mandatory when "tradeDir" is "BUY".
cryptoAmountStringNCryptocurrency amount.
Mandatory when "tradeDir" is "SELL".
tradeDirStringYBUY/SELL
networkStringNThe network associated with the cryptocurrency
typeStringN0: Cached quote used for price display. Default value: 0
1: Real quote, invoked when the user intends to place an order. The order will be executed based on the real quote and is valid for a limited period.
userIdStringNMandatory to provide when making a real quote
merchantUserIdStringNEither the merchantUserId or the userId
batchNoStringNBatch Number
quoteIdStringNQuote Id
payWayCodeStringNPayment type. Default: CARD

Output parameters

ParameterTypeMandatoryDescription
fiatCurrencyStringYFiat currency
cryptoCurrencyStringYCryptocurrency
fiatAmountStringYFiat amount
cryptoAmountStringYCryptocurrency amount
displayPriceStringYUnit price
displayFeeRateStringYTransaction fee rate
displayFeeStringYTransaction fee
networkFeeStringYGas fee
quoteIdStringNQuote ID
effectTimeIntNValidity period. Unit: millisecond
createTimeDateNCreate Time
zeroRateResponseObjectNZero Fee Rate
switchMarketStringNSwitch Info
discountPaidAmountStrStringNFiat Amount Payable After Deduction
discountPaidFeeAmountStrStringNDeductible Fee Amount Payable After Deduction
originalFeeRateStringNOriginal Fee Rate
originalDisplayFeeStringNOriginal Display Fee
feeOffStringNFee Discount

How was your Reading Experience with us?

footer_logoCopyright
socialsocialsocial
Quadrum Verslo Centra, Konstitucijos pr 21, Vilnius 08130 , Lithuania