API explorer

Pick an endpoint, fill in the parameters and send. Runs through the real API: with your key when you are logged in, without a key otherwise. Your key never reaches the page.

Request
curl -s -H "X-Blockmetric-Access: public" \
  "https://api.blockmetric.io/v1/open-interest/BTC?tf=1d"

Try it

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.

No key: 24 h of history, 10 requests a minute and 300 a day per IP address in this console. From your own code, keyless access is a trial of 25 requests a day.

Get a free key: 30 days of history and 60 requests a minute, counted for your account alone.

Choose an endpoint, fill in parameters and send. The response appears here with its status, headers and timing.

Parameters, response fields and a real example of every endpoint: API reference.

LiveHyperliquid markets 6sOperationalHyperliquid positions & whales 8sOperationalLiquidation heatmap & levels 11sOperationalLighter markets & liquidations 27sOperationalLighter positions & heatmap 6sOperationalLighter on Robinhood Chain: positions & heatmap 8sOperationalAster markets 18sOperationalBinance markets 8sOperationalBybit markets 43sOperationalGate markets 13sOperationalHTX markets 15sOperationalKuCoin markets 13sOperationalBinance liquidations 25sOperationalBybit liquidations 25sOperationalGate liquidations 25sOperationalHTX liquidations 25sOperationaldYdX positions & heatmap 11sOperationalGMX positions & heatmap 10sOperationalLong/short & open interest history 8sOperationalOrder books & trade flow 3sOperationalOn-chain transfers 6sOperationalSecurity monitor 11sOperationalBlockmetric Sentiment 14mOperationalAgency releases 7mOperationalAlert delivery 12sOperationalDataset files 21mOperational07:29:01 UTC