Skip to content
TAO$188.32
BTC0.002928
MCap$2.22B
Vol$86.25M

API reference / Subnets

The network's neuron registrations per day or week, by dispatching call

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

Network-wide, every subnet but root.

Full description

Network-wide, every subnet but root (whose seat replacements are not subnet registrations; root's own rows are on GET /subnets/{netuid}/registrations/tenure with netuid 0): per UTC day or ISO week (interval) and dispatching call, the registrations, the deregistrations (registrations that replaced a UID's hotkey), the new UIDs, the subnets registered on, and what they cost: the TAO recycled over the registrations with a known cost (recycled_rows) and its 10th / 50th / 90th percentiles per call (proof of work recycles nothing and has its own rows). Oldest first; a bucket cut by the window or the coverage is complete false. The window is from_day..to_day (UTC days, inclusive), clamped to the covered days; default the 30 days ending on meta.at's day (which is partial). A day before 1900-01-01 or after 2299-12-31 is a 400 INVALID_DAY. Up to 20,000 days per request (the whole history fits); more is a 400 INVALID_RANGE. Read from the analytics store only: every figure is at its watermark block (meta.at, up to about 75 minutes behind the head; more than 6 hours behind is a 503 SOURCE_NOT_READY with Retry-After), meta.sources names the store. Where this deployment does not serve registration analytics the route is a 503 SOURCE_NOT_READY. Aggregates and distributions only: no hotkey or coldkey is listed or ranked. Percentiles are nearest rank (a value that occurred), each served only when at least 5 values are known; below that it is null and its *_reason says too_few (or none at 0). A pinned window of past days, every bucket complete, is cached as settled. Errors are application/problem+json: INVALID_INTERVAL, INVALID_DAY, INVALID_RANGE, UNKNOWN_PARAMETER, NOT_READY (503: the registrations are not available yet), SOURCE_TIMEOUT (503), SOURCE_NOT_READY (503), SERVICE_UNAVAILABLE (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 1d, 1w · default 1d

The bucket width: 1d (UTC day, the default) or 1w (ISO week, Monday UTC; bucket_start is its Monday). Anything else is a 400 INVALID_INTERVAL.

from_dayquery· string (date)

The first UTC day, YYYY-MM-DD, inclusive. Not a date (or outside 1900..2299): a 400 INVALID_DAY.

Format: date, YYYY-MM-DD
to_dayquery· string (date)

The last UTC day, YYYY-MM-DD, inclusive (default: meta.at's day). Before from_day: a 400 INVALID_RANGE.

Format: date, YYYY-MM-DD

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.

One row per (bucket, call) with at least one registration in meta.from_day..meta.to_day, ordered by bucket, then call; [] when none.

bucket_startstring (date)

The UTC day (1d), or the ISO week's Monday (1w).

Format: date, YYYY-MM-DD
methodstring

The dispatching call: burned_register, register (proof of work), pow_register, register_limit, root_register, transact, ... (unknown when none was recorded). Clients must accept calls not documented yet.

registrationsinteger · unit count

Neuron registrations of this call in the bucket, root excluded.

deregistrationsinteger · unit count

Registrations that replaced a UID's hotkey (a deregistration each).

new_uidsinteger · unit count

Registrations that took a UID without replacing a hotkey (registrations - deregistrations).

subnetsinteger · unit count

Distinct subnets with a registration of this call in the bucket.

recycled_rowsinteger · unit count

Registrations with a known recycled amount (the RAORecycledForRegistration increase of the registering extrinsic), proof of work's zeros included: the n of the cost figures. An unknown amount is never counted as 0.

recycled_tao_raostring · unit rao (÷1e9) · can be null

The TAO those registrations recycled (the burn paid), rao. Null exactly when recycled_rows is 0.

Format: whole number, as a string · on chain: u64
cost_p10_tao_raostring · unit rao (÷1e9) · can be null

The 10th percentile of the known costs, rao: nearest rank, so a value that actually occurred. Null when fewer than 5 values are known (a single value is never shown as a percentile); cost_percentiles_unavailable_reason says why.

Format: whole number, as a string · on chain: u64
cost_p50_tao_raostring · unit rao (÷1e9) · can be null

The median known cost, rao (nearest rank). Null when fewer than 5 values are known (a single value is never shown as a percentile); cost_percentiles_unavailable_reason says why.

Format: whole number, as a string · on chain: u64
cost_p90_tao_raostring · unit rao (÷1e9) · can be null

The 90th percentile of the known costs, rao. Null when fewer than 5 values are known (a single value is never shown as a percentile); cost_percentiles_unavailable_reason says why.

Format: whole number, as a string · on chain: u64
cost_percentiles_unavailable_reasonstring · can be null

Why the cost percentiles are null: none (no registration with a known cost: recycled_rows 0, e.g. proof of work, which recycles nothing) or too_few (1 to 4 known costs: below the minimum of 5). Null when they are served. New values may be added; treat unknown values as unavailable.

cost_pct_reasonstring · can be null · deprecated

Why the cost percentiles are null: none (no registration with a known cost: recycled_rows 0, e.g. proof of work, which recycles nothing) or too_few (1 to 4 known costs: below the minimum of 5). Null when they are served. Deprecated: use cost_percentiles_unavailable_reason; sunset 2027-02-15. New values may be added; treat unknown values as unavailable.

Deprecated since 2026-10-16, removed after 2027-02-15. Use cost_percentiles_unavailable_reason instead.
completeboolean

True when the whole bucket lies inside the window and strictly inside the covered days (no partial day). False on an edge bucket: its counts are a lower bound.

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.