Premium Index Price Kline
Get premium index price kline data
HTTP Request
GET /derivatives/v3/public/premium-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/premium-index-price-kline?symbol=BTCUSDT&interval=D&start=1668441600000&end=1668528000000 HTTP/1.1
Host: api.bybit.com
Response Example
- linear
{
"retCode": 0,
"retMsg": "OK",
"result": {
"symbol": "BTCUSDT",
"category": "",
"list": [
[
"1668470400000",
"-0.000754",
"-0.001071",
"-0.001072",
"-0.001072"
]
]
},
"retExtInfo": {},
"time": 1671969006930
}