Get Market Index
HTTP request
GET /futures/index
Request parameters
Parameter Name | Required | Type | Notes |
---|---|---|---|
market | false | string | List of market names. Use "," to separate multiple market names, a maximum of 10 markets are allowed. An empty string or pass to query all markets. |
Return parameters
Parameter Name | Type | Notes |
---|---|---|
market | string | Market name |
created_at | int | Transaction timestamp (milliseconds) |
price | string | Index price |
sources | array | Index component |
sources[n].exchange | string | Exchange name |
sources[n].created_at | int | Data collection time |
sources[n].index_weight | string | Index weight |
Request example
GET /futures/index?market=BTCUSDT
Response example
{
"code": 0,
"data": [
{
"market": "BTCUSDT",
"created_at": 1703561120000,
"price": "30718.42",
"sources": [
{
"created_at": 1703561102173,
"exchange" : "binance",
"index_weight": "0.25"
},
{
"created_at": 1703561124859,
"exchange": "coinex",
"index_weight": "0.25"
},
{
"created_at": 1703561123704,
"exchange": " meexc",
"index_weight": "0.25"
},
{
"created_at": 1703561125040,
"exchange": "bybit ",
"index_weight": "0.25"
}
]
}
],
"message": "OK "
}