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

API reference / Subnets

Validators (or every neuron) of a subnet

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

The subnet's neurons at the latest processed block, largest stake first: neurons=validators (the default) lists the UIDs holding a validator permit, neurons=registered every registered UID. Each row has the UID and its hotkey, the permit, the hotkey's total stake (TotalHotkeyAlpha: the owner's and every nominator's alpha) and its spot value in TAO and USD at meta.price_tao / meta.tao_usd, the number of positions staked on it, its owner coldkey, delegate take and childkey take, and the emission credited through it over the last 24 h: in this subnet's alpha (emission_24h_alpha_rao, null on root) and valued in TAO at each crediting subnet's current spot price (emission_24h_spot_tao_rao, every row; null rather than partial when a price is missing), each split per component. Always the head (no at). Pages continue through meta.page.next_cursor; include=total adds meta.page.total. Errors are application/problem+json: INVALID_NETUID, INVALID_NEURONS, INVALID_LIMIT, INVALID_CURSOR, INVALID_INCLUDE, SUBNET_NOT_FOUND (404, no pool in this slot), 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

neuronsquery· enum · one of validators, registered · default validators

validators (default): the UIDs with a validator permit; registered: every registered UID.

limitquery· integer · default 100 · 1 to 1000

Page size, 1..1000.

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.

includequery· string

A comma list: total adds meta.page.total, the rows over all pages (a count of the whole subnet). names adds the top-level included.names: every distinct account on the page (accounts in data at any depth, event args included) keyed by its SS58 address, each {identity: {name} | null, label: {text, source, confidence, verified, inferred, as_of} | null}; the on-chain identity and the off-chain label are kept apart, and a label is never a chain fact. A missing key means 'not looked up', null means 'none'. At most 500 accounts (included.names_truncated). Still one call (the data source sideloads them in the same statement); an answer with names is cached as a head answer (names follow the head). 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.

One row per UID (meta.neurons: permit holders or every registered UID), by stake_alpha_rao descending, then hotkey; [] when none. Pages continue through meta.page.next_cursor.

hotkeystring

The neuron's hotkey, SS58 (prefix 42).

Format: SS58 address
uidinteger · unit id

The neuron's UID on the subnet (SubtensorModule.Keys).

validator_permitboolean

Whether the UID holds a validator permit (ValidatorPermit[uid]). Always true with neurons=validators.

stake_alpha_raostring · unit alpha_rao (÷1e9)

All alpha staked to this hotkey on the subnet (TotalHotkeyAlpha: the owner's own stake and every nominator's), in alpha rao. 0 for a registered UID without stake.

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

floor(stake_alpha_rao x meta.price_tao), in rao of TAO: a spot valuation, not what unstaking would pay. Equal to stake_alpha_rao on root.

Format: whole number, as a string · on chain: u64
stake_spot_usdstring · unit usd · 6 decimals · can be null

stake_spot_tao_rao in USD at meta.tao_usd (6 decimals). Null when no TAO/USD price exists.

Format: decimal number, as a string
nominatorsinteger · unit count

Number of stake positions (coldkeys holding shares) on this hotkey on the subnet, the owner's own included.

owner_coldkeystring · can be null

The coldkey that owns the hotkey (SubtensorModule.Owner), SS58. Null when the chain has no Owner entry.

Format: SS58 address
takestring · unit ratio · 6 decimals · can be null

The hotkey's delegate take (Delegates, u16 / 65535) as a ratio 0..1, 6 decimals: the share of its nominators' dividends it keeps. Null when the hotkey has no Delegates entry (the runtime's default take applies).

Pattern: ^[01]\.[0-9]{6}$
childkey_takestring · unit ratio · 6 decimals · can be null

The hotkey's childkey take on this subnet (ChildkeyTake, u16 / 65535) as a ratio 0..1, 6 decimals. Null when it has no entry (a take of 0).

Pattern: ^[01]\.[0-9]{6}$
nominator_apy_1dstring · unit ratio · 6 decimals · can be null

Nominator yield in ALPHA over the 1 UTC day ending at meta.apy_day, annualised: (i_t / i_(t-1))^(365) - 1, where i is the pool's value per share (TotalHotkeyAlpha / TotalHotkeyShares) at a UTC day's end, days carried forward. Net of the validator's take. Excludes alpha price moves: not a TAO or USD return. A ratio, 6 decimals (0.25 = 25 %). Null on root (root dividends accrue as claimable, not into the pool); when there is no pool at the window start (new pool, or a hotkey swap); when the window starts before the subnet's current generation; across a legacy-to-V2 share representation switch; when the value per share fell by more than 0.1 % (a pool reset, not a loss); and while meta.apy_day is null. Noisy: dividends land per tempo (~72 min) and a day's count varies; prefer nominator_apy_7d.

Format: decimal number with 6 places, as a string
nominator_apy_7dstring · unit ratio · 6 decimals · can be null

Nominator yield in ALPHA over the 7 UTC days ending at meta.apy_day, annualised: (i_t / i_(t-7))^(365/7) - 1, where i is the pool's value per share (TotalHotkeyAlpha / TotalHotkeyShares) at a UTC day's end, days carried forward. Net of the validator's take. Excludes alpha price moves: not a TAO or USD return. A ratio, 6 decimals (0.25 = 25 %). Null on root (root dividends accrue as claimable, not into the pool); when there is no pool at the window start (new pool, or a hotkey swap); when the window starts before the subnet's current generation; across a legacy-to-V2 share representation switch; when the value per share fell by more than 0.1 % (a pool reset, not a loss); and while meta.apy_day is null.

Format: decimal number with 6 places, as a string
nominator_apy_30dstring · unit ratio · 6 decimals · can be null

Nominator yield in ALPHA over the 30 UTC days ending at meta.apy_day, annualised: (i_t / i_(t-30))^(365/30) - 1, where i is the pool's value per share (TotalHotkeyAlpha / TotalHotkeyShares) at a UTC day's end, days carried forward. Net of the validator's take. Excludes alpha price moves: not a TAO or USD return. A ratio, 6 decimals (0.25 = 25 %). Null on root (root dividends accrue as claimable, not into the pool); when there is no pool at the window start (new pool, or a hotkey swap); when the window starts before the subnet's current generation; across a legacy-to-V2 share representation switch; when the value per share fell by more than 0.1 % (a pool reset, not a loss); and while meta.apy_day is null.

Format: decimal number with 6 places, as a string
emission_24h_alpha_raostring · unit alpha_rao (÷1e9) · can be null

Alpha of this subnet credited through the hotkey by block hooks from meta.emission_window_from_height to meta.at (the last 24 h), in alpha rao: the sum of emission_24h_by_component_alpha_rao; 0 when none. Null on root, whose credits are other subnets' alpha (see emission_24h_spot_tao_rao).

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

The same credits valued in TAO, in rao: each crediting subnet's alpha at that subnet's current spot price (on root: its root_take and root_claimable_queued on every subnet). Present on every row, root included. Null when a crediting subnet has no price (never a partial sum).

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

emission_24h_alpha_rao split by component, in alpha rao: e.g. validator_take, nominator_dividend, miner_incentive, root_take, root_claimable_queued, owner_cut, basket_flush_credit. Only components with a credit in the window appear ({} when none). Null on root. Clients must accept components not documented yet.

emission_24h_by_component_spot_tao_raoobject · unit rao (÷1e9)

emission_24h_spot_tao_rao split by component, in rao of TAO at each crediting subnet's current spot price; on every row, root included ({} when none). A component is null when a crediting subnet has no price. Clients must accept components not documented yet.

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.