How to Get Hyperliquid Open Interest History by API

The Hyperdash Data API serves Hyperliquid open interest history: per-market bars from March 2025, daily USD values, Hyperliquid HIP-3 dex totals and CSV.

By Hyperdash

, 9 min read

Hyperliquid open interest history API

Hyperliquid's own API returns open interest as it stands right now, not as it was yesterday or last month. To get open interest history, use the Hyperdash Data API. GET /v1/markets/{coin}/open-interest returns open interest bars for any market from March 22, 2025, at intervals from 1 minute to 1 day. GET /v1/markets/{coin}/open-interest/daily returns one USD value per day from August 26, 2025. Four more endpoints cover exchange totals, each Hyperliquid HIP-3 dex, asset categories and 24-hour, 7-day and 30-day changes. Every plan includes them, and any of them can return CSV.

Get started in about 2 minutes: create your Hyperdash account and pick a plan from $20 a month, then connect the Hyperdash MCP server to Claude or ChatGPT. You sign in with your Hyperdash account, so no API key is needed.

For what open interest means and how traders read it, see What Is Open Interest and Why Does It Matter?

Does the Hyperliquid API have open interest history?

No. The public info endpoint has one source of open interest: the metaAndAssetCtxs request, which returns each perp market's current mark price, funding and openInterest (perpetuals info requests). It takes an optional dex field, so it also works for Hyperliquid HIP-3 dexes. None of the documented info requests take a time range for open interest. On the WebSocket, the activeAssetCtx subscription pushes the same live context for one coin (subscriptions).

That leaves two do-it-yourself routes:

  • Record it yourself: poll metaAndAssetCtxs on a schedule and store each reading. It is free, and each call weighs 20 against the limit of 1,200 per minute per IP address (rate limits). Your history starts the day you start recording.
  • Hyperliquid's S3 archive: the hyperliquid-archive bucket holds daily asset context files at asset_ctxs/[date].csv.lz4, uploaded about once a month. Hyperliquid's own historical data page says there is no guarantee of timely updates and data may be missing, and the requester pays the transfer cost.

Which Hyperdash endpoints return open interest history?

Hyperliquid open interest endpoints in the Hyperdash Data API
EndpointWhat it returnsUnitHistory
GET /v1/markets/{coin}/open-interestOpen, high, low and close of open interest per bar, 1 minute to 1 dayCoin unitsFrom March 22, 2025
GET /v1/markets/{coin}/open-interest/dailyOpen interest and mark at each UTC day's last hourly snapshotUSDFrom August 26, 2025, up to 365 days per request
GET /v1/markets/open-interest/totalOne market or the whole exchange, hourly or dailyUSDLast 30 days hourly, 90 days daily
GET /v1/markets/open-interest/by-dexThe core exchange and each Hyperliquid HIP-3 dexUSDLast 7 days hourly, 90 days daily
GET /v1/markets/open-interest/by-categoryAsset categories such as BTC, equities and commoditiesUSDLast 7 days hourly, 90 days daily
GET /v1/markets/open-interest/changesEvery market now and 24 hours, 7 days and 30 days agoUSDFour points per market
Every endpoint is on every plan.

The per-market endpoints take any market name: BTC, SOL, or a Hyperliquid HIP-3 market such as xyz:TSLA.

How do you get open interest history for one market?

For the most detail, request open interest bars. This returns hourly bars for BTC over the last 7 days, the default range:

curl "https://data.hyperdash.com/v1/markets/BTC/open-interest?interval=1h" -H "Authorization: Bearer $HYPERDASH_API_KEY"

Each bar carries t (bar start, epoch milliseconds), open, high, low and close, plus minutes, the number of minutes with a sample. Add start_time and end_time in epoch milliseconds for any other range, set interval to 1m, 5m, 15m, 30m, 1h, 4h or 1d, and pass next_cursor back as cursor until has_more is false. A page holds up to 5,000 bars (limit, default 500) and spans at most 7 days of bars shorter than 1 hour, 30 days of 1-hour or 4-hour bars, or 365 days of daily bars (reference).

  • Bars are in coin units. A BTC bar counts BTC, not dollars, and it matches the openInterest figure Hyperliquid itself reports. Hyperliquid counts both sides, longs plus shorts. Multiply by the mark price for a USD value.
  • The current hour is not in the bars yet. Samples load one closed UTC hour at a time, 1 to 10 minutes after the hour ends, so the newest bar can be up to about 70 minutes old. For the value right now, read GET /v1/markets, covered below.

