Skip to content
TAO$188.36
BTC0.002929
MCap$2.22B
Vol$86.25M

API reference / Network

Network activity per closed UTC hour or day: transfers, active accounts, fees

GET/api/v2/network/activity
Status
Beta
Auth
API key or OAuth access token
Scope
data:read
Rate limit
plan

Per CLOSED UTC hour or day.

Full description

Per CLOSED UTC hour or day (interval), newest first: TAO transfers (transfer_count: Balances.Transfer between ordinary accounts; transfers to or from a module account are stake and basket mechanics, excluded), their volume, distinct senders, receivers and active accounts; also every Balances.Transfer (transfer_count_all, module accounts included: what explorers count) and the module-account ones (mechanics_transfer_count = all - transfer_count), null on an older answer; alpha ownership moves apart (alpha_transfer_*, with their TAO equivalent); fees (fee_count: every signed extrinsic's TransactionFeePaid, free ones included; fee_paid_count: those that paid; fee_total_tao_rao, tip included; the tips alone) and fees paid in alpha apart (fee_in_alpha_*). The forming hour or day is never served. Distinct counts are each bucket's own: never add them up across buckets. include=summary adds meta.summary: the newest 24 closed hours and the 24 before, their sums, their distinct accounts counted over the whole window, and the mean paid fee; a window that is not 24 consecutive closed hours serves its figures null (never a partial sum). to_time is exclusive (until 2026-10-16 it served the bucket starting at it too). A page whose last bucket before to_time is available and that is full (and, with the summary, both windows whole) is cached as settled; otherwise slow (a new bucket closes every hour). Errors are application/problem+json: INVALID_INTERVAL, INVALID_LIMIT, INVALID_TIME, INVALID_INCLUDE, UNKNOWN_PARAMETER, SOURCE_TIMEOUT (503), SOURCE_NOT_READY (503).

Beta: this route may change with one release's notice in the v2 changelog; additive changes need none (x-stability: beta).

Query parameters

intervalquery· enum · one of hour, day · default hour

The bucket: hour (the default) or day (UTC). Anything else is a 400 INVALID_INTERVAL.

limitquery· integer · default 48 · 1 to 3650

Buckets, newest first: 1..720 hours or 1..3650 days (default 48). Anything else is a 400 INVALID_LIMIT.

to_timequery· string (date-time)

Window end, exclusive like every other to_time (RFC 3339 with an offset): only buckets starting before it. On a bucket boundary (2026-10-16T12:00:00Z) the newest served is the bucket ending there (11:00-12:00), never the one starting there; between boundaries, the bucket holding it, once closed. Default: now. Anything else is a 400 INVALID_TIME.

Format: date and time, ISO 8601 in UTC
includequery· string

summary: add meta.summary, the newest 24 closed hours and the 24 before. Anything else is a 400 INVALID_INCLUDE.

Response

data is a list of objects with these fields. Amounts are integer strings in their base unit, and null means unknown, never zero (see Units and formats). meta.at names the block the answer was read at.

Closed buckets, newest first (strictly descending bucket), at most limit, the newest starting at or before to_time; [] before the first is available.

bucketstring (date-time)

The bucket's UTC start (YYYY-MM-DDTHH:00:00Z; a day bucket starts at 00:00). Always a CLOSED bucket: the forming hour or day is never served.

Format: date and time, ISO 8601 in UTC
from_heightinteger · unit block · can be null

The bucket's first block. Null when it holds no block.

to_heightinteger · unit block · can be null

The bucket's last block. Null when it holds no block.

transfer_countinteger · unit count

TAO transfers: Balances.Transfer between ordinary accounts. Transfers to or from a module account (the mechanics of stakes and baskets) are excluded (mechanics_transfer_count), and alpha ownership moves are counted apart (alpha_transfer_count).

transfer_count_allinteger · unit count · can be null

EVERY Balances.Transfer of the bucket, module accounts included (the count block explorers show; at least transfer_count, checked). Null while the bucket's count isn't available yet, and on an older data version's answer. (Volumes and distinct accounts stay those of transfer_count's ordinary transfers.)

mechanics_transfer_countinteger · unit count · can be null

The Balances.Transfer touching a module account (stake / basket mechanics): exactly transfer_count_all - transfer_count (checked). Null with transfer_count_all.

transfer_volume_tao_raostring · unit rao (÷1e9)

Those transfers' amounts summed, rao of TAO.

Format: whole number, as a string · on chain: u64
unique_sendersinteger · unit count

