Get open interest
- Hyperliquid
- HIP-3
- HIP-4
- Lighter
/current is the snapshot; /v1/hyperliquid/openinterest/{symbol} paginates history.Request parameters
Response fields
Numeric market values are decimal strings. Where a family returns all three,
mark_price, oracle_price, and mid_price are distinct: mark drives PnL and liquidations, oracle is the funding and liquidation reference, and mid is the book midpoint when present. Do not manufacture a missing oracle field for HIP-4.
day_ntl_volume, prev_day_price, impact_bid_price, and impact_ask_price appear on Hyperliquid core only. HIP-3 rows carry symbol, timestamp, open_interest, mark_price, and oracle_price; mid_price is conditional and may be omitted when unavailable. HIP-4 rows carry outcome_id, side, mark_price, mid_price, and outcome-side open_interest, with no oracle_price. Lighter rows omit mid_price. Do not model one family’s fields as present on every family.
Stream or replay it
Open interest streams live on Hyperliquid core (open_interest). Lighter current open interest uses REST, and lighter_open_interest supports historical WebSocket replay but not live subscriptions through the 0xArchive WebSocket. Historical data is also available through REST and exports. Stored hip4_open_interest history remains replayable; current HIP-4 open-interest reads use REST. 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 ($0.50/GB, $2.50 minimum), delivered as Parquet with ZSTD compression. Build a selection in the Data catalog; columns and coverage keys are on Export schemas.