HIP-4 Outcomes - Convenience

Get HIP-4 price history

Get mark/mid price history for a HIP-4 outcome side. Lightweight projection of open interest data. Note: mark_price for HIP-4 outcomes is an implied probability in [0,1], not a USD price; same field name as perps because Hyperliquid upstream uses markPx for both. oracle_price is omitted for HIP-4 (outcomes have no oracle feed).

get/v1/hyperliquid/hip4/prices/{symbol}

Request

  • Base URL: https://api.0xarchive.io
  • URL: https://api.0xarchive.io/v1/hyperliquid/hip4/prices/{symbol}
  • Auth: API key in header X-API-Key

Path parameters

symbolstring required
Example:0

HIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). The #-prefixed form (#0, #1) is also accepted.

Query parameters

startinteger

Start timestamp in milliseconds

endinteger

End timestamp in milliseconds

interval'1m' | '5m' | '15m' | '30m' | '1h' | '4h' | '1d'

Aggregation interval

limitinteger

Maximum number of results (default: 100, max: 1000)

cursorstring

Cursor for pagination

Response

Price history data

successboolean

Example response

{
  "success": true,
  "data": [
    {
      "timestamp": "2026-02-23T12:00:00.000Z",
      "mark_price": "95000.50",
      "oracle_price": "94998.25",
      "mid_price": "95000.00"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.