Rate

Retrieves exchange rate between currencies.

Every request must contain common parameters

Demo code can be found at Github

Trade Rate

POST /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

{
  "code": "200",
  "data": {
    "rate": "16078.8636472720095",
    "symbol": "USDT-IDR",
    "timeMills": 1678085017746,
    "expiredMills": 1678085077746
  },
  "message": "success"
}
Code Example
curl --location --request POST 'https:///api.musepay.io/v1/rate/queryTradeRate' \
--header 'Content-Type: application/json' \
--data-raw '{
   * "baseCurrency": "USDT",
   * "quoteCurrency": "IDR"
   
}'

Last updated