接口描述:
  • 獲取深度數據
請求URL:
  • https://apiv2.bitz.com/Market/depth
請求方式:
  • GET
參數:
參數名 必選 類型 備註
symbol string eth_btc、ltc_btc 交易對
請求示例:
  • https://apiv2.bitz.com/Market/depth?symbol=ltc_btc
返回結果實例:
{
    "status": 200, //狀態碼
    "msg": "",     //提示語
    "data": {
        "asks": [   //委賣單
           [
             "57.70000000",  //價格
             "1.6783",       //數量
             "96.837910000000"    //總價
           ],
        ],
        "bids": [  //委買單
           [
             "0.00121238",
             "1398.9960",
              "1.696114770480"
           ],
        ],
        "coinPair": "ltc_btc"
    },
    "time": 1532671014,
    "microtime": "0.49301600 1532671014",
    "source": "api"
}

results matching ""

    No results matching ""