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/flow/BTC/spot-perp?hours=24"

Try it

CVD spot against perp of one coin: is spot or the perpetual market doing the net buying? The taker flow of the window from GET /flow/{coin}, as two lines over the same bars: spot (the exchanges whose spot trades we record, today Binance spot for the largest coins) and perp (every perpetual venue summed), plus the perp of the spot venues alone (perpSameVenue, same exchange). Each side carries taker buy and sell USD and the net delta; points are the cumulative deltas from the earliest common bar (a bar missing on either market is left out of both, never a zero). spotShare = spot taker volume ÷ spot plus perp of the same exchange. reading: aligned (both net bought or both net sold), diverging (opposite ways) or flat; larger names the market with the larger net delta in USD. Descriptive, never a forecast. Window and coins as GET /flow/{coin} (free key 24, Pro / API Dev 720, Desk / API Pro 26,280); a coin without recorded spot trades answers an empty spot side and names the recorded coins in meta.warnings. Exchange data: values per exchange of Binance, Bybit, Gate, HTX, KuCoin and Aster are returned (single liquidations, prints, order books, tickers, funding and ratios per exchange, exchange candles, sums per venue), as collected and without warranty. We may withhold a venue at any time: then its rows and its own sums are left out, asking for it answers 403 source_restricted, meta.restricted lists it, and sums over several venues stay. meta.restricted is absent while nothing is 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 14sOperationalHyperliquid positions & whales 15sOperationalLiquidation heatmap & levels 15sOperationalLighter markets & liquidations 25sOperationalLighter positions & heatmap 14sOperationalLighter on Robinhood Chain: positions & heatmap 12sOperationalAster markets 1mOperationalBinance markets 59sOperationalBybit markets 48sOperationalGate markets 56sOperationalHTX markets 1mOperationalKuCoin markets 1mOperationalBinance liquidations 21sOperationalBybit liquidations 20sOperationalGate liquidations 20sOperationalHTX liquidations 20sOperationaldYdX positions & heatmap 15sOperationalGMX positions & heatmap 26sOperationalLong/short & open interest history 30sOperationalOrder books & trade flow 18sOperationalOn-chain transfers 15sOperationalSecurity monitor 14sOperationalBlockmetric Sentiment 6mOperationalAgency releases 4mOperationalAlert delivery 12sOperationalDataset files 28mOperational07:35:59 UTC