Hyperliquid Market Context - Mids and Asset Data
Consume current Hyperliquid perp mid maps and per-asset funding, price, volume, and open-interest context.
The V3 market-context family provides current default-DEX perpetual-market values. StreamAllMids sends the complete mid-price map, while StreamActiveAssetCtx sends detailed context for one perp.
Access
| Availability | Access | Details |
|---|---|---|
| Live | StreamAllMids and StreamActiveAssetCtx | Provides the current full perp mid map and current context for one perp. |
| Live | Info endpoint active asset data | Request-response alternative for asset context. |
| Historical | Hyperliquid Index OHLCV and fills | Provides candle and execution history only. It does not reproduce historical ActiveAssetCtx state or standalone funding, open-interest, or mid-price history. |
Method family
StreamAllMids takes an empty request. Each frame contains the complete map and supersedes the previous frame. A bookless market can use its last trade as the available midpoint value.
StreamActiveAssetCtx requires one default-DEX perp coin. It reports funding, open interest, previous-day price, rolling volume, oracle and mark prices, and optional book-dependent fields. premium and mid_px can be unset, and impact_pxs can be empty, when no book is available.
Both are current-state streams with no historical replay. Their time is when the endpoint made the update available, not a block timestamp. Each frame replaces the prior state. Reconnect after ABORTED; UNAVAILABLE means fresh current data is not available.
Sample data
These synthetic V3 protobuf payloads visibly redact the market identifier:
time: 1785736814057
mids: { key: "<redacted-market>" value: "114250.5" }coin: "<redacted-market>"
time: 1785736814057
funding: "0.0000125"
open_interest: "19234.55"
prev_day_px: "112500.0"
day_ntl_vlm: "985000000.25"
premium: "0.00018"
oracle_px: "114230.0"
mark_px: "114250.0"
mid_px: "114250.5"
impact_pxs: "114249.0"
impact_pxs: "114252.0"
day_base_vlm: "8650.75"Do not interpret the update time as execution time or block position.
Related pages
- Funding rates guide — Fetch and interpret current, predicted, and historical funding.
- Whale tracking guide — Combine current market context with fills, books, and account data.
Hyperliquid Fill Views - All, User, Builder, Liquidation
Choose among Hyperliquid V3 all-fill, user, builder, and liquidation live streams.
Hyperliquid Index
Query indexed Hyperliquid market data from Dwellir, including OHLCV candles, historical fills, and HIP-4 outcome market data over REST, JSON-RPC, and WebSocket candle streams.