getIndexPriceKline
Query historical index price klines from the composite spot price across exchanges to analyze index price movements or compare with mark price for basis analysis.
Instructions
Query historical index price klines derived from the composite spot price across multiple exchanges.
Use this endpoint when you need to:
Analyze historical index price movements for research or backtesting
Compare index price vs mark price to understand basis spread over time
Build charts of the underlying spot market price reference used by Bybit
Supported Products: USDT contract, USDC contract, Inverse contract
Each kline entry is a 5-element array: [startTime, open, high, low, close].
Data is returned in reverse chronological order (most recent first).
Do not use this endpoint for trading price candles — use getMarketKline instead.
Do not use this endpoint for mark price candles — use getMarkPriceKline instead.
Notes:
Data is returned in reverse chronological order (most recent first)
No authentication required
Agent hint: Use this endpoint to retrieve historical index price candles (composite spot price reference). For regular OHLCV trading price candles use getMarketKline. For mark price candles use getMarkPriceKline. For premium index (funding basis) candles use getPremiumIndexPriceKline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | linear | |
| symbol | Yes | ||
| interval | Yes | ||
| start | No | ||
| end | No | ||
| limit | No |