Skip to main content
Read crypto technical indicators

Overview

This endpoint computes technical indicators server-side over the newest candles of a Darvas aggregated pair (by default) or a single exchange instrument, across any stored frame from one minute to one month. Agents and scripts get moving averages, RSI, MACD, Bollinger Bands, ATR, relative volume, range extremes and trailing returns in one call without downloading raw candles. The newest candle may still be open, matching a live chart.

Indicators returned

Every indicator is computed in bars of the requested frame over the bars_analyzed newest candles. Price-denominated values and avg_volume_20 keep eight significant digits so both six-figure bitcoin prices and sub-cent tokens keep precision. Percentage returns and pct_from_period_high round to two decimal places, and relative_volume rounds to four. Any indicator whose lookback exceeds bars_analyzed (such as sma_200 when limit=100 or on a newly listed token) is null. Because exchange defaults to darvas, requests for canonical pairs such as BTC-USDT-SWAP or BTC-ALLUSD aggregate across all constituent exchanges. Pass comma-separated venues (such as venues=binance,coinbase,kraken) with exchange=darvas to restrict aggregation to specific venues; any single exchange refuses venues with 400. Aggregated answers return constituents and venues (null when unfiltered); single-exchange answers omit both. A formula ticker such as USDTBTC, BTCUSDT*USDTETH, BTCUSDT/NVDAUSDT or [okx:BTC-USDT-SWAP] / [okx:NVDA-USDT-SWAP] computes every indicator over the formula’s candles, joined from its legs’ candles at the times all of them hold one; the answer carries exchange formula, market_type synthetic, the canonical ticker, a display_symbol and the legs. A multi-leg formula has volume 0, so its avg_volume_20 is 0 and relative_volume is null. The prices page explains the syntax and the crypto-only rule. Use /crypto/prices for raw OHLCV candles, /crypto/prices/snapshot for the latest minute close, /crypto/footprint for price-level order flow and /crypto/tickers to list canonical IDs and constituents.

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. A formula over listed crypto instruments is typed as in the chart's pair search, such as USDTBTC (the inverse of BTC-USDT), BTCUSDT*USDTETH, BTCUSDT/NVDAUSDT, BTC/NVDA, COINBASE:BTCUSD - BINANCE:BTCUSDT or (BTCUSDT + ETHUSDT) / 2, or sent in the canonical form an answer names it by, such as 1 / [okx:BTC-USDT-SWAP]. Every leg is a listed instrument on a crypto exchange. With exchange formula the ticker is read as a formula; without it, a ticker no exchange lists is read as one, its symbols looked up on the exchange sent first.

Maximum string length: 512
Pattern: ^[A-Za-z0-9 ._:@/()\[\]*+^-]{1,512}$
exchange
enum<string>
default:darvas

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

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

spot, swap, futures or option; without it, the type the id implies.

Available options:
spot,
swap,
futures,
option
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}$
interval
enum<string>
default:hour

minute, hour, day, week or month; hour without it.

Available options:
minute,
hour,
day,
week,
month
interval_multiplier
integer<int32>

Candles of this many intervals: minute 1, 5, 15, 30; hour 1, 2, 4, 6, 12; otherwise 1. Without it, 4 with interval hour and 1 with any other.

Required range: 1 <= x <= 30
limit
integer<int32>
default:250

The newest candles to analyze.

Required range: 30 <= x <= 500

Response

Read crypto technical indicators: one page.

The answer of GET /crypto/indicators.

ticker
string
required

The instrument id of the indicator candles, or with exchange formula the canonical formula, such as 1 / [okx:BTC-USDT-SWAP].

Maximum string length: 512
Pattern: ^[A-Za-z0-9 ._:@/()\[\]*+^-]{1,512}$
Example:

"BTC-USDT-SWAP"

exchange
enum<string>
required

The exchange of the indicator candles, or formula.

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

"okx"

market_type
enum<string>
required

The market of the indicator candles; synthetic for a formula.

Available options:
spot,
swap,
futures,
option,
synthetic
Example:

"spot"

interval
enum<string>
required

The candle interval analyzed for the indicators.

Available options:
minute,
hour,
day,
week,
month
Example:

"hour"

interval_multiplier
integer<int32>
required

Intervals combined into each analyzed indicator candle.

Required range: 1 <= x <= 30
Example:

4

indicators
object
required

Indicators of the newest candles, counted in candles of the frame asked for.

Example:
constituents
string[]

With exchange darvas: every exchange contributing to these indicator values. 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 feeding these indicator values when venues narrowed them, null when all are included. Absent for one exchange.

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

With exchange formula: the name Darvas shows for the formula of the indicator candles, such as USDTBTC or BTC/NVDA. Absent otherwise.

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

"USDTBTC"

legs
object[]

With exchange formula: the listed crypto instruments the formula of the indicator candles reads. Absent otherwise.

Maximum array length: 10