API reference

REST + JSON over HTTPS, read-only. Every endpoint with its parameters, response fields, a real example and a live console. API 1.24.0.

Contents

Base URL

Every endpoint is a GET below this URL and answers JSON.

https://api.blockmetric.io/v1
Try it now, no key needed
curl -s -H "X-Blockmetric-Access: public" \
  "https://api.blockmetric.io/v1/liquidations/summary?hours=24"

X-Blockmetric-Access: public runs without a key (free-tier data, 24 h of history, 10 requests a minute and 300 a day per IP address). A free key gives you 30 days of history (the heatmap: the last 24 hours) and your own limits (see authentication).

Endpoints

35 read-only endpoints, plus a live stream and signed webhooks.

Markets

Liquidations

Whales

Guides

Testing

The API only reads, so there is no separate test mode. Every call is safe to repeat.

  • Before you have a key: send X-Blockmetric-Access: public to use the same endpoints on the free tier.
  • In the browser: every endpoint page has a "Try it" console, and the explorer builds a shareable link per request.
  • Webhooks: "Send test event" on the account page delivers a signed test event to your endpoint at once.
  • In CI: mock against the OpenAPI document and the real example responses on each endpoint page.

Downloads

Generated from the same source as this reference, so they always match the server.

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 10sOperationalLighter positions & heatmap 2sOperationalLighter RH positions & heatmap 6sOperationalBinance markets 31sOperationalBybit markets 1sOperationalBinance liquidations 10sOperationalBybit liquidations 10sOperationaldYdX positions & heatmap 3sOperationalGMX positions & heatmap 6sOperationalLong/short & open interest history 2mOperationalOrder books & trade flow 1sOperationalOn-chain transfers 2sOperationalSecurity monitor 40sOperationalBlockmetric Sentiment 9mOperationalOfficial news 7mOperationalAlert delivery 2sOperational10:06:28 UTCData: Blockmetric Research · Binance · Bybit