接口描述:
  • 獲取牌價數據
請求URL:
  • https://apiv2.bitz.com/Market/ticker
請求方式:
  • GET
參數
參數 必選 類型 備註
symbol string eth_btc、ltc_btc 交易對
請求示例:
  • https://apiv2.bitz.com/Market/ticker?symbol=ltc_btc
返回結果實例:
{
    "status": 200,
    "msg": "",
    "data": {
        "symbol": "ltc_btc",
        "quoteVolume": "1176.4728",   //成交額
        "volume": "113912.8546",      //成交量
        "priceChange24h": "2.55",     //價格浮動百分比
        "askPrice": "0.01029941",     //賣一價
        "askQty": "1.0336",           //賣一量
        "bidPrice": "0.01020300",     //買一價
        "bidQty": "0.1665",           //買一量
        "open": "0.01051100",         //開盤價
        "high": "0.01053600",         //最高價
        "low": "0.01019312",          //最低價
        "now": "0.01024900",          //當前價
        "firstId": "105550319",         //第一單
        "lastId": "105852869",          //最後一單
        "dealCount": "11596",           //成交筆數
        "numberPrecision": "4",         //數量小數點
        "pricePrecision": "8",          //價格小數點
        "cny": "570.52498974",
        "usd": "83.73310012",
        "krw": "71696.37"
    },
    "time": 1532760578,
    "microtime": "0.11632100 1532760578",
    "source": "api"
}

results matching ""

    No results matching ""