接口描述:
  • 获取深度数据
请求URL:
  • https://apiv2.bitkop.com/Market/depth
请求方式:
  • GET
参数:
参数名 必选 类型 备注
symbol string eth_btc、ltc_btc 交易对
请求示例:
  • https://apiv2.bitkop.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 ""