If you want dollars per day, the daily endpoint does the conversion for you. Each row has day, oi_usd, mark_px and snapshot_time, and one request covers up to 365 days (reference):

curl "https://data.hyperdash.com/v1/markets/SOL/open-interest/daily" -H "Authorization: Bearer $HYPERDASH_API_KEY"

Without a range it returns the last 90 days. The daily USD series starts on August 26, 2025, or on the day the market listed, if later.

How far back does each plan read?

Each dataset has its own start date, and your plan sets how far back you can read it. Requests for older data return 403 history_limit and cost nothing (plans).

Open interest history by Hyperdash plan
PlanPriceHistory depthEarliest open interest you can read
Hobby$20 a month90 daysThe last 90 days
Starter$99 a month90 daysThe last 90 days
Growth$499 a month180 daysThe last 180 days
Scale$1,999 a month365 daysThe last 365 days
EnterpriseCustomFull historyBars from March 22, 2025, daily USD from August 26, 2025

The exchange, dex and category totals have their own ceiling of 90 days of daily buckets on every plan. For a longer series across many markets, page through the per-market endpoints, or ask the integration team for a custom dataset.

A bar request costs 10 credits plus 1 per bar, and the other five endpoints cost 20 plus 1 per row (credit costs). Thirty days of daily BTC open interest is about 50 credits. Thirty days of hourly bars is 720 bars in one request, 730 credits, against the 500,000 credits a month on Hobby.

How do you get open interest by Hyperliquid HIP-3 dex?

GET /v1/markets/open-interest/by-dex returns open interest in USD and the number of markets for the core exchange and each Hyperliquid HIP-3 dex, by hour for up to 7 days or by day for up to 90:

curl "https://data.hyperdash.com/v1/markets/open-interest/by-dex?interval=1d&days=30" -H "Authorization: Bearer $HYPERDASH_API_KEY"

Here is what that request returned on November 27, 2026, for the four dexes that held more than $1 million:

Hyperliquid open interest by dex, daily buckets
DexOctober 29, 2026November 26, 2026Change
Core exchange (main)$11,446.2M$6,113.2M-46.6%
xyz$3,967.1M$4,096.0M+3.3%
io$84.1M$99.5M+18.3%
para$14.8M$14.0M-5.2%
Hyperliquid HIP-3 share of the total26.2%40.8%
Hyperdash Data API, GET /v1/markets/open-interest/by-dex, pulled November 27, 2026.

Open interest on the core exchange almost halved over the month while the xyz dex, which lists stocks, indices and commodities, held level, so Hyperliquid HIP-3 markets went from about a quarter to about two fifths of the total. The Hyperliquid HIP-3 markets guide builds the same view per day and adds volume share.

GET /v1/markets/open-interest/by-category splits the same totals into btc, eth_majors, hype, memes, equities, indices, commodities, fx, other and unmapped (markets not in the catalog yet), so you can see how much open interest sits in equity perps against crypto. GET /v1/markets/open-interest/total gives one USD series for the whole exchange, or for one market with market=BTC.

Which markets gained or lost the most open interest?

GET /v1/markets/open-interest/changes answers this in one request. It returns every market's open interest in USD now, as oi_usd, next to oi_usd_24h, oi_usd_7d and oi_usd_30d, plus the mark price. Sort the rows by the change you care about to rank every market by how much open interest it added or shed (reference).

How do you get live open interest?

History stops at the last closed hour, so pair it with a live source:

  • REST: GET /v1/markets returns every perp market with its mark, oracle and mid price, funding, open interest and 24-hour volume. Add dex=xyz for a Hyperliquid HIP-3 dex.
  • Streams: the ctx channel pushes one market's context, open interest included, on every change and at least every 10 seconds, for 1 credit per event. The markets channel sends every perp market in one event about once a second, for 5 credits (streams).

How do you download open interest history as a CSV?

Add Accept: text/csv to any of these requests. This saves 90 days of daily ETH open interest in USD:

curl -s "https://data.hyperdash.com/v1/markets/ETH/open-interest/daily" -H "Authorization: Bearer $HYPERDASH_API_KEY" -H "Accept: text/csv" > eth-open-interest.csv

