Get Index List
{
"dataList": [
{
"symbol": ".KXBT", //Symbol of Bitcoin spot
"granularity": 1000, //Granularity (milisecond)
"timePoint": 1557998570000, //Time point (milisecond)
"value": 8016.24, //Index Value
"decomposionList": [
//Component List
{
"exchange": "gemini", //Exchange
"price": 8016.24, //Last traded price
"weight": 0.08042611 //Weight
},
{
"exchange": "kraken",
"price": 8016.24,
"weight": 0.02666502
},
{
"exchange": "coinbase",
"price": 8016.24,
"weight": 0.03847059
},
{
"exchange": "liquid",
"price": 8016.24,
"weight": 0.20419723
},
{
"exchange": "bittrex",
"price": 8016.24,
"weight": 0.29848962
},
{
"exchange": "bitstamp",
"price": 8016.24,
"weight": 0.35175143
}
]
}
],
"hasMore": true //Whether there are more pages
}
get index list
HTTP REQUEST
GET /api/v1/index/query
REQUEST URL
This endpoint support Futures URL
REQUEST RATE LIMIT
Public weight
:2
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
symbol | String | Yes | Symbol of the contract |
startAt | long | No | Start time (milisecond) |
endAt | long | No | End time (milisecond) |
reverse | boolean | No | This parameter functions to judge whether the lookup is reverse. True means “yes”. |
offset | long | No | Start offset. The unique attribute of the last returned result of the last request. The data of the first page will be returned by default. |
forward | boolean | No | This parameter functions to judge whether the lookup is forward or not. True means “yes” and False means “no”. This parameter is set as true by default |
maxCount | int | No | Max record count. The default record count is 10, The maximum length cannot exceed 100 |
RESPONSES
Param | Description |
---|---|
symbol | Symbol of Bitcoin spot |
granularity | Granularity (milisecond) |
timePoint | Time point (milisecond) |
value | Index Value |
decomposionList | Component List |
exchange | Exchange |
price | Last traded price |
weight | Weight |
hasMore | Whether there are more pages |