Skip to main content
GET
cURL

What it measures

The number of blocks produced in the window.

Assets and windows

This endpoint serves 2 asset classes. The available windows differ by class — a window that works for one asset can return 400 for another. The default window is day. A request for a window that the asset’s class does not support returns 400 and lists the windows that asset does support.

Response fields

The time key is datetime for every window of this endpoint (10min, hour, day).

Authorizations

Authorization
string
header
required

For each API request, include the Authorization HTTP header with Bearer {access_token}.

Query Parameters

asset
string
required

Asset to query, by its CryptoQuant alias (no chain suffix — usdt, not usdt_eth). 2 assets are available on this endpoint, across the asset classes btc, eth. Enumerate them with /v2/discovery/endpoints.

chain
enum<string>

Chain the asset lives on. Optional for an asset that exists on exactly one chain, required when the same alias exists on several.

Available options:
bitcoin,
ethereum
window
enum<string>
default:day

Aggregation window. Which windows are valid depends on the asset — see the endpoint page. Defaults to day.

Available options:
10min,
hour,
day
from
string

Inclusive start time, YYYYMMDDTHHMMSS (UTC). If window=day, YYYYMMDD is also accepted.

to
string

Inclusive end time, YYYYMMDDTHHMMSS (UTC). If window=day, YYYYMMDD is also accepted.

limit
integer
default:100

Maximum rows returned (default 100, max 10000).

Required range: x <= 10000
format
enum<string>
default:json

Response format: json (default) or csv.

Available options:
json,
csv

Response

200 - application/json

Block Count time-series.

status
object
required

Returned with every response; indicates whether the request was successful.

result
object
required