Get open interest
- Hyperliquid
- HIP-3
- HIP-4
- Lighter
/current is the snapshot; /v1/hyperliquid/openinterest/{symbol} paginates history.Request parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
symbol | path | string | Yes | Trading pair symbol, e.g. BTC |
start | query | integer (ms) | No | Start time, Unix ms. Defaults to 24h ago |
end | query | integer (ms) | No | End time, Unix ms. Defaults to now |
interval | query | string | No | Aggregation interval; omit for raw ~1 min resolution |
limit | query | integer | No | Max results. Default 100, max 1000 |
cursor | query | integer | No | Pagination cursor |
Response fields
| Field | Type | Description |
|---|---|---|
symbol | string | Trading pair symbol (coin is a deprecated alias) |
timestamp | string | Snapshot time (UTC) |
open_interest | string | Total open interest in contracts |
mark_price | string | Mark price (drives PnL and liquidations) |
oracle_price | string | Oracle price from the external feed |
mid_price | string | Current mid price |
day_ntl_volume | string | 24-hour notional volume |
prev_day_price | string | Price 24 hours ago |
impact_bid_price | string | Impact bid price used for liquidations |
impact_ask_price | string | Impact ask price used for liquidations |
mark_price, oracle_price, and mid_price are three distinct prices: mark drives PnL and liquidations, oracle is the funding and liquidation reference, mid is the book midpoint.
Stream it live
Open interest streams on Hyperliquid core (open_interest), HIP-4 (hip4_open_interest), and Lighter (lighter_open_interest). HIP-3 open interest is REST-only, and Spot has no open interest.
Export in bulk
For an open-interest history as files, use theoi export schema ($1/GB, $5 minimum), delivered as Parquet with ZSTD compression. Build a selection in the Data Catalog; columns and coverage keys are on Export Schemas.