Sources › Finance › Binance Futures › Open Interest Hist

Binance Futures Open Interest Hist API

Open interest sampled on a fixed bucket — the size of the outstanding position

Binance FuturesGET /open-interest-histAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:binance-futures/open-interest-hist

Send 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 1 minute.

Parameters

NameTypeInRequiredDescription
symbolstringqueryYesFutures contract. Accepts BTCUSDT, BTC/USDT or btc_usdt Example: BTCUSDT
periodenum: 5m | 15m | 30m | 1h | 2h | 4h | 6h | 12h | 1dqueryNoBucket size. One of 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d — the upstream refuses 8h. Default 1d Example: 1d
countnumberqueryNoRows to return, oldest first. Default 30, max 1000 Example: 30
startTimestringqueryNoWindow start, inclusive. Only the last 30 days exist. ISO date or epoch milliseconds Example: 2026-08-01
endTimestringqueryNoWindow end, inclusive. ISO date or epoch milliseconds Example: 2026-08-20

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:binance-futures/open-interest-hist?symbol=BTCUSDT&period=1d&count=30&startTime=2026-08-01&endTime=2026-08-20" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:binance-futures/open-interest-hist?symbol=BTCUSDT&period=1d&count=30&startTime=2026-08-01&endTime=2026-08-20", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:binance-futures/open-interest-hist",
    params={"symbol":"BTCUSDT","period":"1d","count":"30","startTime":"2026-08-01","endTime":"2026-08-20"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:binance-futures",
  "data": {
    "count": 30,
    "items": [
      {
        "time": 1784937600000,
        "symbol": "BTCUSDT",
        "timeIso": "2026-07-25T00:00:00.000Z",
        "openInterest": 106114.818,
        "circulatingSupply": 20060368,
        "openInterestValue": 6803700116.8152
      },
      {
        "time": 1785024000000,
        "symbol": "BTCUSDT",
        "timeIso": "2026-07-26T00:00:00.000Z",
        "openInterest": 107509,
        "circulatingSupply": 20060868,
        "openInterestValue": 6917476416.904509
      },
      {
        "time": 1785110400000,
        "symbol": "BTCUSDT",
        "timeIso": "2026-07-27T00:00:00.000Z",
        "openInterest": 104354.198,
        "circulatingSupply": 20061281,
        "openInterestValue": 6821873937.9154
      },
      {
        "time": 1785196800000,
        "symbol": "BTCUSDT",
        "timeIso": "2026-07-28T00:00:00.000Z",
        "openInterest": 105602.91,
        "circulatingSupply": 20061743,
        "openInterestValue": 6729450397.131
      },
      {
        "time": 1785283200000,
        "symbol": "BTCUSDT",
        "timeIso": "2026-07-29T00:00:00.000Z",
        "openInterest": 103253.297,
        "circulatingSupply": 20062184,
        "openInterestValue": 6598257390.1692
      },
      {
        "time": 1785369600000,
        "symbol": "BTCUSDT",
        "timeIso": "2026-07-30T00:00:00.000Z",
        "openInterest": 104348.71,
        "circulatingSupply": 20062581,
        "openInterestValue": 6674049577.761
      },
      {
        "time": 1785456000000,
        "symbol": "BTCUSDT",
        "timeIso": "2026-07-31T00:00:00.000Z",
        "openInterest": 106595.936,
        "circulatingSupply": 20063006,
        "openInterestValue": 6902141264.728566
      },
      {
        "time": 1785542400000,
        "symbol": "BTCUSDT",
        "timeIso": "2026-08-01T00:00:00.000Z",
        "openInterest": 109523.589,
        "circulatingSupply": 20063506,
        "openInterestValue": 6884630899.8222
      }
    ],
    "period": "1d",
    "symbol": "BTCUSDT",
    "exchange": "binance"
  },
  "timestamp": "2026-08-20T16:59:35Z"
}

Frequently asked questions

How do I call the Binance Futures Open Interest Hist API?

Send a GET request to https://api.zapi.ink/v1/finance:binance-futures/open-interest-hist?symbol=BTCUSDT with your Zapi key in the x-api-key header. Parameters — required: symbol; optional: period, count, startTime, endTime. The response is JSON in the { project, data, timestamp } envelope.

What does the Binance Futures Open Interest Hist API return?

Open interest sampled on a fixed bucket — the size of the outstanding position. The example response has the fields count, items, period, symbol, exchange. Each item in items has fields such as time, symbol, timeIso, openInterest, circulatingSupply, openInterestValue.

Is the Binance Futures Open Interest Hist 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 Binance Futures Open Interest Hist 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 "binance-futures" and endpoint "open-interest-hist".

What other Binance Futures API endpoints are there?

It has 11 endpoints. Besides Open Interest Hist: Basis, Book Ticker, Exchange Info, Funding Rate, Global Long Short Ratio, Klines, and 4 more.