Skip to main content
API v2 On-chain Data serves network activity, exchange and mining pool flows, on-chain indicators, and supply metrics for Bitcoin. It uses the same status/result envelope, Bearer authentication, and window/from/to time convention as the rest of the API.
Ethereum on API v2 is temporarily paused (since October 23, 2026) for performance optimization — native ETH, ERC-20 tokens, and the stablecoins issued on Ethereum are not served on /v2 until the updates are complete; requests for those assets return 400. The v1 Ethereum endpoints are unaffected. Re-enabling will be announced in the changelog.
Beta since October 8, 2026. The 55 endpoints in this section are open to every API key — 33 Bitcoin-only endpoints plus 22 shared endpoints whose Ethereum assets are paused, all serving asset=btc. Endpoint paths, parameters, and response fields are final; historical values may still be corrected during the beta, and every correction is listed in the changelog.

Endpoints at a glance

55 endpoints. Classes are the asset classes an endpoint serves (btc, eth, erc20, stablecoin); windows are the union across those classes — the endpoint page has the exact table per class. Credits are charged per 100 rows returned.

Network (14)

Flows (18)

Indicator (22)

Market (1)

How much history each window keeps

This is the v2-wide rule (see API v2 Overview); it applies to every on-chain endpoint. A from older than the window keeps returns 400 — 'from' is outside the block retention window (3 months). Use window=day for full history. — so use day for long-range history and the finer windows for recent detail. Bitcoin series are refreshed hourly, so for asset=btc the latest block rows can trail the chain tip by up to about an hour, and the latest completed hour row typically appears within the following hour.

The asset is a parameter, not a path

This is the one structural change from v1. Where v1 had a separate path per asset family, v2 has one path per metric and takes the asset as a query parameter:
Two consequences worth knowing before you write any code:
  • asset takes the plain alias, with no chain suffix. v1’s /btc/... paths are asset=btc in v2 (and, once Ethereum resumes, v1’s usdt_eth is asset=usdt). Add chain=bitcoin when the same alias exists on more than one chain; it is optional otherwise.
  • What comes back depends on the asset. One path serves several asset classes, and the available windows and response fields differ between them. Each endpoint page has a table for both.

Asset classes

While the Ethereum classes are paused, every endpoint in this section serves btc only, and an Ethereum asset returns 400 (“Unsupported asset”). The class tables on the endpoint pages and /v2/discovery/assets reflect what is served right now.

Windows differ by endpoint

Each endpoint serves the windows its data is built for, and a window it does not serve returns 400 naming the ones it does. Estimated Leverage Ratio, for example, serves block only:
When several asset classes share a path, the windows can also differ between them — the endpoint page has the exact table per class. The error names the windows that asset does support, so a 400 here is a usable answer rather than a dead end. The default window is day for every endpoint in this section except Estimated Leverage Ratio, Exchange Shutdown Index, Exchange Whale Ratio, Fund Flow Ratio, Mining Pool Supply Ratio, which default to block. The default is applied per endpoint, not per asset class, so on a shared endpoint it can name a window one class does not serve:
  • Exchange Supply Ratio — /v2/indicator/selling-activity/exchange-supply-ratio has no default window for btc: day is not served for that class, so omit window and the request returns 400. Pass window=block.
Treat the endpoint page’s asset-class table as the authority on what a given asset supports. /v2/discovery/endpoints returns the union across an endpoint’s assets, so a value listed there is a candidate, not a guarantee for every asset.

Time keys

Which time field comes back depends on the window. Unlike v1, every v2 window uses datetime; there is no date field. All timestamps are UTC. Requests use a different, compact format: from and to take YYYYMMDDTHHMMSS (UTC), and YYYYMMDD is also accepted when window=day. Copying a response value such as 2026-09-01 into from returns 400.

Response envelope

Entity flows take an entity parameter

Flow endpoints and the entity-based indicators additionally take the entity they are about: Pass the aggregate value for the total across every entity CryptoQuant tracks, or a single entity name such as binance or f2pool. The accepted names come from /v2/discovery/endpoints — they are resolved from the live entity registry, so a newly labelled exchange or mining pool appears without a docs change.

Coming from v1

Almost every endpoint below has a v1 counterpart. The metric definitions are unchanged; what changed is the path shape and the token → asset parameter. Bitcoin’s v1 groups were regrouped by meaning rather than by data source. The metrics and their fields are unchanged; only the path moved: Not every v1 window carried over at launch: the Bitcoin exchange and mining pool indicators (whale ratio, fund flow ratio, shutdown index, mining pool supply ratio, exchange supply ratio) and the estimated leverage ratio serve block only in v2 where v1 also had day and hour. The endpoint page’s asset-class table is authoritative. Two request-side differences trip up code ported from v1:
  • limit caps at 10,000 rows (v1 accepted up to 100,000). A larger value returns 400; page with from/to instead.
  • from/to are YYYYMMDDTHHMMSS (or YYYYMMDD with window=day), as described under Time keys.
v1 remains fully supported. Any future deprecation will be announced in the changelog well in advance.