Bybit Open Interest Dataset

Bybit Historical Open Interest Data

Bybit open interest snapshots in venue units and quote notional, aligned with the schema used across CryptoHFTData derivatives venues.

No credit card · The sample is one real hourly Parquet file and needs no API key

Sample

See the data before you sign up

The first rows of one real hour: BTCUSDT on Bybit Futures, 2026-09-02 at 12:00 UTC. One row per open interest snapshot.

bybit/2026-09-02/12/BTCUSDT_open_interest.parquetDownload full file
received_timesymbolsum_open_interestsum_open_interest_valuetimestamp
1788350404365345518BTCUSDT55827.3584286279954.381788350404283
1788350416365734055BTCUSDT55831.8824284698303.861788350416283
1788350425365327187BTCUSDT55824.8814284057192.821788350425283
1788350434365169944BTCUSDT55825.5484284297069.421788350434283
1788350446365470940BTCUSDT55825.7584284498527.261788350446283
1788350455365482884BTCUSDT55824.3444284080180.901788350455283
Showing 6 of 359 rows in this hourTimestamps are raw integers; units are in the schema below

Wire format

From exchange message to Parquet row

Every row starts as a message on the exchange's WebSocket or REST API. Point at a line or a column to see where each value comes from and how we convert it. Our test suite replays these messages through the production pipeline, so the rows shown are the rows you download.

Bybit Futures

Bybit sends one snapshot with all fields when the subscription starts. This snapshot publishes a ticker row, a mark price row and an open interest row. In our captures, the first snapshot was up to 2 seconds old when we received it. The deltas that Bybit sent after that time came immediately after the snapshot.

Exchange sends

WebSocket message · tickers.<symbol>received 2026-10-05 19:19:52.187738 UTC

{
"topic": "tickers.BTCUSDT",
"type": "snapshot",
"data": {
"symbol": "BTCUSDT",
"tickDirection": "ZeroPlusTick",
"price24hPcnt": "0.004251",
"lastPrice": "85721.40",
"prevPrice24h": "85358.50",
"highPrice24h": "86986.50",
"lowPrice24h": "84907.70",
"prevPrice1h": "85436.60",
"markPrice": "85730.36",
"indexPrice": "85768.04",
"openInterest": "57163.259",
"openInterestValue": "4900626772.84",
"turnover24h": "5739447395.0800",
"volume24h": "66763.0850",
"fundingIntervalHour": "8",
"fundingCap": "0.00333",
"singleOpenInterest": "28581.63",
"singleOpenInterestValue": "2450313429.29",
"nextFundingTime": "1791244800000",
"fundingRate": "0.00001336",
"bid1Price": "85721.30",
"bid1Size": "2.542",
"ask1Price": "85721.40",
"ask1Size": "10.152",
"preOpenPrice": "",
"preQty": "",
"curPreListingPhase": ""
},
"cs": 820929695495,
"ts": 1791227990283
}

You download

Parquet row · open_interest

Point at a line in the message or a column in the row to trace where each value comes from. Click a column to pin it.

Our tests replay this message through the production pipeline

All Bybit Futures mapping rules →

Conventions for every exchange are in the wire formats overview. Column types and units for open interest data are in the schema below.

Use cases

What you can build with open interest data

Leverage build-up
Watch open interest rise or fall to see when new positions are being opened or closed.
Price and positioning divergence
Combine open interest with price to separate new money entering a move from short covering or long liquidation.
Cross-venue positioning
Compare where open interest concentrates across derivatives exchanges for the same underlying.

Coverage

Open interest coverage

Every venue is stored under its own exchange ID, so spot and derivatives never mix. Bars show each venue's history from its first hourly file to today, or to its last file for a venue that is no longer collected. Symbol counts are live from the symbols API.

Open interest coverage by venue, exchange ID, market, history start, and live symbol count
VenueExchange IDMarketHistoryOpen interest symbols
Bybit FuturesbybitFutures
2025-06-2816 mo
1,526

Other exchanges

