Skip to main content
List crypto index candles

Overview

This endpoint returns OHLC candles for a composite crypto spot index, such as BTC-USD or ETH-USDT. Each composite index blends spot quotes from several major exchanges into a single reference series that perpetual swaps and futures contracts mark against. Candles return oldest first in prices, including the candle still in progress.

Candle fields and usage

Composite index candles carry price levels only (open, high, low, close) with no trade volume, because an index is a weighted spot composite rather than a single order book.
  • Open versus closed bars. Each candle includes confirmed (true once the bucket has closed, false while the newest bar is still forming), time (ISO 8601 UTC open timestamp), and time_milliseconds.
  • Comparing against derivatives. Pair index candles with perpetual swap candles at /crypto/prices or historical basis series at /crypto/derivatives (metric=basis) to measure contract premiums and discounts over time.
  • Related endpoints. For live spot index prices and 24-hour ranges across an entire quote currency, see /crypto/index/snapshot. For live mark price, index price, and basis in basis points, see /crypto/derivatives/snapshot.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

index
string
default:BTC-USD

A composite index as BASE-QUOTE, such as BTC-USD or ETH-USDT; BTC-USD without it.

Maximum string length: 31
Pattern: ^[A-Za-z0-9]{1,20}-[A-Za-z0-9]{2,10}$
interval
enum<string>
default:1H

The frame of the index candles; 1H without it.

Available options:
1m,
5m,
15m,
30m,
1H,
4H,
1D,
1W
limit
integer<int32>
default:100

The newest index candles to return.

Required range: 1 <= x <= 100

Response

List crypto index candles: one page.

The answer of GET /crypto/index/prices.

index
string
required

The index of the candles.

Maximum string length: 31
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"BTC-USD"

interval
enum<string>
required

The frame of the index candles.

Available options:
1m,
5m,
15m,
30m,
1H,
4H,
1D,
1W
Example:

"1H"

prices
object[]
required

The index candles, oldest first.

Maximum array length: 100