DH
3 min read·Updated 2026-06-14

Query open interest

Open-interest timeseries for an asset with notional value, mark price, and funding rate.

GET/networks/{network}/markets/{asset}/open-interest

Open-interest points are sampled from Hyperliquid market context and rolled up by interval. The closeUsd field is the notional open-interest value; mark and funding are carried with the sample.

Path Params
networkstringrequired

Network identifier. Only hyperliquid is supported.

Example: hyperliquid

assetstringrequired

Canonical asset symbol or network symbol (e.g. BTC, ETH, xyz:SP500).

Example: BTC

Query Params
intervalstringrequired

Aggregation interval. Supported: 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d, 3d, 1w, 1M.

Example: 1h

fromstring

Start of the time window — ISO 8601 instant or epoch milliseconds.

Example: 2026-06-12T00:00:00Z

tostring

End of the time window — ISO 8601 instant or epoch milliseconds.

limitinteger

Maximum data points to return. Default 500, hard cap 5000.

Example: 500

cursorstring

Epoch-ms cursor from the previous page's nextCursor field.

Responses

200OK

Open-interest timeseries with mark price and funding rate.

Schema
networkstring

Network identifier.

coinstring

Network asset symbol.

canonicalAssetstring

Canonical asset symbol.

intervalstring

Aggregation interval used.

pointsobject[]

Open-interest points, newest first.

timeinteger

Sample open time in epoch milliseconds.

openTimestring (ISO 8601)

Sample open time as an instant.

openstring

Open-interest value at the open of the interval.

highstring

Highest open-interest value in the interval.

lowstring

Lowest open-interest value in the interval.

closestring

Open-interest value at the close of the interval.

closeUsdstring

Notional open-interest value in USD at close.

markstring

Mark price carried with the sample.

fundingstring

Funding rate carried with the sample.

nextCursorstringnullable

Epoch-ms cursor for the previous window, or null at the start of history.

400Bad Request
401Unauthorized
404Not Found
500Server Error
Request
curl -sS "https://api.dexhunt.app/v1/networks/hyperliquid/markets/BTC/open-interest?interval=1h&limit=2" \
  -H "X-API-Key: hlsk_your_developer_key"
Response
200 · OK
{
  "network": "hyperliquid",
  "coin": "BTC",
  "canonicalAsset": "BTC",
  "interval": "1h",
  "points": [
    {
      "time": 1781262000000,
      "openTime": "2026-06-12T11:00:00Z",
      "open": "905000000",
      "high": "914000000",
      "low": "900000000",
      "close": "910000000",
      "closeUsd": "910000000",
      "mark": "67000.5",
      "funding": "0.0000125"
    }
  ],
  "nextCursor": "1781258400000"
}