Rate

Every request must contain common parameters

Demo code can be found at Github

Trade Rate

POST https://api.musepay.io/v1/rate/queryTradeRate

Retrieves exchange rate between currencies.

Request Body

NameTypeDescription

baseCurrency*

String

the first currency appearing in a currency pair

quoteCurrency*

String

used to determine the value of the base currency

symbolTradeType

String

buy or sell base on baseCurrency,default sell,

{
  "code": "200",
  "data": {
    "rate": "16078.8636472720095",
    "symbol": "USDT_TRC20-IDR",
    "timeMills": 1678085017746,
    "expiredMills": 1678085077746
  },
  "message": "success"
}

Last updated