Skip to content

Ticker信息

BitForex-API edited this page Oct 26, 2018 · 13 revisions

接口地址: https://api.bitforex.com/api/v1/market/ticker

请求格式:GET

参数

参数名 类型 是否必填 默认值 描述
symbol String - 交易对类型,如coin-usdt-btc、coin-usdt-eth等

示例

# request
GET https://api.bitforex.com/api/v1/market/ticker
# Response
{
    "success":true,
    "data":{
        "date":1516670743277,    
        "buy":999.21,          
        "high":1010.1,
        "last":999.86,
        "low":956.58,
        "sell":1000.25,
        "vol":10000        
    }   
}

返回值说明

参数名 类型 描述
buy double 买一价
date long 服务器的时间戳
high double 最高价
last double 最新价
low double 最低价
sell double 卖一价
vol double 24小时成交量