/v1/hyperliquid/hip4/*. Use this family when the workflow needs binary outcome-market data, side-level order books, trades, candles, open interest, or probability-like mark and mid values. Check Venue coverage for the family and coverage window.
Discover an outcome first
Each outcome groups a Yes side and a No side. List them before you pull a book or trades:meta.next_cursor; paginate only with the cursor returned by the actual response.
- An outcome groups two sides:
side0 is Yes (coin#0),side1 is No (coin#1). Use that sidecoin(URL-encoded, e.g.%230) for the order-book and trade routes. target_priceandexpirydefine the binary;is_settledandstatussay whether it resolved. Re-check those fields with/v1/hyperliquid/hip4/outcomes/{outcome_id}or/v1/hyperliquid/hip4/outcomes/by-slug/{slug}to see when an outcome settles.- Use
/v1/hyperliquid/hip4/questionsand/v1/hyperliquid/hip4/questions/{question_id}when the workflow starts from question metadata instead of an outcome side.
Request parameters
Outcome discovery (/v1/hyperliquid/hip4/outcomes):
Side-level order-book routes use a HIP-4
coin id as {symbol} (for example %230 for the Yes side). Snapshot requests use timestamp and optional depth (maximum 20). History requests use start, end, cursor, limit (default 100, maximum 1000), and optional depth (maximum 20). Trade routes use their own start, end, cursor, and limit (default 100, maximum 1000) parameters and do not take depth.
Question discovery (/v1/hyperliquid/hip4/questions) uses the same bounded-list pattern as outcomes. Use /v1/hyperliquid/hip4/questions/{question_id} for one question, and /v1/hyperliquid/hip4/outcomes/by-slug/{slug} when the public question URL slug is the identifier you have.
Response fields
Each outcome in thedata array:
Each
side_specs entry has side (0 for Yes, 1 for No), name, coin (the #-prefixed id you pass as the symbol), and asset_id. The single-outcome route (/outcomes/{outcome_id}) also returns aggregated_oi with per-side open-interest contracts. HIP-4 order books and trades use the same fields as the core Order book and Trades schemas; only the symbol form differs, and mark_price and mid_price are implied probabilities in [0, 1], not USD.
Example
Use HIP-4 for
Live and historical HIP-4
Live HIP-4 WebSocket channels arehip4_trades, hip4_l4_diffs, and hip4_l4_orders. Stored hip4_orderbook and hip4_open_interest history remains replayable; use REST for current order-book and open-interest reads. Stored hip4_trades data can also be replayed; the live hip4_orderbook and hip4_open_interest bridges are paused. HIP-4 has no funding or liquidation route and no dedicated candle stream; its candles are available over REST as probability-history series. Outcome-side OI begins May 2, 2026 at roughly 10-second resolution. Pass the outcome-side coin (URL-encoded, e.g. %230) as the symbol.
Export in bulk
HIP-4 side-level data exports under the standard schemas, delivered as Parquet with ZSTD compression:l2_orderbook ($3/GB, $5 minimum), l4_orderbook ($4/GB, $12.50 minimum), trades ($4/GB, $7.50 minimum), and oi ($0.50/GB, $2.50 minimum). Preserve the outcome and side context in every file. Build a selection in the Data catalog; columns and coverage keys are on Export schemas.
HIP-4 request checklist
Use this checklist before HIP-4 data enters charts, models, exports, or generated clients.Routing rule
Store the outcome identifier and venue family with every record. Run outcome discovery before assuming an identifier, then pull the side-level order book, trades, candles, or open-interest route that matches the workflow. For historical analysis, combine the request with Data quality and request-ID logging so probability series can be audited later. Keep the URL encoding intact in examples such as%230, and never compare a mid_price against a dollar-denominated BTC, ETH, or Spot price.