Skip to main content
GET
Fetch orderbook stats
Snapshot stats: top-of-book, mid, spread (bps), size-weighted mid, top-10 imbalance, and total depth.

Query Parameters

asset_id
string
required

Response

Success.

Top-of-book snapshot stats for one asset.

ask_depth
number<double>
required

Total resting ask size in contracts (e.g. 1000.0).

asset_id
string
required

Orderable asset id (e.g. "KXBTCD-25APR1517").

bid_depth
number<double>
required

Total resting bid size in contracts (e.g. 1000.0).

openpx_ts
string<date-time>
required

Wall-clock time OpenPX served the response (UTC).

best_ask
number<double> | null

Best ask as YES probability (e.g. 0.63).

best_bid
number<double> | null

Best bid as YES probability (e.g. 0.61).

exchange_ts
string<date-time> | null

Upstream snapshot time in UTC; null when not provided.

imbalance
number<double> | null

Top-10 imbalance in [-1, 1] (positive = bid-heavy) (e.g. 0.12).

mid
number<double> | null

Mid price as YES probability (e.g. 0.62).

spread_bps
number<double> | null

Spread in basis points relative to mid (e.g. 400.0).

weighted_mid
number<double> | null

Size-weighted mid using the top-10 levels (e.g. 0.62).