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

API reference / Subnets

Every verified subnet link

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

Every subnet link whose target points back to its subnet life and owner coldkey, by netuid, generation, then field, keyset-paged through meta.page.next_cursor.

Full description

Every subnet link whose target points back to its subnet life and owner coldkey, by netuid, generation, then field, keyset-paged through meta.page.next_cursor. Each row names its subnet slot and life. Links come only from the subnet's on-chain identity (SubtensorModule.SubnetIdentitiesV3, which only the owner coldkey sets): github_repo, subnet_url and discord, and only an identity set during this life by its current owner. A file never adds a link. A link is verified only while its own target points back: bittensor.json at the root of the repository's default branch, or https://<host>/.well-known/bittensor.json on the subnet's own domain, naming the netuid, the life's registration block and the owner coldkey now. Everything else is set_on_chain (set on chain by the subnet owner), with a check_reason. Rendering: value and check_location are untrusted text: render them escaped. Only display link may be clickable, and url carries the link exactly then (null otherwise: show value as text). Values assessed malicious are never served. A verified link whose last check (as_of) is more than 48 hours old is served as set_on_chain with check_reason stale_check. Such a row stays in the list (so paging stays whole): filter on link_status to show verified links only. An empty list is a legitimate answer (nothing verified yet). Cached 5 minutes (slow class). Errors are application/problem+json: INVALID_LIMIT, INVALID_CURSOR, UNKNOWN_PARAMETER, SOURCE_TIMEOUT (503), SERVICE_UNAVAILABLE (503), SOURCE_NOT_READY (503: subnet links are not served on this deployment yet).

Beta: this route may change with one release's notice in the v2 changelog; additive changes need none (x-stability: beta).

Query parameters

limitquery· integer · default 100 · 1 to 1000

Links per page, 1..1000 (default 100). Anything else is a 400 INVALID_LIMIT.

cursorquery· string · up to 200 characters

meta.page.next_cursor of the previous page, sent back with the same other parameters (a cursor is bound to them; altered or foreign: 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.

Every verified link, by netuid, generation, then field; each row names its life. A row whose last check is more than 48 hours old is listed as set_on_chain / stale_check.

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 subnet life the link belongs to.

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.

fieldstring

The subnet identity field (SubtensorModule.SubnetIdentitiesV3) the link is set in: github_repo, subnet_url, discord. One row per field the identity sets. New values may be added; show an unknown value as is (or generically).

valuestring

The field's value as set on chain by the subnet owner (e-mail addresses redacted, URL credentials stripped, at most 1,024 characters). Untrusted text: render it escaped, as plain text, never as a link or markup; only url may be clickable.

urlstring · can be null

The http(s) link to render: canonical_url when display is link (assessed safe); null otherwise, and then value is shown as text only.

canonical_urlstring · can be null

The normalised http(s) URL of the value (the key POST /links/verdicts assesses); null when the value is not a link. Plain text: only url may be clickable.

check_reasonstring · can be null

Why the link is not verified; null when link_status is verified. not_found (no bittensor.json), bad_json (unreadable, too large or not the format), fetch_error (DNS, TLS, timeout, server error, an offsite redirect, or the repository copy could not be read), mismatch_netuid (no pointer for this netuid), mismatch_registered_at (a pointer for this netuid but another registration), mismatch_network, mismatch_coldkey (names another coldkey than the life's owner coldkey now), bad_signature (an optional signature that does not verify), not_mirrored (the repository is not archived yet), not_custom_domain (a shared platform host or an IP address: never fetched), not_checkable (discord, or a github_repo that is not a GitHub repository), pending (not checked since the value, the identity or the owner changed), stale_check (verified, but the last check is more than 48 hours old). For the subnet owner's own troubleshooting: a public page needs only link_status. New values may be added; treat unknown values as unavailable.

check_locationstring · can be null

What the latest check read: the repository's URL or the /.well-known/bittensor.json URL. Plain text: never render it as a link. Null when nothing was read.

commit_shastring · can be null

github_repo: the default-branch commit the check read (40 hex); null otherwise.

document_sha256string · can be null

The sha256 (hex) of the bittensor.json read; null when no document was read.

checked_atstring (date-time) · can be null

The latest check of this value, RFC 3339 UTC; null: not checked yet.

Format: date and time, ISO 8601 in UTC
verified_atstring (date-time) · can be null

The last check that verified this value, RFC 3339 UTC; null: never verified.

Format: date and time, ISO 8601 in UTC
status_sincestring (date-time)

When the current check outcome (or the current value) was first seen, RFC 3339 UTC.

Format: date and time, ISO 8601 in UTC
identity_changed_heightinteger · unit block

The block the subnet identity was last set at.

identity_changed_timestring (date-time) · can be null

That block's time, RFC 3339 UTC; null when not known.

Format: date and time, ISO 8601 in UTC
owner_since_heightinteger · unit block · can be null

The block of the life's last owner coldkey change, else its registration block: the identity was set at or after it (an identity set before an owner change yields no links).

verdictstring

The value's safety assessment: safe, suspicious or unknown (not assessed yet, or not a link). Values assessed malicious are never served. New values may be added; show an unknown value as is (or generically).

displaystring

How to render the value: link (a safe http(s) value: the only one that may be clickable, as url), text (plain text), text_warning (assessed suspicious: text with a warning). New values may be added; show an unknown value as is (or generically).

as_ofstring (date-time) · can be null

The later of the last identity read and the last check, RFC 3339 UTC. A verified link whose last check (as_of) is more than 48 hours old is served as set_on_chain with check_reason stale_check.

Format: date and time, ISO 8601 in UTC

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.