Skip to main content

Get Market Index

HTTP request

GET /spot/index

Request parameters

Parameter NameRequiredTypeNotes
marketfalsestringList 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 NameTypeNotes
marketstringMarket name
created_atintTransaction timestamp (milliseconds)
pricestringIndex price
sourcesarrayIndex component
sources[n].exchangestringExchange name
sources[n].created_atintData collection time
sources[n].index_weightstringIndex weight
sources[n].index_pricestringIndex price

Request example

GET /spot/index?market=BTCUSDT

Response example

{
"code": 0,
"data": [
{
"market": "BTCUSDT",
"created_at": 1689152421692,
"price": "30718.42",
"sources": [
{
"exchange": "kucoin",
"created_at": 1689152421685,
"index_weight": "1.00000000",
"index_price": "30718.42"
}
]
}
],
"message": "OK"
}