Skip to main content
GET
https://api.0xarchive.io
/
v1
/
hyperliquid
/
hip4
/
openinterest
/
{symbol}
Get HIP-4 open interest history
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.

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours at https://www.0xarchive.io/dashboard/

Path Parameters

symbol
string
required

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

Example:

"0"

Query Parameters

start
integer<int64>

Start timestamp in Unix milliseconds. Defaults to 24h ago.

end
integer<int64>

End timestamp in Unix milliseconds. Defaults to now.

cursor
integer<int64>

Cursor for pagination

limit
integer
default:100

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

Required range: x <= 1000
interval
enum<string>

Aggregation interval. When omitted, returns raw ~1 min resolution data.

Available options:
5m,
15m,
30m,
1h,
4h,
1d

Response

Open interest data

API response wrapping an array of HIP-4 per-side open-interest records

success
boolean
Example:

true

data
object[]
meta
object

Response metadata

Last modified on May 20, 2026