Read a crypto fixed range volume profile
curl --request GET \
--url https://api.darvas.app/v1/crypto/volume-profile/fixed-range \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/volume-profile/fixed-range"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/volume-profile/fixed-range', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "BTC-USDT-SWAP",
"exchange": "darvas",
"market_type": "swap",
"constituents": [
"binance",
"bybit",
"okx"
],
"venues": null,
"start_time": "2026-11-27T00:00:00.000Z",
"end_time": "2026-11-28T00:00:00.000Z",
"rows": 48,
"value_area_percent": 70,
"bucket_size": 50,
"price_low": 95210.4,
"price_high": 99120.8,
"total_volume": 9812000000.4,
"volume_unit": "quote",
"poc": {
"price": 97525,
"price_from": 97500,
"price_to": 97550,
"volume": 412000000.5
},
"value_area_high": {
"price": 98175,
"price_from": 98150,
"price_to": 98200,
"volume": 151000000.2
},
"value_area_low": {
"price": 96925,
"price_from": 96900,
"price_to": 96950,
"volume": 138000000.9
},
"quality": "complete",
"coverage_percent": 100,
"source_candles": 1440,
"expected_source_candles": 1440,
"buckets": [
{
"price_from": 97500,
"price_to": 97550,
"price": 97525,
"volume": 412000000.5,
"in_value_area": true,
"is_poc": true
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Crypto Profiles & Structure
Fixed-Range Crypto Volume Profile API
Calculate a custom start-to-end fixed-range crypto volume profile with POC, value area bounds, quote volume per price row and coverage metrics.
Read a crypto fixed range volume profile
curl --request GET \
--url https://api.darvas.app/v1/crypto/volume-profile/fixed-range \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/volume-profile/fixed-range"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/volume-profile/fixed-range', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "BTC-USDT-SWAP",
"exchange": "darvas",
"market_type": "swap",
"constituents": [
"binance",
"bybit",
"okx"
],
"venues": null,
"start_time": "2026-11-27T00:00:00.000Z",
"end_time": "2026-11-28T00:00:00.000Z",
"rows": 48,
"value_area_percent": 70,
"bucket_size": 50,
"price_low": 95210.4,
"price_high": 99120.8,
"total_volume": 9812000000.4,
"volume_unit": "quote",
"poc": {
"price": 97525,
"price_from": 97500,
"price_to": 97550,
"volume": 412000000.5
},
"value_area_high": {
"price": 98175,
"price_from": 98150,
"price_to": 98200,
"volume": 151000000.2
},
"value_area_low": {
"price": 96925,
"price_from": 96900,
"price_to": 96950,
"volume": 138000000.9
},
"quality": "complete",
"coverage_percent": 100,
"source_candles": 1440,
"expected_source_candles": 1440,
"buckets": [
{
"price_from": 97500,
"price_to": 97550,
"price": 97525,
"volume": 412000000.5,
"in_value_area": true,
"is_poc": true
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}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.
| Coverage | Details |
|---|---|
| Exchanges | darvas (default), okx, binance, bybit, hyperliquid, coinbase, kraken, bitstamp, deribit and bitfinex |
| Markets | Spot and perpetual swap; futures and options return 400 |
| Range | start_time and end_time are required, widened to whole minutes |
| Source candles | timeframe 1m to 1H reads one-minute candles; 4H and 1D read hourly candles |
| Candle caps | 100,000 source candles a range, or 20,000 for a Darvas pair or a Binance or Bybit market |
| Rows and value area | rows from 12 to 200 (default 48); value_area_percent from 50 to 95 (default 70) |
| MCP tool | get_crypto_fixed_range_volume_profile on the data API MCP server |
Range, timeframe and rows
- Range. Send
start_timeandend_timeas ISO 8601, a UTC date or Unix milliseconds.start_timerounds down andend_timerounds up to the minute, andend_timemust be afterstart_time. - Timeframe.
timeframe(default15m) is the chart timeframe the range is drawn on, and it picks the source candles. 100,000 one-minute candles cover about 69 days; withtimeframe=4Hor1D, hourly candles stretch the 20,000-candle cap of a Darvas pair to about 833 days. A range over its cap returns400. - Rows.
rowsasks for that many price rows across the range’s high to low, andbucket_sizeis the height of each.tick_size(the market’s price tick, such as0.1) makes every row a whole number of ticks tall. - Levels.
poc,value_area_highandvalue_area_loware rows withprice(the middle),price_from,price_toandvolume; each isnullwithout volume.bucketslists every row lowest first, within_value_areaandis_poc. - Volume and quality.
total_volumeand everyvolumeare in the quote currency (volume_unit: "quote"), estimated as base volume times close where a candle has no quote volume.qualityiscompletewhen Darvas holds at least 98 percent of the expected candles,partialbelow that andno_datawithout any;source_candlesandexpected_source_candlesgive the counts.
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
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
profile = requests.get(
"https://api.darvas.app/v1/crypto/volume-profile/fixed-range",
headers=headers,
params={
"ticker": "BTC-USDT-SWAP",
"exchange": "darvas",
"start_time": "2026-11-27T00:00:00Z",
"end_time": "2026-11-28T00:00:00Z",
"timeframe": "15m",
"rows": 60,
},
).json()
print("Constituents:", profile["constituents"], "Quality:", profile["quality"], profile["coverage_percent"])
print("POC:", profile["poc"]["price"], "VAL:", profile["value_area_low"]["price_from"], "VAH:", profile["value_area_high"]["price_to"])
value_area = [row for row in profile["buckets"] if row["in_value_area"]]
print("Rows in value area:", len(value_area), "of", len(profile["buckets"]))
# Coinbase BTC-USD spot over eight days, 96 rows on whole cents
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/crypto/volume-profile/fixed-range?ticker=BTC-USD&exchange=coinbase&start_time=2026-11-20&end_time=2026-11-28&timeframe=1H&rows=96&tick_size=0.01"
Authorizations
apiKeybearerKey
Query Parameters
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:
64Pattern:
^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$Response
Read a crypto fixed range volume profile: one page.
The answer of GET /crypto/volume-profile/fixed-range.