Contents

Market state of a venue

Latest market state of one venue: mark, oracle, funding (hourly and annualised), open interest, 24h volume, premium, max leverage.

GET/api/v1/marketsEvery key

Description

Largest open interest first. Licence review: raw rows of Binance and Bybit (single liquidations, prints, order books, tickers, funding and ratios per exchange, exchange candles) are not redistributed through the API while the review of their terms is pending. Asking for such a venue answers 403 source_restricted, and meta.restricted lists the withheld venues. Aggregates (sums over venues, our own figures) stay.

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 24 hours, 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.

No key
24 h
Free
30 days
Pro
365 days
Desk
1095 days
API Dev
365 days
API Pro
1095 days

History window per plan. Limits: Authentication & limits.

Parameters

Parameters of /markets
ParameterDescription
venuestringhyperliquid | lighter | binance | bybit (okx only while enabled, see /methodology#sources); default hyperliquid. Lighter (a DEX like Hyperliquid) is never withheld. Binance / Bybit: 403 source_restricted during the licence review.one of hyperliquid, lighter, binance, bybit, okx
fieldsstringComma-separated fields of every item to return, e.g. coin,mark,fundingApr,openInterestUsd (case-insensitive). All other fields are left out, so large lists get much smaller; an unknown name answers 400 with the list of fields. Default: every field.
formatstringjson (default: the { data, meta } envelope) | csv (the rows with a header line; nested values as JSON text) | ndjson (one JSON object per row and line). csv and ndjson carry the meta block in headers: Link rel="next" and X-Blockmetric-Next-Cursor (next page), X-Blockmetric-Next-After (forward polling), X-Blockmetric-Updated-At, X-Blockmetric-Warnings, X-Blockmetric-License. Errors stay JSON.one of json, csv, ndjson · default json

Response fields

Every success is { data, meta }; these are the fields of data. meta is the same on every endpoint.

Response fields of /markets
FieldDescription
[].venue"hyperliquid" | "lighter" | "binance" | "bybit" | "okx"Trading venue.
[].coinstringCoin name as on Hyperliquid.
[].marknumber · nullableMark price.
[].oraclenumber · nullableOracle / index price.
[].fundingHourlynumber · nullableHourly funding rate, fraction (0.0001 = 0.01 %/h).
[].fundingAprnumber · nullableAnnualised funding (hourly × 24 × 365), fraction.
[].openInterestUsdnumber · nullableOpen interest (USD).
[].volume24hUsdnumber · nullable24h volume (USD).
[].premiumnumber · nullableMark premium over the oracle, fraction.
[].maxLeverageinteger · nullableMaximum leverage.
[].updatedAtstring (ISO 8601)Newest data time of this item (ISO 8601 UTC).

Errors

Methodology

Code snippets in these docs are licensed under MIT-0: copy them into your own code without attribution. The SDKs, CLI and MCP server will be, once published, 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.

LiveHyperliquid markets 2sOperationalHyperliquid positions & whales 2sOperationalLiquidation heatmap & levels 4sOperationalLighter markets & liquidations 11sOperationalLighter positions & heatmap 3sOperationalLighter RH positions & heatmap 7sOperationalBinance markets 32sOperationalBybit markets 2sOperationalBinance liquidations 11sOperationalBybit liquidations 11sOperationaldYdX positions & heatmap 4sOperationalGMX positions & heatmap 7sOperationalLong/short & open interest history 2mOperationalOrder books & trade flow 1sOperationalOn-chain transfers 2sOperationalSecurity monitor 40sOperationalBlockmetric Sentiment 9mOperationalOfficial news 7mOperationalAlert delivery 3sOperational10:06:29 UTCData: Blockmetric Research · Binance · Bybit