Rate
Retrieves exchange rate between currencies.
Every request must contain common parameters
Trade Rate
POST https://api.topay.mobi/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
ask or bid,default "bid"
orderType
String
default: "pay"
{
"code": "200",
"data": {
"rate": "16078.8636472720095",
"symbol": "USDT-IDR",
"timeMills": 1678085017746,
"expiredMills": 1678085077746
},
"message": "success"
}Last updated