Distinct senders of the bucket's TAO transfers (a day's own count). A distinct count: never add it up across buckets (an account active in two hours is one account of the day; include=summary counts the 24-hour windows).

unique_receiversinteger · unit count

Distinct receivers of the bucket's TAO transfers. A distinct count: never add it up across buckets (an account active in two hours is one account of the day; include=summary counts the 24-hour windows).

active_addressesinteger · unit count

Distinct accounts on either side of the bucket's TAO transfers (between the larger of the senders / receivers and their sum, checked). A distinct count: never add it up across buckets (an account active in two hours is one account of the day; include=summary counts the 24-hour windows).

alpha_transfer_countinteger · unit count

Alpha ownership moves (SubtensorModule StakeTransferred / StakeAndHotkeyTransferred between different coldkeys), counted apart from the TAO transfers.

alpha_transfer_tao_equiv_tao_raostring · unit rao (÷1e9)

Those moves' TAO-equivalent amounts (as the events state them) summed, floored, rao of TAO.

Format: whole number, as a string · on chain: u64
fee_countinteger · unit count

TransactionPayment.TransactionFeePaid events: one per signed extrinsic, free ones (set_weights pays 0) included.

fee_paid_countinteger · unit count

Those with actualFee > 0 (at most fee_count).

fee_total_tao_raostring · unit rao (÷1e9)

actualFee summed, tip included, rao of TAO; a fee paid in alpha is in it at its TAO value. 0 exactly when fee_paid_count is 0.

Format: whole number, as a string · on chain: u64
tip_total_tao_raostring · unit rao (÷1e9)

The tips alone, rao of TAO (a part of fee_total_tao_rao).

Format: whole number, as a string · on chain: u64
fee_in_alpha_countinteger · unit count

TransactionFeePaidWithAlpha events: fees paid in a subnet's alpha, counted apart (each also emits TransactionFeePaid, so they are among fee_count too).

fee_in_alpha_tao_raostring · unit rao (÷1e9)

Those events' TAO amount (taoAmount) summed, rao of TAO. Apart from, not added to, the total.

Format: whole number, as a string · on chain: u64

Response headers

10 headers: ETag, Cache-Control, CDN-Cache-Control, X-BTAI-Stale, X-BTAI-Stale-As-Of, RateLimit-Policy, RateLimit, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
ETag

Strong validator of this answer. Send it back as If-None-Match: an unchanged answer is a 304 Not Modified without a body. A settled answer's validator leaves the chain head out, so it stays valid as the head moves.

Cache-Control

One of three classes: settled public, max-age=3600, stale-while-revalidate=86400 (pinned to a block that cannot move), slow public, max-age=300, stale-while-revalidate=600 (state that moves in minutes or days) or tip public, max-age=6, stale-while-revalidate=12 (follows the chain head); the label routes are cached until the next nightly copy (public, max-age=<seconds>, stale-while-revalidate=60). Never immutable. no-store on an earlier answer served because the data source failed (X-BTAI-Stale).

CDN-Cache-Control

The same class for shared caches (RFC 9213; browsers ignore it): settled 24 h, slow 300 s, tip 6 s, each with stale-while-revalidate and stale-if-error; no-store with X-BTAI-Stale.

X-BTAI-Stale

Present only when the data source failed to answer (it timed out or was unavailable) and an earlier answer to the same request is served instead of a 503 (stale if error, RFC 5861). Then if-error, with X-BTAI-Stale-As-Of, Age (its seconds since then) and Warning: 110 - "Response is Stale", and Cache-Control: no-store: the answer is never kept as fresh, and a later request reads again. Prices and quotes are never served this way.

X-BTAI-Stale-As-Of

With X-BTAI-Stale: when the earlier answer served was produced, an RFC 3339 UTC time (2026-10-21T12:00:00Z).

RateLimit-Policy

The tier's request quota of the current window (IETF draft), e.g. "tier";q=600.

RateLimit

Requests left in the current window and the seconds until it resets (IETF draft), e.g. "tier";r=597;t=42.

X-RateLimit-Limit

The tier's request quota of the current window.

X-RateLimit-Remaining

Requests left in the current window.

X-RateLimit-Reset

When the current window resets, Unix seconds.

Status codes

200 · 304 · 400 · 401 · 402 · 403 · 404 · 429 · 500 · 502 · 503

304 Not Modified: the If-None-Match validator still matches; no body.

Error codes

The codes this endpoint can return. Each links to what it means and what to do.

From the API's published specification, version 1.165.0.