接口描述:
  • 获取牌价数据
请求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 ""