Skip to main content
Read a crypto fixed range volume profile

Overview

This endpoint returns a volume profile of any time range of a crypto spot or perpetual swap market, or of a Darvas aggregated pair (exchange=darvas, the default). Darvas spreads each candle’s quote volume evenly over its high to low range and sums it per price row, then marks the point of control and the value area. quality and coverage_percent say how many of the expected candles Darvas holds for the range.

Range, timeframe and rows

  • Range. Send start_time and end_time as ISO 8601, a UTC date or Unix milliseconds. start_time rounds down and end_time rounds up to the minute, and end_time must be after start_time.
  • Timeframe. timeframe (default 15m) is the chart timeframe the range is drawn on, and it picks the source candles. 100,000 one-minute candles cover about 69 days; with timeframe=4H or 1D, hourly candles stretch the 20,000-candle cap of a Darvas pair to about 833 days. A range over its cap returns 400.
  • Rows. rows asks for that many price rows across the range’s high to low, and bucket_size is the height of each. tick_size (the market’s price tick, such as 0.1) makes every row a whole number of ticks tall.
  • Levels. poc, value_area_high and value_area_low are rows with price (the middle), price_from, price_to and volume; each is null without volume. buckets lists every row lowest first, with in_value_area and is_poc.
  • Volume and quality. total_volume and every volume are in the quote currency (volume_unit: "quote"), estimated as base volume times close where a candle has no quote volume. quality is complete when Darvas holds at least 98 percent of the expected candles, partial below that and no_data without any; source_candles and expected_source_candles give the counts.
With exchange=darvas, constituents names every exchange the pair combines and venues the subset a venues filter kept (null when unfiltered); both are absent for a single exchange. For trade-built session profiles of OKX perpetuals with buy and sell split, see /crypto/volume-profile. For TPO structure, see /crypto/tpo. For the candles behind the profile, see /crypto/prices.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

ticker
string
required

The instrument id: BTC-USDT or BTC-USDT-SWAP on OKX, ETH-USDC-SWAP on Hyperliquid, BTC-USD on Coinbase, spot:BTCUSDT or perpetual:BTCUSDT on Binance and Bybit. A Binance or Bybit symbol such as BTCUSDT also works with market_type, spot without it. A Darvas aggregated pair is BASE-QUOTE or BASE-QUOTE-SWAP, such as BTC-USDT-SWAP, or BTC-ALLUSD for one combining its USD, USDT and USDC markets.

Maximum string length: 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$
exchange
enum<string>
default:darvas

The exchange of the profile, or darvas for Darvas's aggregate of the pair across every exchange that lists it; darvas without it.

Available options:
darvas,
okx,
binance,
bybit,
hyperliquid,
coinbase,
kraken,
bitstamp,
deribit,
bitfinex
Maximum string length: 16
market_type
enum<string>

spot or swap; without it, the market the ticker implies.

Available options:
spot,
swap
Maximum string length: 8
venues
string

With exchange darvas: combine only these of the pair's exchanges, comma-separated. Any other exchange refuses it.

Maximum string length: 528
Pattern: ^[a-z0-9][a-z0-9-]{0,31}(,[a-z0-9][a-z0-9-]{0,31}){0,15}$
start_time
string
required

The range's first moment: ISO 8601, a UTC date or Unix milliseconds, rounded down to the minute.

Maximum string length: 40
Pattern: ^[0-9][0-9T:.+Z-]{0,39}$
end_time
string
required

The range's end: ISO 8601, a UTC date or Unix milliseconds, rounded up to the minute.

Maximum string length: 40
Pattern: ^[0-9][0-9T:.+Z-]{0,39}$
timeframe
enum<string>
default:15m

The chart timeframe the range is drawn on, which picks the candles read; 15m without it.

Available options:
1m,
5m,
15m,
30m,
1H,
4H,
1D
Maximum string length: 4
rows
integer<int32>
default:48

Price rows of the profile (12 to 200; default 48).

Required range: 12 <= x <= 200
value_area_percent
integer<int32>
default:70

The share of the volume the value area holds, in percent (50 to 95; default 70).

Required range: 50 <= x <= 95
tick_size
number<double>

The market's price tick; rows become whole ticks tall when sent.

Required range: x <= 1000000000000

Response

Read a crypto fixed range volume profile: one page.

The answer of GET /crypto/volume-profile/fixed-range.

ticker
string
required

The instrument id of the profile.

Maximum string length: 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$
Example:

"BTC-USDT-SWAP"

exchange
enum<string>
required

The exchange of the profile.

Available options:
darvas,
okx,
binance,
bybit,
hyperliquid,
coinbase,
kraken,
bitstamp,
deribit,
bitfinex
Example:

"darvas"

market_type
enum<string>
required

The market of the profile.

Available options:
spot,
swap
Example:

"swap"

start_time
string<date-time>
required

The range's first minute, in UTC.

Maximum string length: 30
Example:

"2026-11-27T00:00:00.000Z"

end_time
string<date-time>
required

The range's end, in UTC.

Maximum string length: 30
Example:

"2026-11-28T00:00:00.000Z"

rows
integer<int64>
required

Price rows asked for.

Required range: 0 <= x <= 200
Example:

48

value_area_percent
integer<int64>
required

The share of volume the value area holds, in percent.

Required range: 0 <= x <= 100
Example:

70

bucket_size
number<double> | null
required

Each row's height in price; 0 without candles.

Example:

50

price_low
number<double> | null
required

The range's lowest price; null without candles.

Example:

95210.4

price_high
number<double> | null
required

The range's highest price; null without candles.

Example:

99120.8

total_volume
number<double> | null
required

The range's volume in the quote currency.

Example:

9812000000.4

volume_unit
enum<string>
required

Volumes are in the quote currency, estimated as base volume times close where a candle has none.

Available options:
quote
Example:

"quote"

poc
object | null
required

The fixed range's row with the most volume; null without volume.

Example:
value_area_high
object | null
required

The value area's top row; null without volume.

Example:
value_area_low
object | null
required

The value area's bottom row; null without volume.

Example:
quality
enum<string>
required

complete when Darvas holds at least 98 percent of the expected candles, partial below, no_data without any.

Available options:
complete,
partial,
no_data
Example:

"complete"

coverage_percent
number<double> | null
required

The share of expected candles Darvas holds, in percent.

Example:

100

source_candles
integer<int64>
required

Candles the profile was built from.

Required range: 0 <= x <= 1000000000000
Example:

1440

expected_source_candles
integer<int64>
required

Candles the range spans.

Required range: 0 <= x <= 1000000000000
Example:

1440

buckets
object[]
required

The price rows, lowest first.

Maximum array length: 200
constituents
string[]

With exchange darvas: every exchange the pair's profile combines. Absent for one exchange.

Maximum array length: 16
Maximum string length: 32
Pattern: ^[a-z0-9][a-z0-9-]{0,31}$
Example:
venues
string[] | null

With exchange darvas: the exchanges the profile kept when venues narrowed them, null when all are. Absent for one exchange.

Maximum array length: 16
Maximum string length: 32
Pattern: ^[a-z0-9][a-z0-9-]{0,31}$
Example: