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).
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
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
Start timestamp. Accepts Unix milliseconds or an RFC 3339 UTC string such as 2026-01-01T00:00:00Z.
End timestamp. Accepts Unix milliseconds or an RFC 3339 UTC string such as 2026-01-01T00:00:00Z.
Aggregation interval
Maximum number of results (default: 100, max: 1000)
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
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.