curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/hip4/openinterest/{symbol} \
--header 'X-API-Key: <api-key>'{
"success": true,
"data": [
{
"coin": "#0",
"symbol": "#0",
"outcome_id": 0,
"side": 0,
"timestamp": "2026-05-02T20:27:21Z",
"open_interest": "568048",
"mark_price": "0.6502",
"mid_price": "0.65038"
}
],
"meta": {
"count": 123,
"next_cursor": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Get historical per-side open interest data for a HIP-4 outcome side. Mirrors HIP-3 OI shape plus outcome_id and side fields. Display/paired/parity aggregates (sum across both sides, paired-set supply, side-supply parity check) live on /outcomes/{outcome_id}.aggregated_oi, NOT on this endpoint. 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. Requires Build tier or higher. Data available from May 2026.
curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/hip4/openinterest/{symbol} \
--header 'X-API-Key: <api-key>'{
"success": true,
"data": [
{
"coin": "#0",
"symbol": "#0",
"outcome_id": 0,
"side": 0,
"timestamp": "2026-05-02T20:27:21Z",
"open_interest": "568048",
"mark_price": "0.6502",
"mid_price": "0.65038"
}
],
"meta": {
"count": 123,
"next_cursor": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Get yours at https://www.0xarchive.io/dashboard/
HIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). The #-prefixed form (#0, #1) is also accepted.
"0"
Start timestamp in Unix milliseconds. Defaults to 24h ago.
End timestamp in Unix milliseconds. Defaults to now.
Cursor for pagination
Maximum number of results (default: 100, max: 1000)
x <= 1000Aggregation interval. When omitted, returns raw ~1 min resolution data.
5m, 15m, 30m, 1h, 4h, 1d Open interest data
API response wrapping an array of HIP-4 per-side open-interest records
true
Hide child attributes
#-prefixed per-side coin identifier
"#0"
Same value as coin. Provided for consistency with other venues.
"#0"
Numeric outcome identifier
0
Side index: 0 = Yes, 1 = No
0, 1 0
Snapshot timestamp (UTC)
"2026-05-02T20:27:21Z"
Open interest in contracts (notional currency: USDH)
"568048"
Implied probability in [0,1], NOT a USD price. Same field name as perps because Hyperliquid upstream uses markPx for both.
"0.6502"
Mid price (probability in [0,1])
"0.65038"
Was this page helpful?