Interface description:
Request URL:
https://apiv2.bitkop.com/Market/currencyRate
Request Method:
Parameter:
Parameter |
Whether or not |
Parameter of the mean |
Example |
symbols |
no |
string |
cny_usdt,usdt_cny Transaction pair, return the specified data when it is passed in, separated by comma, otherwise return all |
Request example:
https://apiv2.bitkop.com/Market/currencyRate?symbols=cny_usdt,usdt_cny
An example of the result returned:
{
"status": 200,
"msg": "",
"data": {
"cny_usdt": {
"coin": "cny",
"currencyCoin": "usdt",
"rate": "0.146471",
"rateTime": "2018-08-03 23:29:03",
"ratenm": "cny/usdt",
"flatform": "api.k780.com",
"created": "1533461732",
"timezone": "PRC"
},
"usdt_cny": {
"coin": "usdt",
"currencyCoin": "cny",
"rate": "6.853000",
"rateTime": "2018-08-06 20:39:01",
"ratenm": "usdt/cny",
"flatform": "api.k780.com",
"created": "1533559242",
"timezone": "PRC"
},
},
"time": 1533462219,
"microtime": "0.56846900 1533462219",
"source": "api"
}