The network per closed UTC day or hour: issuance, stake, pools, lock cost, registrations, activity
https://api.bittensor.ai/api/v2/network/series- Status
- Beta
- Auth
- API key or OAuth access token
- Scope
data:read- Rate limit
plan
Per CLOSED UTC day or hour (interval), oldest first, from chain facts only.
Full description
Per CLOSED UTC day or hour (interval), oldest first, from chain facts only. At each bucket's last block: the TAO in existence (TotalIssuance), the TAO staked (TotalStake) and their ratio (staking_ratio, a decimal string), the TAO staked on root, the TAO in the subnets' pools, the alpha held outside the pools at spot, the registered subnets, and the subnet lock cost the last registration paid and its floor. Over its blocks: neuron registrations and the TAO they burned (total, min, median, max), extrinsics, signed extrinsics and distinct signers, accounts created (new_accounts) and re-created after being reaped (recreated_accounts, never counted as new again), and the TAO transfers GET /network/activity counts. Distinct counts are each bucket's own: never add them up across buckets.
The window is from_day..to_day, both inclusive UTC days (default: the last 30 closed days, or for 1h the hours of the last 2 days), at most 366 days of days or 31 days of hours (400 RANGE_TOO_LARGE); a day after today is a 400 INVALID_RANGE. Buckets before meta.first_bucket are not available and not served. The forming bucket is opt-in: only to_day = today (UTC) adds meta.open_bucket, the bucket after the newest closed one so far (is_closed false, transfers null); every other answer is closed buckets only. An explicit to_day before today whose last bucket is not available yet is a 503 NOT_READY (with Retry-After), never an answer that ends earlier.
Cached as settled when to_day is before today and every bucket of the window is complete with its transfers; as tip with the open bucket; otherwise slow (a bucket closes every hour). Errors are application/problem+json: INVALID_DAY, INVALID_RANGE, INVALID_INTERVAL, RANGE_TOO_LARGE, UNKNOWN_PARAMETER, NOT_READY (503: a day not available yet, or nothing computed yet), 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
- from_dayquery· string (date)
The first UTC day,
YYYY-MM-DD, inclusive. Default: 29 days beforeto_day(1d) or the day before it (1h). Afterto_dayor after today is a 400INVALID_RANGE; anything else a 400INVALID_DAY.- Format: date, YYYY-MM-DD
- to_dayquery· string (date)
The last UTC day,
YYYY-MM-DD, inclusive. Default: the newest closed bucket's day. Today addsmeta.open_bucket; a day before today not available yet is a 503NOT_READY; after today a 400INVALID_RANGE; anything else a 400INVALID_DAY.- Format: date, YYYY-MM-DD
- intervalquery· enum · one of 1d, 1h · default 1d
The bucket:
1d(the default) or1h(UTC). Anything else is a 400INVALID_INTERVAL.
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 from meta.from_day through meta.to_day, oldest first (strictly ascending bucket); [] when none is available there.
- bucketstring (date-time)
The bucket's UTC start (
YYYY-MM-DDTHH:00:00Z; a day bucket starts at 00:00). Every row ofdatais a CLOSED bucket.- 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: every state member is read here (on the open bucket, the state head so far). Null when it holds no block.
- issuance_tao_raostring · unit rao (÷1e9) · can be null
The TAO in existence: SubtensorModule.TotalIssuance (storage), rao of TAO. Read at the bucket's last block (
to_height; on the open bucket, the state head so far). Null below the chain-state coverage (and on a bucket without a block).- Format: whole number, as a string · on chain: u64
- total_stake_tao_raostring · unit rao (÷1e9) · can be null
The TAO staked: SubtensorModule.TotalStake (storage, the runtime's own total), rao of TAO. Read at the bucket's last block (
to_height; on the open bucket, the state head so far). Null below the chain-state coverage (and on a bucket without a block).- Format: whole number, as a string · on chain: u64
- staking_ratiostring · unit ratio · 8 decimals · can be null
The share of the TAO in existence that is staked:
total_stake_tao_rao/issuance_tao_raoof this row (a point value atto_height, never an average over the bucket), a decimal string rounded half away from zero to 8 decimals (checked). Null without both terms.- Format: decimal number, as a string
- root_stake_tao_raostring · unit rao (÷1e9) · can be null
The TAO staked on root: netuid 0's SubtensorModule.SubnetTAO (storage, its latest value at or before
to_height), rao of TAO. Null where the indexed pool history does not reachto_height, together with the other pool members.- Format: whole number, as a string · on chain: u64
- subnet_pools_tao_raostring · unit rao (÷1e9) · can be null
The TAO in the registered subnets' pools: their SubnetTAO (storage) summed, root excluded, rao of TAO. Read at the bucket's last block (
to_height; on the open bucket, the state head so far). Null where the indexed pool history does not reachto_height, together with the other pool members.- Format: whole number, as a string · on chain: u64
- alpha_stake_spot_tao_raostring · unit rao (÷1e9) · can be null
The alpha held outside the pools (each registered subnet's SubnetAlphaOut, storage) at that pool's spot price, floored per subnet and summed, rao of TAO: a spot value, not what selling would realise. Read at the bucket's last block (
to_height; on the open bucket, the state head so far). Null where the indexed pool history does not reachto_height, together with the other pool members.- Format: whole number, as a string · on chain: u64
- subnetsinteger · unit count · can be null
Registered subnets, root excluded (the subnets with a registered pool row). Read at the bucket's last block (
to_height; on the open bucket, the state head so far). Null where the indexed pool history does not reachto_height, together with the other pool members.- subnet_last_lock_cost_tao_raostring · unit rao (÷1e9) · can be null
The lock the last subnet registration paid: SubtensorModule.NetworkLastLockCost (storage), rao of TAO. The runtime's current lock cost decays from twice this towards
subnet_min_lock_cost_tao_raoand is not served. Read at the bucket's last block (to_height; on the open bucket, the state head so far). Null where the item is not in the state.- Format: whole number, as a string · on chain: u64
- subnet_min_lock_cost_tao_raostring · unit rao (÷1e9) · can be null
The floor of the subnet lock cost: SubtensorModule.NetworkMinLockCost (storage), rao of TAO. Read at the bucket's last block (
to_height; on the open bucket, the state head so far). Null where the item is not in the state.- Format: whole number, as a string · on chain: u64
- registrationsinteger · unit count
Neuron registrations on any subnet, of every method (burned and proof-of-work). Counted over the bucket's blocks (
from_height..to_height).- burn_registrationsinteger · unit count
Those that burned TAO (the TAO recycled > 0; at most
registrations, checked). Counted over the bucket's blocks (from_height..to_height).- registration_burn_total_tao_raostring · unit rao (÷1e9)
The TAO those registrations burned, summed, rao of TAO; 0 exactly without a burned registration (checked against count x min .. count x max). Counted over the bucket's blocks (
from_height..to_height).- Format: whole number, as a string · on chain: u64
- registration_burn_min_tao_raostring · unit rao (÷1e9) · can be null
The smallest burn of the bucket, rao of TAO. Null without a burned registration. Counted over the bucket's blocks (
from_height..to_height).- Format: whole number, as a string · on chain: u64
- registration_burn_median_tao_raostring · unit rao (÷1e9) · can be null
The median burn (the continuous percentile, floored), rao of TAO. Null without a burned registration. Counted over the bucket's blocks (
from_height..to_height).- Format: whole number, as a string · on chain: u64
- registration_burn_max_tao_raostring · unit rao (÷1e9) · can be null
The largest burn of the bucket, rao of TAO. Null without a burned registration. Counted over the bucket's blocks (
from_height..to_height).- Format: whole number, as a string · on chain: u64
- extrinsic_countinteger · unit count
Every extrinsic in the bucket's blocks (chain extrinsics), inherents included. Counted over the bucket's blocks (
from_height..to_height).- signed_extrinsic_countinteger · unit count
The signed ones (at most
extrinsic_count, checked). Counted over the bucket's blocks (from_height..to_height).- active_signersinteger · unit count
Distinct accounts that signed an extrinsic in the bucket (at most
signed_extrinsic_count, checked). A distinct count: the bucket's own (a day's is counted over the day, never the sum of its hours).- transfer_countinteger · unit count · can be null
TAO transfers: Balances.Transfer events between ordinary accounts (module accounts, i.e. stake and basket mechanics, excluded), as
GET /network/activitycounts them for the same bucket. Null until that bucket's activity row is available, and on the open bucket.- transfer_volume_tao_raostring · unit rao (÷1e9) · can be null
Those transfers' amounts summed, rao of TAO (Balances.Transfer). Null with
transfer_count.- Format: whole number, as a string · on chain: u64
- new_accountsinteger · unit count
Accounts created: System.NewAccount events whose System.Account storage key was first written in the bucket. Counted over the bucket's blocks (
from_height..to_height).- recreated_accountsinteger · unit count
System.NewAccount events for an account written before (reaped, then funded again): never counted in
new_accountsagain. Counted over the bucket's blocks (from_height..to_height).
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), slowpublic, max-age=300, stale-while-revalidate=600(state that moves in minutes or days) or tippublic, 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). Neverimmutable.no-storeon 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-revalidateandstale-if-error;no-storewithX-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, withX-BTAI-Stale-As-Of,Age(its seconds since then) andWarning: 110 - "Response is Stale", andCache-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.
- AMBIGUOUS_CREDENTIALS
- BAD_GATEWAY
- BILLING_UNAVAILABLE
- BUDGET_EXCEEDED
- CONCURRENCY_LIMIT
- INSUFFICIENT_PERMISSIONS
- INTERNAL_ERROR
- INVALID_DAY
- INVALID_INTERVAL
- INVALID_RANGE
- NOT_READY
- PAYMENT_REQUIRED
- PLAN_REQUIRED
- RANGE_TOO_LARGE
- RATE_LIMITED
- REPEATED_PARAMETER
- SERVICE_UNAVAILABLE
- SOURCE_BUSY
- SOURCE_NOT_READY
- SOURCE_TIMEOUT
- UNAUTHORIZED
- UNKNOWN_PARAMETER
- VALIDATION_ERROR
From the API's published specification, version 1.165.0.