Skip to main content
Read a crypto derivatives snapshot

Overview

This endpoint returns a live derivatives snapshot for one perpetual swap or dated futures contract across OKX, Binance USD-M, Bybit linear, and Hyperliquid. A single snapshot object carries current and predicted funding rates, funding settlement interval and countdown seconds, live open interest in contracts, base units, and USD, plus mark price, underlying spot or oracle index price, and mark-index basis.

Venue field availability and ticker formats

Each exchange publishes slightly different live derivatives fields. Unavailable fields return null rather than failing the snapshot when other live fields succeed.
  • OKX dated futures. Dated OKX futures contracts (such as quarterly expiry contracts) carry no funding cycle, so funding_rate, next_funding_rate, funding_interval_hours, next_funding_time, and funding_countdown_seconds are null, while open interest, mark_price, index_price, basis, and basis_bps remain populated. Spot tickers return 400.
  • Countdown and timestamps. funding_countdown_seconds equals non-negative seconds from observed_at until next_funding_time. Both timestamps also include _milliseconds Unix fields.
  • Related endpoints. For historical funding, open interest, basis, and long-short positioning time series, see /crypto/derivatives. For all Hyperliquid perpetuals in one ranked list, see /crypto/hyperliquid/markets. For multi-venue context with price windows and macro events, see /crypto/context.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

exchange
enum<string>
default:okx

Derivatives venue to query for a live contract snapshot: okx, binance, bybit, or hyperliquid; defaults to okx.

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

Derivatives contract identifier for the live snapshot: BTC-USDT-SWAP on OKX, perpetual:BTCUSDT or BTCUSDT on Binance and Bybit, BTC-USDC-SWAP or BTC on Hyperliquid. Defaults to the venue's BTC perpetual.

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

Response

Read a crypto derivatives snapshot: one page.

The answer of GET /crypto/derivatives/snapshot.

snapshot
object
required

Live funding, open interest, mark price, index price, and basis snapshot for one crypto derivatives contract.

Example: