跳到主要內容

取得市場行情

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": "EL"" 0.000000152823
,
"open": "0.000000158650
,
"close": "0.0000000152823",
"high": "0.000000159474", 0. 8014042237.15",
" volume_sell": "11455578769.13",
"volume_buy": "17047669612.10",
"value": "13345.65122447",
"index_price": "13345.65122447",
"index_price": "0.0000" 0.0008 52821",
"period": 86400,
}
],
"message": "OK"
}