In CSV, paging moves to the X-Has-More and X-Next-Cursor response headers; the rows are the same as in JSON (response formats).

Teams that want open interest for every market as scheduled Parquet files, delivered to a warehouse, S3 or a message bus, can have it added to their plan by Hyperdash's integration team. The same team can add history beyond a plan's depth (Enterprise Solutions).

How do you get BTC open interest for the last 30 days without code?

Connect the Hyperdash MCP server to Claude and ask: "Show me BTC open interest on Hyperliquid for the last 30 days, in USD, one value per day." Claude calls the daily open interest tool and returns the table, and it can chart it or save it as a CSV. Asked on November 27, 2026, it returned these rows, among others:

BTC open interest on Hyperliquid, daily
UTC dayOpen interestBTC mark
October 28, 2026$3.57B$81,240
November 4, 2026$3.11B$80,682
November 11, 2026$2.98B$73,899
November 14, 2026$2.31B$63,511
November 18, 2026$2.43B$62,218
November 24, 2026$2.11B$59,951
November 26, 2026$2.09B$60,519
Hyperdash Data API, GET /v1/markets/BTC/open-interest/daily, at each UTC day's last hourly snapshot.

From October 28 to November 26, 2026, BTC open interest fell 41.6% in dollars while the mark fell 25.5%. Dividing by the mark shows open interest in BTC, longs plus shorts as Hyperliquid counts it, dropped as well, from about 44,000 to about 34,500, so positions were closing, not only losing value.

Ask your AI agent for Hyperliquid open interest history

Your AI agent can answer "How has open interest on each Hyperliquid HIP-3 dex changed over the last 30 days, and which markets added the most this week?"

  • Connect the MCP server: the Hyperdash MCP server works with Claude, ChatGPT, Claude Code, Codex or Cursor; setup takes about 2 minutes and you sign in with your Hyperdash account.
  • Install the skills: Hyperdash skills give Claude Code, Codex or Cursor working knowledge of the API with one command; in Claude or ChatGPT, paste the skill link. The Data skill answers open interest questions directly, and the Build skill covers code that pages through the bars.
  • Ask your agent: The Data API guides answer questions like this with one prompt, including HIP-3 markets, Trader positioning and Funding rates.
  • Read the docs: the Data API docs, the data coverage page with every start date, and the endpoint index for agents.

For more, read Hyperliquid Historical Data and Hyperliquid funding rate history.

FAQ

Is Hyperliquid open interest reported in coins or dollars?

Hyperliquid reports it in coin units. Hyperdash's open interest bars keep coin units, and the daily, total, dex, category and change endpoints return USD, which is open interest times the mark price.

How far back does Hyperliquid open interest history go?

On the Hyperdash Data API, open interest bars start March 22, 2025, and daily USD open interest starts August 26, 2025. Your plan reads the last 90 to 365 days, and Enterprise reads both from their start dates.

Can I get open interest history for Hyperliquid HIP-3 markets?

Yes. Pass the full market name, such as xyz:TSLA, to the bars or daily endpoint, and use GET /v1/markets/open-interest/by-dex for totals per Hyperliquid HIP-3 dex.

Can I export Hyperliquid open interest history to CSV?

Yes. Send Accept: text/csv with any Hyperdash open interest request, or ask an AI assistant connected to the Hyperdash MCP server to save the history as a CSV file.

How do I find which Hyperliquid markets gained the most open interest?

Call GET /v1/markets/open-interest/changes on the Hyperdash Data API. It lists every market's open interest now and 24 hours, 7 days and 30 days ago, so one request ranks them all.

How much does Hyperliquid open interest data cost?

Every Hyperdash plan includes all six open interest endpoints, from $20 a month. A request costs 10 or 20 credits plus 1 per row, so 30 days of daily values for one market is about 50 credits.

Get started with Hyperdash

  1. Create your Hyperdash account and get your first API key. Plans start at $20 a month.
  2. Connect the Hyperdash MCP server to Claude, ChatGPT, Claude Code, Codex or Cursor in about 2 minutes, with no API key.
  3. Make your first request with the Quickstart.

Need full history, an SLA or Hyperliquid Peering in Tokyo or Frankfurt? Talk to the Hyperdash team.


Start trading

Trade 600+ markets 24/7 with live position, order flow and liquidation data.