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/prices?coin=BTC%2CETH%2CSOL"

Try it

Live prices: the price of the latest trade of every Hyperliquid perpetual market our collectors receive trades of (main dex and builder-deployed markets such as xyz:TSLA), with the time of that trade (ts) and its age in seconds when answered (ageSec). The same value as the live price on the website charts, refreshed once a second; ts is the trade itself, not a sample time. stale is true when the last trade is older than 2 minutes or the live feed has not been refreshed for 20 seconds (meta.warnings then says so). A market without a trade for 10 minutes is left out; GET /markets has the sampled mark price of every market and venue. Sorted by open interest, largest at the top. Every key and keyless; pushed every second on GET /stream?channel=prices (API Pro).

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 18sOperationalHyperliquid positions & whales 18sOperationalLiquidation heatmap & levels 19sOperationalLighter markets & liquidations 31sOperationalLighter positions & heatmap 26sOperationalLighter on Robinhood Chain: positions & heatmap 25sOperationalAster markets 45sOperationalBinance markets 35sOperationalBybit markets 24sOperationalGate markets 32sOperationalHTX markets 44sOperationalKuCoin markets 42sOperationalBinance liquidations 26sOperationalBybit liquidations 26sOperationalGate liquidations 26sOperationalHTX liquidations 26sOperationaldYdX positions & heatmap 23sOperationalGMX positions & heatmap 30sOperationalLong/short & open interest history 34sOperationalOrder books & trade flow 13sOperationalOn-chain transfers 18sOperationalSecurity monitor 53sOperationalBlockmetric Sentiment 5mOperationalAgency releases 4mOperationalAlert delivery 20sOperationalDataset files 27mOperational07:35:35 UTC