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

API reference / Subnets

Every live subnet's name, symbol, logo and brand colours

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

A slim index for labelling subnets anywhere in a UI: one small row per registered subnet (root included), by netuid: generation, the display name (a bittensor.ai admin override, else the on-chain identity, else the GitHub sync), symbol, logo_url (our cached copy of the on-chain logo first), the owner's published brand colours and the tags, the off-chain parts matched to the row's generation (another registration's content is never served). Computed from the same head answer as GET /api/v2/subnets (no extra data-source call when the directory was served in the last 5 minutes) and cached 5 minutes (slow class). Always the head; netuids keeps only the subnets named. Errors are application/problem+json: INVALID_NETUID, UNKNOWN_PARAMETER, SOURCE_TIMEOUT (503), SOURCE_NOT_READY (503).

Query parameters

netuidsquery· string

Only these subnets: a comma list of netuids (0..65535; repeatable). A netuid with no registered subnet has no row. Anything else is a 400 INVALID_NETUID. Omitted: every subnet.

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 registered subnet, root included, by netuid ascending.

netuidinteger · unit id

Subnet slot (0 = root).

generationinteger · unit id · can be null

Opaque life id (the life's registration identifier), NOT a block height; use life_start_height for the first block. The life of the subnet occupying netuid: netuid is a reused slot and generation tells its lives apart (compare or join on it). 0 for root. Null when not recorded.

life_start_heightinteger · unit block · can be null

The first block of the life generation names (GET /subnets/generations' start_height): use it, never generation, for heights, ages and dates. Null exactly when generation is null (root without a life, no subnet), or transiently when this API cannot read the lives. Root's generation 0 starts at 0.

is_current_lifeboolean · can be null

Whether generation is the slot's current life (true) or an ended one, re-registered since (false). Null exactly when generation is null, or transiently when this API cannot read the lives. Root's generation 0 is current.

namestring · can be null

The name to display (include=meta's meta.name: admin override, else on-chain, else GitHub).

symbolstring · can be null

The subnet token's symbol, as on the full row.

descriptionstring · can be null

The subnet's on-chain identity description (identity.description). Null when unset.

logo_urlstring · can be null

The logo to render (meta.logo_url): our copy of the image (fetched, checked and re-encoded by bittensor.ai), never the URL set on chain. Null when we hold no copy: logo_url_unavailable_reason says why.

logo_url_unavailable_reasonstring · can be null

Why logo_url is null: none_set (no image is set on chain), not_mirrored_yet (one is set and we hold no copy of it yet), fetch_failed (our last fetch of it failed: not found, refused, unreachable, or not a usable https URL) or unsafe_content (what it points at was refused: not an allowed image type, invalid or too large). Null exactly when logo_url is served. New values may be added; treat unknown values as unavailable.

brand_colorstring · can be null

The owner's published primary brand colour, #rrggbb, this registration only. Null when none.

brand_color_secondarystring · can be null

The owner's published secondary brand colour, #rrggbb. Null when none.

brand_color_accentstring · can be null

The owner's published accent colour, #rrggbb. Null when none.

tagsarray of string · can be null

Topic tags for this registration; [] when none, null when bittensor.ai has no record of it or its tags cannot be read right now.

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.