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

API reference / Subnets

A subnet's emission log: every block that credited it, by component

GET/api/v2/subnets/{netuid}/emissions
Status
Beta
Auth
API key or OAuth access token
Scope
data:read
Rate limit
plan

One row per block that credited the subnet (its epochs), newest first: the alpha per emission component (by_component_alpha_rao, an open map: owner cut, miner incentive, validator take, nominator dividend, root take, root claimable, basket flush, ...), the credits written, the runtime's price at the block and the TAO value at it. alpha_rao and tao_value_rao are REALIZED credits only: the root claimable is accrued until a staker claims it, so it is its own member (root_claimable_alpha_rao) and never in a total; the basket flush re-credits claimable already counted and is in neither. Per hotkey: /hotkeys/{hotkey}/emissions. Covered from the first labelled credit (meta.coverage.from_height), not genesis. Keyset-paged by height (limit, cursor; to_height starts lower). A cursor page, or one bounded below the head, that is not the oldest is cached as settled; otherwise tip. One life: the default is the subnet life live at to_height (else the current), from its first block (meta.generation, meta.life_start_height; meta.coverage.from_height is raised to it). While per-life series are not available yet: every life, with those members null. Errors are application/problem+json: INVALID_NETUID, INVALID_LIMIT, INVALID_HEIGHT, INVALID_CURSOR, 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).

Path parameters

netuidpath, required· integer · 0 to 65535

Subnet slot (0 = root).

Query parameters

to_heightquery· integer · 0 to 2147483647

Only blocks at or below this height. Default: the head.

limitquery· integer · default 25 · 1 to 200

Blocks per page, 1..200 (default 25).

cursorquery· string · up to 200 characters

meta.page.next_cursor of the previous page, passed back unchanged with the same other parameters. It is opaque and bound to them: a cursor used with different parameters, or altered, is a 400 INVALID_CURSOR.

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.

The blocks, newest first (strictly descending heights); [] when none in range.

heightinteger · unit block

The block (an epoch of the subnet, or a flush).

timestring (date-time) · can be null

The block's timestamp, RFC 3339 UTC. Null when not known.

Format: date and time, ISO 8601 in UTC
alpha_raostring · unit alpha_rao (÷1e9)

The block's REALIZED credits, alpha rao: every component of by_component_alpha_rao except the root claimable (root_claimable_*: accrued until a staker claims it, never in an amount total) and the basket flush credit (it re-credits claimable already counted). Checked equal to those components summed.

Format: whole number, as a string · can be negative
root_claimable_alpha_raostring · unit alpha_rao (÷1e9)

The root claimable the block queued (the root_claimable_* components summed, checked), alpha rao: accrued, not realized, so never in alpha_rao or tao_value_rao. 0 when none.

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

Alpha per emission component, an open map (owner_cut, miner_incentive, validator_take, nominator_dividend, root_take, root_claimable_queued, basket_flush_credit, ...; a new component can appear), alpha rao strings. The breakdown, every component in it: not a total.

creditsinteger · unit count

The credits (one per recipient and component) the block wrote.

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

The runtime's alpha price at the block, rao of TAO per alpha (root: 1,000,000,000). Null when the pool has no price there.

Format: whole number, as a string · can be negative
tao_value_raostring · unit rao (÷1e9) · can be null

alpha_rao (realized) at the runtime's exact alpha price at the block, floored once, rao of TAO: the credits at the price of their block. price_rao_per_alpha shows that price to the whole rao, so this is at least alpha_rao x price_rao_per_alpha / 1e9 (floored) and less than 1 rao per whole alpha above it (root: exactly alpha_rao). Null exactly when the price is.

Format: whole number, as a string · can be negative

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.