API recipes

Step by step from an empty file to a running program, with complete code, real output and the plan each build needs.

Alerts and bots

Get told when something happens: liquidations, cascades, whales, your own positions.

Research and backtests

Numbers you can reproduce: spreads, hit rates, what happened after big flushes.

Apps, agents and dApps

Put the data in front of users, give it to an AI agent, or build on several chains.

How the recipes work

  • Every recipe ends with a complete program in cURL, JavaScript (Node 18+) and Python (3.9+) that runs without installing anything.
  • The output and the responses on each page are real: captured on 2026-10-28 against our API, shortened where lists are long.
  • The code is MIT-0: copy, change and use it, also commercially, without attribution. The data stays under the API terms.
  • Missing a recipe? Tell us what you want to build.
LiveHyperliquid markets 10sOperationalHyperliquid positions & whales 10sOperationalLiquidation heatmap & levels 12sOperationalLighter markets & liquidations 18sOperationalLighter positions & heatmap 11sOperationalLighter RH positions & heatmap 15sOperationalBinance markets 39sOperationalBybit markets 9sOperationalBinance liquidations 18sOperationalBybit liquidations 18sOperationaldYdX positions & heatmap 11sOperationalGMX positions & heatmap 14sOperationalLong/short & open interest history 2mOperationalOrder books & trade flow 9sOperationalOn-chain transfers 10sOperationalSecurity monitor 48sOperationalBlockmetric Sentiment 9mOperationalOfficial news 8mOperationalAlert delivery 11sOperational10:06:37 UTCData: Blockmetric Research · Binance · Bybit