For the complete documentation index, see llms.txt. This page is also available as Markdown.

Rate

Demo code can be found at Github

Trade Rate

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

Retrieves exchange rate between currencies.

Request Body

Name
Type
Description

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,

orderType

String

used for specific business types and can be left empty by default.

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

Last updated