跳到主要内容

获取市场行情

HTTP 请求

GET /futures/ticker

请求参数

参数名是否必须类型说明
marketfalsestring市场名列表,多个市场名之间使用英文","分隔,限制最多10个市场,空字符串或不传表示查询全部市场

请求响应

参数名类型说明
marketstring市场名称
laststring最新价格
openstring开盘价
closestring收盘价
highstring最高价
lowstring最低价
volumestring成交量
valuestring成交额
volume_sellstring卖一量
volume_buystring买一量
index_pricestring指数价格
mark_pricestring标记价格
periodint周期,固定为86400,表示该数据是一天的值

响应示例

GET /futures/ticker?market=LATUSDT,ELONUSDT

响应示例

{
"code": 0,
"data": [
{
"market": "LATUSDT",
"last": "0.008157",
"open": "0.008286",
"close": "0.008157",
"high": "0.008390",
"low": "0.008106",
"volume": "807714.49139758",
"volume_sell": "286170.69645599",
"volume_buy": "266161.23236408",
"value": "6689.21644207",
"index_price": "0.008158",
"mark_price": "0.008158",
"period": 86400
},
{
"market": "ELONUSDT",
"last": "0.000000152823",
"open": "0.000000158650",
"close": "0.000000152823",
"high": "0.000000159474",
"low": "0.000000147026",
"volume": "88014042237.15",
"volume_sell": "11455578769.13",
"volume_buy": "17047669612.10",
"value": "13345.65122447",
"index_price": "0.000000152821",
"mark_price": "0.000000152821",
"period": 86400,
}
],
"message": "OK"
}