Request
https://api.zapi.ink/v1/finance:bybit/open-interestSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 30 seconds.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| symbol | string | query | Yes | Trading symbol. Accepts BTCUSDT, BTC/USDT or btc-usdt Example: BTCUSDT |
| category | enum: linear | inverse | query | No | Product line. Open interest is published for derivatives only Example: linear |
| intervalTime | enum: 5min | 15min | 30min | 1h | 4h | 1d | query | No | Sampling interval. Default 5min Example: 5min |
| start | string | query | No | Oldest point to include. Epoch ms/s or ISO date Example: 2021-01-01T00:00:00Z |
| end | string | query | No | Newest point to include. Epoch ms/s or ISO date Example: 2021-01-02T00:00:00Z |
| count | number | query | No | Points per page. Default 200, max 200 Example: 200 |
| page | number | query | No | Page number. Default 1, max 20 Example: 1 |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:bybit/open-interest?symbol=BTCUSDT&category=linear&intervalTime=5min&start=2021-01-01T00%3A00%3A00Z&end=2021-01-02T00%3A00%3A00Z&count=200&page=1" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:bybit/open-interest?symbol=BTCUSDT&category=linear&intervalTime=5min&start=2021-01-01T00%3A00%3A00Z&end=2021-01-02T00%3A00%3A00Z&count=200&page=1", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:bybit/open-interest", params={"symbol":"BTCUSDT","category":"linear","intervalTime":"5min","start":"2021-01-01T00:00:00Z","end":"2021-01-02T00:00:00Z","count":"200","page":"1"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:bybit", "data": { "page": 1, "count": 200, "items": [ { "date": "2026-08-21T14:15:00.000Z", "time": 1787321700000, "openInterest": 49825.159, "singleOpenInterest": 24912.58 }, { "date": "2026-08-21T14:20:00.000Z", "time": 1787322000000, "openInterest": 49904.981, "singleOpenInterest": 24952.491 }, { "date": "2026-08-21T14:25:00.000Z", "time": 1787322300000, "openInterest": 49950.202, "singleOpenInterest": 24975.101 }, { "date": "2026-08-21T14:30:00.000Z", "time": 1787322600000, "openInterest": 49894.376, "singleOpenInterest": 24947.188 }, { "date": "2026-08-21T14:35:00.000Z", "time": 1787322900000, "openInterest": 49893.606, "singleOpenInterest": 24946.803 }, { "date": "2026-08-21T14:40:00.000Z", "time": 1787323200000, "openInterest": 49727.085, "singleOpenInterest": 24863.543 }, { "date": "2026-08-21T14:45:00.000Z", "time": 1787323500000, "openInterest": 49747.449, "singleOpenInterest": 24873.725 }, { "date": "2026-08-21T14:50:00.000Z", "time": 1787323800000, "openInterest": 49773.817, "singleOpenInterest": 24886.909 } ], "symbol": "BTCUSDT", "dataset": "open-interest", "hasMore": true, "category": "linear", "nextPage": 2, "provider": "bybit", "intervalTime": "5min" }, "timestamp": "2026-08-20T14:56:32Z" }
Frequently asked questions
How do I call the Bybit Open Interest API?
Send a GET request to https://api.zapi.ink/v1/finance:bybit/open-interest?symbol=BTCUSDT with your Zapi key in the x-api-key header. Parameters — required: symbol; optional: category, intervalTime, start, end, count, page. The response is JSON in the { project, data, timestamp } envelope.
What does the Bybit Open Interest API return?
Open-interest series for one Bybit derivatives contract, down to five minutes. The example response has the fields page, count, items, symbol, dataset, hasMore, category, nextPage. Each item in items has fields such as date, time, openInterest, singleOpenInterest.
Is the Bybit Open Interest API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the Bybit Open Interest API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "bybit" and endpoint "open-interest".
What other Bybit API endpoints are there?
It has 5 endpoints. Besides Open Interest: Funding History, Instruments Info, Kline, Tickers.
