Open interest by exchange
Open interest of one coin on every venue over time, hourly or daily, with the current share of each venue.
/api/v1/open-interest/{coin}Every keyThe same data on the website, no key needed: BTC open interest and funding.
Description
Open interest of one coin per exchange over time (API 1.52.0), the open interest chart of the coin's positioning tab on the website: per hourly or daily bucket the open interest of every venue that has a value (byVenue, canonical venue order) and their sum (totalUsd), plus now: the current open interest per venue with its share of the current total. Values: our own samples of each venue in USD (unit USD; exchange values converted with the USDT rate), the last value of the bucket (daily: the newest value of the UTC day); for Binance, Bybit, Gate and HTX before our own collection the exchange's open-interest history (unit USDT, values unchanged; Bybit full hours only; HTX: the exchange's count of open contracts in coins valued at the stored hourly price of the coin). totalUsd adds the values of byVenue as they are (a USDT value counts as USD); a venue without a value in a bucket is missing from it, never filled in, so compare totals only between buckets with the same venues. Pages: a response holds the newest limit buckets of the window; meta.nextCursor / meta.nextUrl lead to the older ones (null when nothing older is stored). closed: false marks the bucket still forming. from is clamped to the plan history (meta.warnings says so), to to now minus the feed delay. While an exchange is withheld it is left out of every bucket, of now and of every total, and meta.restricted names it, so no total contains its value. Lighter is never withheld.
Who can call it
Available with every key and keyless (X-Blockmetric-Access: public). Keys of Free accounts get free-tier data (real-time feeds, 30 days of history, heatmap over time for every coin over the last 30 days, liquidation levels now for every coin, the same as the free web plan); Pro and Desk keys the data of their plan; API Dev / API Pro raise the limits. Paid keys read the plan's history, the same on monthly and yearly billing: GET /me states the days.
- No key
- 24 h
- Free
- 30 days
- Pro
- 1 year
- Desk
- 3 years
- API Dev
- 1 year
- API Pro
- 3 years
History window per plan. Limits: Authentication & limits.
Parameters
| Parameter | Description |
|---|---|
coinstring · pathrequired | Coin, e.g. BTC or ETH (case-insensitive; exchange names like BTCUSDT or 1000PEPE resolve). 404 for an unknown coin; a coin without stored open interest answers no points.e.g. BTC |
tfstring | 1h (default) or 1d, UTC aligned.one of 1h, 1d · default 1h |
fromstring | Start (ISO 8601 or a plain date, optional; default: `limit` buckets before `to`). Clamped to the plan history (meta.warnings says so).ISO 8601 (UTC), e.g. 2026-10-23T12:00:00Z or 2026-10-23 |
tostring | End, exclusive (ISO 8601 or a plain date, optional; default now).ISO 8601 (UTC), e.g. 2026-10-23T12:00:00Z or 2026-10-23 |
limitinteger | Buckets per page: tf=1h default 168 (a week), 1 to 1000; tf=1d default 90, 1 to 366. A larger value is clamped (meta.warnings).1–1000 · default 168 · e.g. 30 |
cursorstring | Older buckets: the value of meta.nextCursor from the previous response (keep the other parameters unchanged). Cursors are signed: an edited cursor answers 400.e.g. the value of meta.nextCursor |
Response fields
Every success is { data, meta }; these are the fields of data. meta is the same on every endpoint.
coinstringCoin name as on Hyperliquid (BTC, kPEPE, HIP-3 names like xyz:TSLA).
tf"1h" | "1d"Bucket interval: 1h or 1d.
nowobjectOpen interest of the coin per venue right now (the latest market state).
Show the 11 fields of
nownow.totalUsdnumber · nullableCurrent open interest summed over the venues in byVenue (USD).now.updatedAtstring (ISO 8601) · nullableNewest update among the venues in byVenue.now.byVenueobjectCurrent open interest per venue; venues without the coin are missing.now.byVenue.hyperliquidobjectOpen interest of the coin on hyperliquid now.now.byVenue.lighterobjectOpen interest of the coin on lighter now.now.byVenue.binanceobjectOpen interest of the coin on binance now.now.byVenue.bybitobjectOpen interest of the coin on bybit now.now.byVenue.gateobjectOpen interest of the coin on gate now.now.byVenue.htxobjectOpen interest of the coin on htx now.now.byVenue.kucoinobjectOpen interest of the coin on kucoin now.now.byVenue.asterobjectOpen interest of the coin on aster now.
points[]array of objectsOldest → newest; a bucket in which no venue has a value is missing.
Show the 12 fields of
points[]points[].tstring (ISO 8601)Bucket start (UTC).points[].totalUsdnumberSum of the values in byVenue, taken as they are (a USDT value counts as USD).points[].byVenueobjectOpen interest per venue in this bucket, canonical venue order; a venue without a value is missing (never filled in).points[].byVenue.hyperliquidobjectOpen interest of the coin on hyperliquid in this bucket.points[].byVenue.lighterobjectOpen interest of the coin on lighter in this bucket.points[].byVenue.binanceobjectOpen interest of the coin on binance in this bucket.points[].byVenue.bybitobjectOpen interest of the coin on bybit in this bucket.points[].byVenue.gateobjectOpen interest of the coin on gate in this bucket.points[].byVenue.htxobjectOpen interest of the coin on htx in this bucket.points[].byVenue.kucoinobjectOpen interest of the coin on kucoin in this bucket.points[].byVenue.asterobjectOpen interest of the coin on aster in this bucket.points[].closedbooleanfalse: the bucket is still forming and its values can change.
Errors
- 400
invalid_paramInvalid parameter - 401
unauthorizedMissing or invalid API key - 401
key_requiredKeyless trial used up: a key is required - 403
plan_requiredPlan does not include this - 403
scope_requiredKey not scoped for this API - 403
ip_not_allowedAddress not on the IP allowlist of the key - 403
origin_not_allowedKey used from a browser origin it does not allow - 403
source_restrictedExchange withheld - 403
linked_accountKey of a linked free account paused - 403
https_requiredhttps required - 404
not_foundNot found - 429
rate_limitedPer-minute limit reachedretry - 429
daily_limit_exceededDaily limit reachedretry - 429
stream_limitToo many open streamsretry - 500
internal_errorInternal errorretry
Methodology
- Open interest (how it is computed and its limits)
Code snippets in these docs are licensed under MIT-0: copy them into your own code without attribution. The SDKs, CLI and MCP server are Apache-2.0; the name Blockmetric is not licensed (forks must be renamed). Data from the API is governed by the API terms; third-party exchange data by the exchange’s terms.