Changelog
This page documents all notable changes to the Blocklens platform and API.
2026-11-13
Digital Asset Treasuries — assets other than Bitcoin
- Treasuries holding Ether, Solana, Hyperliquid, Tron and other assets are tracked again every day. Their holdings had stopped updating on 2026-03-17 (Ether), and several Solana, Hyperliquid and Tron treasuries were missing; the history since then has been rebuilt.
- The entity registry no longer mixes assets: Ether amounts were listed next to Bitcoin amounts in one column, so an Ether treasury could rank above Strategy.
API & MCP
/v1/dat/registry,/v1/dat/entityand/v1/dat/company/{id}/holdingstake acoinparameter — coin id or symbol, e.g.ethereum/ETH,solana/SOL; defaultbitcoin, so existing requests are unchanged. The registry also acceptscoin=all(one row per entity and asset, sorted by USD value). Rows carrycoin_idandasset;total_current_value_usdis valued at the asset's own price./v1/dat/company/{id}/holdingsworks again (it returned an error).- MCP:
get_dat_registryandget_dat_entitytakecoin;search_dat_entitiesreturns every asset an entity holds.
2026-10-27
Liquidation Map — full price range
- The liquidation maps of Hyperliquid and Binance now show every liquidation level, however far from the price. Until now the map stopped at ±50% of the price and the dashboard opened at ±25% (±10% on phones); a large part of the short side was outside the picture — for example about two thirds of BTC shorts on Hyperliquid, whose over-collateralised accounts have liquidation prices far above the price.
- The dashboard and the Charts open on the full range; ±10 / 25 / 50% are zoom presets. Zoom and reset work on both the heatmap and the current map. Levels far from the price (beyond about 3× the price) are grouped into a few wide far-level buckets, shown separately, so totals always add up.
- The whole history of both exchanges and all coins was recomputed. Estimated (reconstructed) Hyperliquid days remain marked as estimates.
API & MCP
/v1/liqmap/mapand/v1/liqmap/heatmapreturn the full range by default: equal-width buckets up torange.price_maxplus atailof wide far buckets; new fieldsrange,tail,merged,base_step/base_bin, new parametersmax_levels/max_bins. Large requests get merged buckets instead of an error.summary.beyond_span_*is kept and is now0. Details: Liquidation Map API.- MCP
get_liquidation_mapsummarises the full map by default (range_pctis optional; new totalsfull_map,outside_range,far_tailand far clusters);get_liquidation_heatmapreportsoutside_windowper period and defaults to a ±100% window.
2026-10-25
Dealer Hedge Flow (new dashboard, Lab → Dashboards → Blocklens Special)
- Shows how many dollars options dealers would buy or sell to stay hedged if the BTC price moved to each level, and whether that flow amplifies the move or dampens it. Source: Deribit BTC options; dealer positions are rebuilt from the full trade tape, gamma is recomputed with Black-Scholes along the price path.
- Profile by price (the flow if the price went to each $500 level within ±30%), heatmap over time (the profile of every hour with the price and the zero gamma level; on Pro click a column to open that hour), tiles with net GEX, the zero gamma level and the flow at ±5% / ±10%, daily series of these values and strike contributions (calls and puts).
- PNG export for everyone, CSV/JSON on Pro.
- Plans: Free — the latest profile and the last 30 days (daily); Pro — the full history since 2026-03-16, hourly snapshots, profiles on any date and strike contributions.
Metrics
- New category Options: net GEX, zero gamma level, dealer hedge flow at +5% / −5% / +10% / −10%, top gamma support and resistance strikes (daily, the 00:00 UTC snapshot; Pro).
API & MCP
- New endpoints
/v1/options/gex,/hourly,/profileand/heatmap(Dealer Hedge Flow API) and MCP toolsget_gex_daily,get_gex_profileandget_gex_heatmap, with the same plan limits.
How the flow is computed, the assumptions and how it differs from per-strike GEX: Dealer Hedge Flow methodology. The Dealer Hedge Flow is a descriptive model, not a price target or a trading signal.
2026-10-24
Lab — Cost Basis Distribution (new engine, slice on a date, dashboard)
- The Cost Basis Distribution heatmap (Lab → Charts → Supply) now runs on the same engine as the Liquidation Map: smooth zoom (wheel, selection, Shift+drag to pan, double-click to reset), finer price bins when you zoom into a recent window, edge bands for coins below / above the bin range, a colour scale that follows the visible window, dark theme and right-to-left languages, and PNG / CSV / JSON export of the window on screen. Click a day to open the distribution on that date. Enterprise; other plans see a preview.
- New chart Cost basis distribution on a date (Free, any date): supply per price bin with the price of that day, supply in profit / in loss, cumulative supply from the price outward and the largest levels; 50–200 bins (500 on Pro), log or linear, BTC or % of supply.
- New dashboard Cost Basis Distribution (Lab → Dashboards → Blocklens Special): the heatmap over time, the distribution on the selected day with its metrics and the change over 30 days, and the methodology.
- Old links to the heatmap open the new chart; saved charts and dashboard tiles keep working.
API & MCP — tier enforcement (security hardening)
- Field-level tier enforcement: every metric field now carries the access grade of its plan (the
gradeinGET /v1/metrics). Responses contain only the fields your plan includes; fields above your plan are omitted. An explicit request for such a field viafields=returns403withforbidden_fields,required_gradeandupgrade_url; an endpoint whose fields are all above your plan returns403. - History window per plan enforced server-side: rows older than your plan's history window are not returned, whatever
start_date/end_dateyou pass; the first visible day is in theX-History-Fromresponse header. Pro and Enterprise keep the full history. - Data responses are
Cache-Control: privateand vary by the API key (and plan). GET /v1/metrics/latestwithout a key returns the Free fields only; with a key, the fields of your plan.- MCP: a tool that hits a field or endpoint above your plan returns a readable "Access denied" message with the upgrade link.
- MCP:
start_date/end_datenow filterget_prices,get_holder_*,get_coindays,get_cohort_metricsandget_blockchain(they were ignored before, so these tools returned the latest rows instead of the requested range).
Account security
- Sign-in, sign-up, password reset, e-mail verification, promo and checkout forms now limit repeated attempts from one network and for one e-mail address. The limits are set well above normal use; when one is reached the form says how many minutes to wait (the site API answers
429with aRetry-Afterheader). The data API (api.blocklens.co) and API keys are not affected.
Alerts — tier enforcement
- Alerts can only use metrics included in your plan: in the alert editor, metrics of a higher plan are shown with a lock, and creating or changing an alert on such a metric returns
403withlocked_metricsandupgrade_url. - An existing alert on a metric that is no longer in your plan (for example after a downgrade) is paused: no values or charts are sent, you get one notice, and it resumes automatically after an upgrade. Alert chart images are rendered under your plan.
API & MCP — access change
GET /v1/utxo/history(UTXO set by age cohort with BTC and USD value per cohort date) and the MCP toolget_utxo_historynow require an Enterprise plan, like the Cost Basis Distribution they contain. Other plans receive403withrequired_gradeandupgrade_url; in the Lab the metrics UTXO Token Amount and UTXO USD Value show the Enterprise lock. Age-band supply, realized cap and realized price (/v1/cohort/metrics) stay available on every plan.
API & MCP — Cost Basis Distribution on a date (Free)
- New endpoint
GET /v1/cbd/snapshotand MCP toolget_cbd_snapshot: how the unspent Bitcoin supply is spread across price levels on any date, by cost basis (the BTC price on the day a coin last moved), computed exactly with the bins you choose (log or linear, optional price range). Returns the supply per bin with cumulative totals, the exact supply in profit, in loss and at breakeven at the price of that date, and the largest levels. - Plans: Free on any date. Free and demo access: up to 200 bins and 10 top levels, 10 requests per minute and 30 different past dates per hour (200 per day); the latest date is not counted. Pro: up to 1,000 bins, no date quota. The full Cost Basis Distribution heatmap stays Enterprise.
2026-10-22
Liquidation Map (new dashboard, Lab → Dashboards → Blocklens Special)
- Shows where open leveraged positions would be force-closed, by price: Hyperliquid — actual positions (every open position with its liquidation price, scanned daily) and Binance — model (levels estimated from open interest and typical leverage) — side by side or one at a time, for BTC, ETH, SOL and HYPE.
- Heatmap over time (the map of every day with the price line; zoom, click a day to open its map) and the current map (liquidation volume per price band with cumulative curves, top clusters and coverage).
- Without the 20 largest positions toggle for Hyperliquid; days with a partial Binance model window and days reconstructed between archive snapshots are marked as estimates.
- PNG export for everyone, CSV/JSON on Pro; favourites and shareable links.
- Plans: Free — the last 30 days and the current map; Pro — the full history.
Charts
- Charts → Futures → Liquidation maps: the heatmaps and current maps of both sources as separate charts.
API & MCP
- New liquidation map endpoints (Liquidation Map API) and MCP tools
get_liquidation_mapandget_liquidation_heatmap, with the same plan limits.
How the maps are built and what they can and cannot tell: Liquidation Map methodology. The map is a descriptive tool, not a price target or a trading signal.
2026-10-19
Cohort Spending Analysis (Enterprise dashboard)
- Data correction: for ranges longer than two years, the week or month at each internal loading boundary was counted twice (e.g. the week of 2019-12-30 showed ₿2.3M instead of ₿1.14M), and yearly SOPR was approximated (LTH SOPR for 2018 showed 1.10 instead of 1.33). Both now match the source data exactly. Dates no longer shift by a day for users east of UTC.
- Incomplete first/last periods are marked as partial; the default cohorts now start with 1d (age exactly 1 day) and 1d–1w (2–6 days).
- Faster loading for long ranges, instant BTC/USD switching, and the dashboard state (range, aggregation, unit, tab, dates, custom cohorts) is kept in a shareable link.
- Market X-Ray opens with a default comparison (latest period vs ~1M/3M/6M/1Y earlier), periods are picked by year, columns are labelled by cohort.
- Cohort Breakdown adds a % of volume view, a cohort SOPR overlay and the share spent at a loss; SOPR Pulse uses a log scale by default.
- Cohort editor validates names and ranges before applying; dates and numbers follow your language; exports (PNG/CSV/JSON) contain exactly what the active tab shows.
API
POST /v1/enterprise/sopr: buckets and cohorts now also returnbtc_volume,usd_volumeandcost_basis_usd; each period returnsfirst_date,last_dateanddays. Cohort names may use any script; duplicate names and overlapping age ranges are rejected with422.
2026-10-18
Data correction
- Net Liquidity (
macro_net_liquidity): the Reverse Repo component was subtracted without a unit conversion, which overstated the level by up to ~$2T in 2021–2023 (e.g. 2022-06-01: $6.16T, previously shown as $8.12T). The full history has been recomputed. The series is now published for every US business day instead of weekly. - Bitcoin treasuries (
/v1/dat/*): holdings for a part of the tracked companies and governments were stuck at their 2026-08-10 values. History for 2026-08-11 → 2026-10-16 has been corrected and aggregates recomputed. - ETF totals (
/v1/etf/aggregate): Grayscale Mini was counted twice for 2024-07-31 → 2026-07-18, overstating total ETF holdings by up to ~48K BTC (e.g. 2025-06-02: 1,301,052 BTC, previously 1,344,415). Total holdings, AUM, BTC dominance, ETF count, market shares and the ETF realized price were recomputed. - WisdomTree Bitcoin Fund (BTCW) is now counted as a US spot ETF:
us_btc_holdings,us_aumand the US spot ETF realized price include it since 2024-01-11. - The descriptions of
etf_realized_priceandus_spot_etf_realized_pricenow describe the actual calculation (sum of per-fund weighted-average cost / BTC held); values are unchanged.
ETF flows
- Daily flows are now aligned to the trading date for every fund.
- New fields:
flow_usd(/v1/etf/ticker) andus_spot_net_flow_usd(/v1/etf/aggregate) — daily net flow in USD. - Corrected historical flows for FBTC and IBIT, and filled missing days (e.g. ARKB 2026-09-21).
- Added MSBT (Morgan Stanley Bitcoin Trust).
flow_usdandus_spot_net_flow_usdnow cover the full history since 2024-01-11; the newest day is provisional until every fund's figure is published.- Cumulative USD flows recalculated from the exact daily USD flow:
us_spot_cumulative_money_flowis now the sum ofus_spot_net_flow_usdsince 2024-01-11 ($56.9B on 2026-10-16, previously estimated at $83.3B).etf_cumulative_money_flowuses the exact flow for US spot ETFs; non-US ETPs and GBTC before 2024 remain an estimate (BTC change × BTC price). - The ETF Net Flow and ETF Net Flow Comparison charts now show the USD flow next to the BTC flow.
Derivatives
- BitMEX removed from open interest and funding after the exchange shut down (data up to 2026-09-16 is kept).
- Added Kraken and Bitfinex funding rates.
2026-09-04
Data correction
- Corrected historical BTC daily price OHLC for 2026-04-17 → 2026-07-11 to match our reference source. Price-derived series — realized volatility (1w–1y) and price drawdown — were recomputed for the affected range.
- Restated Realized Cap by Age (<24h) and the Realized Cap by Age (%) breakdown for 2026-07-06 and 2026-07-07, which were previously understated.
- No other metrics were affected: realized cap, MVRV, NUPL and holder series are unchanged.
2026-05-17
Snapshot API
- SVG output is now a first-class citizen alongside PNG. The
POST /v1/chart/snapshotformatfield accepts"png","svg", or"json"; both GET and POST also honorAccept: image/svg+xml. - New route:
GET /v1/chart/renders/{render_id}.svg— rendered SVGs are persisted for 1 hour and re-fetchable by URL, mirroring the existing.pngbehavior. - SVG responses now include
X-Render-Idso the persistent URL can be reconstructed from a single render call. - PNG and SVG variants of the same chart are cached independently.
- Cycle performance overlays (
x_axis: "day_offset") now render X-axis tick labels as calendar dates from the latest cycle of the chosen family (e.g.Oct '25,Jan '26, … for ATH overlays anchored atcycle_ath_5→ 2025-10-06) instead ofDay 0,Day 90, … . Earlier cycles remain aligned on the same axis positions.
MCP Server
render_chart: theformatparameter enum is now"png" | "svg" | "json"(was"png" | "json"). Whenformat: "svg"is passed, the tool returns animage/svg+xmlcontent block and a/chart/renders/{id}.svgURL in the summary.
2026-04-02
Metrics & API
- Metric count expanded from 127 to 210+ active metrics (exchanges, derivatives, DAT, and more).
- New endpoint:
GET /v1/cycle-boundaries— Bitcoin halving cycle start/end dates and durations. - Metrics API now uses a registry-driven query builder for consistent response formatting.
Snapshot API
- Heatmap rendering: render distribution-based charts (e.g., Cost Basis Distribution) with configurable color scales (
viridis,plasma, etc.) and Y-axis scales. Includes color scale legend. - Cycle performance overlay charts:
x_axis: "day_offset"aligns all halving cycles to Day 0 for comparison. - New per-metric parameter:
show_in_legend— control whether individual metrics appear in the chart legend.
MCP Server
- New tool:
get_cycle_boundaries— query halving cycle dates directly from AI agents. render_chartnow supports heatmap rendering and cycle performance overlays.- Unified TypeScript codebase (
tools.ts) for all MCP tools. - Tool count: 18 → 19.
2025-09-25
- Initial setup of the
docs.blocklens.codocumentation site.