Open Interest data on other exchanges

The same schema on every venue, so switching exchange is a one-argument change.

Or compare every venue on the cross-exchange open interest overview.

Schema · 5 columns

Normalized open interest schema

Every open interest row is an exchange-published snapshot with total open interest in the venue's unit (base asset or contracts), quote notional value when available, and snapshot timing.

Columns in every open interest Parquet file
ColumnTypeDescription
received_timeINT64Unix timestamp (nanoseconds) when our system received the open interest data
symbolSTRINGTrading pair symbol (for example, 'BTCUSDT')
sum_open_interestSTRINGnullableTotal open interest in the unit of the venue (stored as string for precision). The unit is the base asset on most venues, contracts on OKX and Kraken inverse futures, and raw instrument units on BitMEX (refer to the venue notes)
sum_open_interest_valueSTRINGnullableTotal notional value of open interest in the quote currency, if the venue gives it or if we can calculate it (stored as string for precision)
timestampINT64Unix timestamp when the exchange took the open interest snapshot

Quickstart

From pip install to DataFrame in a minute

The example loads BTCUSDT from Bybit Futures for 2026-09-02. Change the symbol, exchange, or dates to pull any other slice of the archive.

  1. Install the Python SDK

    pip install cryptohftdata
  2. Create a free API key

    Sign up with email or Google, then generate a key from your dashboard. No credit card.

    Create account
  3. Call get_open_interest()

    Paste the snippet, replace YOUR_API_KEY, and you get a pandas DataFrame with the columns listed above.

bybit_open_interest_data.py
import cryptohftdata as chd

client = chd.CryptoHFTDataClient(api_key="YOUR_API_KEY")

df = client.get_open_interest(
    symbol="BTCUSDT",
    exchange=chd.exchanges.BYBIT_FUTURES,
    start_date="2026-09-02",
    end_date="2026-09-02",
)

print(df.head())
print(f"Open interest snapshots: {len(df):,}")
REST · no API key needed for single files
curl --fail --location \
  "https://api.cryptohftdata.com/download?file=bybit/2026-09-02/12/BTCUSDT_open_interest.parquet" \
  -o BTCUSDT_open_interest_12.parquet

Caveats

Know this before you backtest

Exchange feeds differ in subtle ways. These are the details that matter for accurate backtests, replay pipelines, and features. Missing hours and pending corrections for every venue are listed on Known Gaps & Corrections.

  1. Open interest is a periodic snapshot published by each exchange, not a continuous event stream; snapshot cadence varies by venue.

  2. sum_open_interest is in the venue's unit: base asset on most venues, contracts on OKX (multiply by ctVal) and Kraken inverse futures, raw per-instrument units on BitMEX. sum_open_interest_value is quote notional where available.

  3. This page starts on 2025-06-28 based on the earliest stored hourly files for its covered exchange IDs and grows as new hourly files are published.

FAQ

Frequently asked questions

Is Bybit open interest data free to download?

Yes. A free CryptoHFTData account with no credit card gives API access to Bybit open interest data and every other dataset. Individual hourly files can also be downloaded without an API key on the rate-limited free tier.

How far back does Bybit open interest data go?

The earliest hourly files start on 2025-06-28, and new files are added every hour. Start dates differ by venue; the coverage table on this page lists each one.

What format are the files in?

Each file holds one symbol for one UTC hour, stored as Zstd-compressed Parquet under {exchange_id}/{YYYY-MM-DD}/{HH}/{SYMBOL}_open_interest.parquet. Parquet reads directly into pandas, Polars, DuckDB, and Arrow.

How do I load Bybit open interest data in Python?

Install the SDK with pip install cryptohftdata, create a client with your API key, and call client.get_open_interest() with a symbol, exchange, and date range. It returns a pandas DataFrame.

How often is open interest recorded?

Open interest is a periodic snapshot published by each exchange, not a continuous stream. The cadence depends on the venue, so check timestamps before resampling.

Start using open interest data today.

One free API key covers every exchange and every data type. $0.00.