Skip to main content

Index Price Kline

Get index price kline data

HTTP Request

GET /derivatives/v3/public/index-price-kline

Request Parameters

ParameterRequiredTypeComments
categoryfalsestringProduct type. linear,inverse. Default: linear, but in the response category shows ""
symboltruestringSymbol name
intervaltruestringKline interval. 1 3 5 15 30 60 120 240 360 720 D M W
starttrueintegerThe start timestamp (ms)
endtrueintegerThe end timestamp (ms)
limitfalseintegerLimit for data size per page. [1, 1000]. Default: 200

Response Parameters

ParameterTypeComments
symbolstringSymbol name
categorystringProduct type. Keeps empty string "" when category is not passed
listarray
  • An string array of individual candle
  • Sort in reverse by start
  • The default collation within the array is start, open, high, low, close

Request Example

GET /derivatives/v3/public/index-price-kline?category=linear&symbol=BTCUSDT&interval=60&start=1668441600000&end=1668528000000&limit=2 HTTP/1.1
Host: api.bybit.com

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"symbol": "BTCUSDT",
"category": "linear",
"list": [
[
"1668445200000",
"16471.28",
"16619.57",
"16445.28",
"16584.01"
],
[
"1668441600000",
"16594.06",
"16624.76",
"16358",
"16471.28"
]
]
},
"retExtInfo": {},
"time": 1671968874797
}