Index Price Kline
Get index price kline data
HTTP Request
GET /derivatives/v3/public/index-price-kline
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
category | false | string | Product type. linear ,inverse . Default: linear , but in the response category shows "" |
symbol | true | string | Symbol name |
interval | true | string | Kline interval. 1 3 5 15 30 60 120 240 360 720 D M W |
start | true | integer | The start timestamp (ms) |
end | true | integer | The end timestamp (ms) |
limit | false | integer | Limit for data size per page. [1 , 1000 ]. Default: 200 |
Response Parameters
Parameter | Type | Comments |
---|---|---|
symbol | string | Symbol name |
category | string | Product type. Keeps empty string "" when category is not passed |
list | array |
|
Request Example
- linear
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
- linear
{
"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
}