Crypto market data API
Real-time crypto market data from Hyperliquid on-chain positions plus Binance and Bybit: a REST API with OpenAPI 3.1, a live stream and signed webhooks. API 1.24.0. Free key for personal use, production plans from $49/mo: API pricing.
API or RPC?
API: market data
- What it is
- Blockmetric’s own market intelligence: liquidation heatmaps, liquidations, whales and positions, funding, open interest, order flow, sentiment and news.
- What you get
- JSON over REST, a live event stream and signed webhooks, with OpenAPI 3.1 and copy-paste examples.
- Typical uses
- Trading bots, dashboards, research, apps that show market data.
- Authentication
- An API key (bm_live_…) in the Authorization header, from your server. Never in a URL.
RPC: blockchain access
- What it is
- Direct access to 12 networks: balances, contract state, eth_call, logs, blocks and subscriptions. Read-only for now: sending transactions opens later.
- What you get
- Standard JSON-RPC over HTTPS and WebSocket. Works with viem, ethers, web3.py, wallets, Hardhat and Foundry.
- Typical uses
- dApps, wallets, bots that act on-chain, indexers.
- Authentication
- An endpoint token (bmr_…) in the URL or the Authorization header, limited to chains, origins and IPs.
First request in 60 seconds
Make your first request, no key needed
Paste this into a terminal. The header X-Blockmetric-Access: public runs it on the free tier without a key (24 h of history).
curl -s -H "X-Blockmetric-Access: public" \ "https://api.blockmetric.io/v1/liquidations/summary?hours=24"What you get back (a real response recorded with an API Dev key on 2026-10-27, lists shortened)
{ "data": { "hours": 24, "totalUsd": 87626913.95, "longUsd": 45040168.79, "shortUsd": 42586745.16, "count": 41720, "byVenue": [ { "venue": "binance", "longUsd": 36832351.85, "shortUsd": 32523143.65, "count": 31025 }, { "venue": "bybit", "longUsd": 7730566.19, "shortUsd": 7924491.54, "count": 10689 } ], "byCoin": [ { "coin": "BTC", "longUsd": 10729795.17, "shortUsd": 9543197.16, "count": 1467 }, { "coin": "ETH", "longUsd": 5920035.9, "shortUsd": 8695988.38, "count": 1272 } ], "largest": { "id": 240641, "ts": "2026-10-26T15:21:04.781Z", "venue": "hyperliquid", "coin": "BTC", "side": "short", "price": 80736.4290138, "qty": 22.9291, "usd": 1851213.65 }, "series": [ { "t": "2026-10-26T13:00:00.000Z", "longUsd": 9339543.97, "shortUsd": 1113072.12 }, { "t": "2026-10-26T14:00:00.000Z", "longUsd": 2025809.46, "shortUsd": 3477513.42 } ], "coveredSince": "2026-10-23T00:27:23.214Z", "updatedAt": "2026-10-27T13:12:16.218Z", "hourlySumsBefore": null }, "meta": { "updatedAt": "2026-10-27T13:12:16.218Z", "source": "hyperliquid,binance,bybit", "sources": [ "hyperliquid", "binance" ], "plan": "api_dev", "delayMinutes": 0, "commercial": false, "license": { "id": "internal", "display": false, "attributionRequired": false, "attribution": null, "redistribution": false, "mauCap": null, "terms": "https://blockmetric.io/terms#api-license" }, "attribution": { "text": "Data by Blockmetric · Source: Blockmetric Research · Binance · Bybit", "url": "https://blockmetric.io/" }, "access": { "historyDays": 365, "historyFrom": "2025-10-27T13:14:00.000Z" }, "restricted": [ "binance", "bybit" ] } }Get API key
Sign up (free) and create a key under Account › API keys: 10 requests a minute, 1,000 a day and 30 days of history, personal use. Then send
Authorization: Bearer $BLOCKMETRIC_API_KEYinstead of the public header.Go real time: stream or webhook
API Pro pushes every radar event (big liquidations, cascades, whales near liquidation, exploits, depegs) as Server-Sent Events or as signed webhooks; API Dev includes webhooks too. Webhooks · Live stream
curl -N -H "Authorization: Bearer $BLOCKMETRIC_API_KEY" \ "https://api.blockmetric.io/v1/stream?kinds=big_liquidation,liq_cascade&minSeverity=2"
What you can build
Step-by-step recipes with complete code in cURL, JavaScript and Python, real output and the plan each one needs.
/liquidations/meCascade and cluster alertsLiquidation cascades pushed to your server, plus a warning before price hits a big cluster.API Dev30 min to buildwebhooks/radar/events+1Funding arbitrage scannerA table of the widest funding spreads between venues, now and for the next funding.Free20 min to build/funding/spreads/funding+2Whale position trackerOne line every time a large wallet opens, adds, cuts, flips or closes a position.Free15 min to build/whales/feed/whales+2Wallet liquidation-risk monitorA warning when a watched position comes within 10 % or 3 % of its liquidation price.Free15 min to build/wallets/{address}/whales+1Backtest liquidation clustersHit rates: how often price reached the big liquidation cluster near it within 24 hours.Free45 min to build/heatmap/{coin}/candles/{coin}Research notebook in PythonA reproducible study: what happened after the hours with the largest liquidations.Free30 min to build/liquidations/summary/candles/{coin}+1Market data in your appFunding, open interest and liquidations on your own site, cached and credited.No keyAPI Pro30 min to build/markets/liquidations/summary+1Multi-chain dApp backendBalances, blocks and token transfers on eight chains with one token.RPC Free20 min to buildeth_getBalanceeth_blockNumber+2AI agent with live dataAn assistant that answers with live liquidations, clusters, funding and whale moves, and cites them.No key10 min to build/llms.txt/heatmap/{coin}+3What the API covers
Liquidation heatmap API
Liquidation levels over time and right now, from the real liquidation prices of tracked Hyperliquid positions.
Liquidation data API
Market-wide liquidations, newest first, and their totals per coin and venue.
Funding rate API
Funding of every venue side by side, predicted funding and the spreads between venues.
Open interest API
Open interest, mark, volume and funding per market, long/short ratios and candles.
Order flow API
Taker flow and cumulative volume delta, order-book depth and walls, and the large-trade tape.
Whale and wallet API
The largest tracked positions, whale position changes, single wallets and on-chain movements.
/positions/top · /whales/feed · /wallets/{address} · /movements
Every coin your plan covers. All 35 endpoints
How it works
- Authentication
Authorization: Bearer bm_live_…orx-api-key, from your server. See keys and limits.- Envelope
{ data, meta }; errors{ error: { code, message, doc_url, request_id } }. See conventions.- Units
- Times ISO 8601 UTC · money USD · funding, distances and *Pct fields as fractions (0.01 = 1 %).
- Pagination
limit+cursoruntilmeta.nextCursorisnull. See pagination and caching.- Versioning
/api/v1changes only additively; breaking changes ship as/api/v2with six months of overlap. See the changelog.
Files and tools
- OpenAPI 3.1 · YAML for codegen and API tools
- Postman collection · .http file
- AI agents llms.txt, Markdown reference, MCP
- Historical data stored history in bulk
- Status data freshness and uptime
SDKs
TypeScript / JavaScript, Python, CLI, MCP server are being prepared for release. Every example in the docs works today with plain HTTP: cURL, JavaScript or Python.
Data licence
Every response carries meta.license and meta.attribution, the finished credit line with the sources of that response. Without a key: personal and non-commercial use; when you show the data, show the linked credit "Data by Blockmetric". Widgets, embeds, chart images and downloads: free for non-commercial and editorial use with the visible, linked credit "Data by Blockmetric"; third-party exchange values stay under the exchange's terms. What each plan may do: API pricing · Terms
Code: the SDKs, CLI and MCP server will be Apache-2.0 once published (the name Blockmetric is not licensed); code snippets and the examples are MIT-0.
<a href="https://blockmetric.io/" rel="noopener">Data by Blockmetric</a> · Source: Blockmetric Research · Binance · BybitBase URL https://api.blockmetric.io/v1.