Market Open Interest
GET/v1/hyperliquid/markets/oi
Returns the historical open-interest and funding-rate time series for a coin at the requested interval. open_interest is the sum of absolute signed position sizes across all users at each funding snapshot.
Each row also exposes the directional positioning split (long_size, short_size, net_position, plus long_positions and short_positions as user counts) and funding aggregates (funding_rate, total_funding, positive_funding, negative_funding) — useful for detecting crowded sides, funding pressure, and position flushes.
Query Parameters
| Parameter | Description | Value |
|---|---|---|
coinstring | Hyperliquid coin identifier. Core perps have no prefix ( | Required |
dexstring | DEX identifier. | |
intervalstring | The interval* for which to aggregate price data (1-minute, 5-minutes, 10-minutes, 30-minutes, hourly, 4-hours, daily or weekly).
| 1h |
start_timestring | UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...). | |
end_timestring | UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...). | |
limitinteger | Number of items* returned in a single request.
| |
pageinteger | Page number to fetch.
|
Potential Responses
| Status | Description |
|---|---|
| 200 | Successful Response |
| 400 | Client side error |
| 401 | Authentication failed |
| 403 | Forbidden |
| 404 | Not found |
| 500 | Server side error |