接口描述:
  • 獲取接口當前法幣匯率信息
請求URL:
  • https://apiv2.bitz.com/Market/currencyRate
請求方式:
  • GET
參數:
參數名 必選 類型 備註
symbols string cny_usdt,usdt_cny 交易對,傳入時返回指定數據,英文逗號分隔,否則返回全部
請求示例:
  • https://apiv2.bitz.com/Market/currencyRate?symbols=cny_usdt,usdt_cny
返回結果實例:
{
    "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"
}

results matching ""

    No results matching ""