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

integer

Unix milliseconds.

OR
string date-time

RFC 3339 instant.

Example:1767225600000

Start timestamp. Accepts Unix milliseconds or an RFC 3339 UTC string such as 2026-01-01T00:00:00Z.

integer

Unix milliseconds.

OR
string date-time

RFC 3339 instant.

Example:1767225600000

End timestamp. Accepts Unix milliseconds or an RFC 3339 UTC string such as 2026-01-01T00:00:00Z.

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

Aggregation interval

limitinteger

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

cursorstring

Opaque pagination cursor: pass meta.next_cursor from the previous page unchanged, with the same filters. Omit it for the first page.

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"
    }
  ],
  "meta": {
    "symbol": "BTC",
    "venue": "hyperliquid"
  }
}

Changes

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