Skip to main content
List crypto derivative positioning metrics

Overview

This endpoint returns perpetual and futures positioning time series across OKX, Binance USD-M, Bybit linear, and Hyperliquid perpetuals: funding rate history, open interest, stored contract open interest snapshots (oi-snapshots), futures-spot basis (basis), global long and short account ratios, top-trader positioning, and taker buy and sell volume. Observations return in points, newest first.

Metric support and point fields

Not every venue publishes every positioning series. Requesting an unsupported exchange and metric pair returns 400. Every observation carries an ISO 8601 UTC time field alongside its metric fields.
  • Ticker formats. Pass OKX contract IDs such as BTC-USDT-SWAP or ETH-USDT-SWAP. On Binance and Bybit, pass perpetual:BTCUSDT, bare BTCUSDT, or BTC-USDT (answers normalize to perpetual:<SYMBOL>, and spot tickers return 400). On Hyperliquid, pass BTC-USDC-SWAP, bare BTC, or kPEPE-USDC-SWAP (answers normalize to <COIN>-USDC-SWAP).
  • Basis and stored OI snapshots. On OKX, metric=basis returns historical contract versus index spread (basis = futures_price - index_price) and basis_bps (basis points relative to index_price, rounded to four decimal places). metric=oi-snapshots reads Darvas’s stored per-contract open interest snapshots in contracts, base units, and USD over lookback_hours.
  • Venue history and caps. OKX positioning series roll up from 5-minute stored observations. Binance futures statistics keep 30 days of history. Bybit oi-volume and funding-history return at most 200 observations per call even when limit is higher. Hyperliquid returns hourly settled funding-history points.
  • Related endpoints. For a single-call live snapshot of current and predicted funding, settlement countdown, live open interest, mark price, index price, and basis across all four venues, see /crypto/derivatives/snapshot. For the full live Hyperliquid perpetual directory, see /crypto/hyperliquid/markets. For forced liquidations, see /crypto/liquidations. For taker order flow and candles, see /crypto/order-flow, /crypto/prices, and /crypto/tickers.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

exchange
enum<string>
default:okx

okx, binance, bybit, or hyperliquid; okx without it.

Available options:
okx,
binance,
bybit,
hyperliquid
Maximum string length: 16
ticker
string

The instrument id: BTC-USDT-SWAP on OKX, BTC-USDC-SWAP on Hyperliquid, perpetual:BTCUSDT or spot:BTCUSDT on Binance and Bybit, where the bare symbol BTCUSDT also works. Without it, the exchange's BTC perpetual.

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

Derivative time-series selector: oi-volume, long-short, top-trader, taker-volume, funding-history, basis, or oi-snapshots.

Available options:
oi-volume,
long-short,
top-trader,
taker-volume,
funding-history,
basis,
oi-snapshots
Maximum string length: 32
period
enum<string>

Aggregation period.

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

Hours before now to query (1 to 720; default 72).

Required range: 1 <= x <= 720
limit
integer<int32>

Maximum observations returned (1 to 500; default 100).

Required range: 1 <= x <= 500

Response

List crypto derivative positioning metrics: one page.

The answer of GET /crypto/derivatives.

ticker
string
required

The perpetual answered: the OKX id, BTC-USDC-SWAP form on Hyperliquid, or perpetual: on Binance and Bybit.

Pattern: ^[A-Za-z0-9._:/-]{1,64}$
Example:

"BTC-USDT-SWAP"

exchange
enum<string>
required

The exchange of the series.

Available options:
okx,
binance,
bybit,
hyperliquid
Example:

"okx"

metric
string
required

Queried positioning metric.

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

"funding-history"

period
string
required

Aggregation interval.

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

"1H"

points
object[]
required

Chronological positioning points newest first.

Maximum array length: 500
Example: