Skip to content

One subnet, with its metagraph

GET
/v2/subnets/{netuid}/

One subnet: the /v2/subnets/ row, plus its circulating supply, its hyperparameters and its neurons for one mechanism (mechid, mechanism 0 when the subnet has no such mechanism, named in the response), the other subnets’ shares of emission paid into its gamma (gamma_emission_inbound), and the network-wide gamma_context. delegators=true adds one page of delegators, each with its global rank, sortable and searchable, with a delegators_pagination envelope and an after cursor that reads past any depth; omit leaves out the blocks you do not need.

Rate limit: 300 requests per minute per IP (scope explore).

Stable: the operation and its fields leave only after 180 days of notice.

  • None
netuid
required
integer

Subnet netuid. 0 is root.

account
string

Filter delegators to one coldkey. /v2/ only.

after
string

Cursor form of the delegator list, /v2/ only: the next_cursor of a previous page reads the page after it in the same sort, search and grouping, with no depth limit; page is ignored. 400 on a cursor this endpoint did not issue.

delegators
boolean

Add the delegator table. Only the literal true enables it.

group_by
string
Allowed values: coldkey

Fold the delegator rows per coldkey. Any other value keeps them per row.

mechid
integer

Mechanism to read for neurons. Default 0; an unparseable value, or a mechanism the subnet does not have, reads 0. The response’s mechid names the one read.

omit
string

Comma-separated subset of neurons, conviction, hyperparameters to leave out. Unknown tokens are ignored.

page
integer

1-based page number. Defaults to 1; an unparseable value falls back to it. /v2/ only; v1 serves the full delegator set.

page_size
integer

Rows per page. Default 100, clamped to [1, 500]. /v2/ only; v1 serves the full delegator set.

parents
boolean

Add each neuron’s parent hotkeys. Only the literal true enables it.

search
string

Filter delegators on account or validator hotkey. /v2/ only.

sort_by
string
Allowed values: account alpha_raw_tao alpha_root_tao stake_percent validator_hotkey

Delegator sort column. /v2/ only; an unknown value falls back to the default. Default alpha_root_tao.

sort_dir
string
Allowed values: asc desc

Sort direction. Default desc. /v2/ only.

The subnet, with its hyperparameters, the neurons of one mechanism and, on request, a page of delegators, less the blocks omit names.

Media typeapplication/json

One subnet, /v2/ shape: its row, plus its hyperparameters and its metagraph, with delegators one page at a time.

object
id
required

Netuid.

integer
symbol
required

The subnet token’s symbol, often a single non-Latin character.

string
name
required

The name the owner’s on-chain identity gives the subnet, else the chain’s default name for the netuid.

string
identity
required

The identity its owner published on chain; null when there is none.

object
name
required

The name the identity gives the subnet, else the chain’s default name for the netuid. Null after the owner removed the identity.

string
nullable
url
required

Project website, with https:// added when the scheme is missing.

string
nullable
github
required

Code repository URL.

string
nullable
image
required

Absolute URL of the logo Taoswap hosts when it has one, else the logo URL published on chain.

string
nullable
image_thumb
required

Absolute URL of image fit within 64 px, as WebP, for small renderings; null when image is not a raster logo Taoswap hosts (an SVG, an on-chain URL, empty) or its thumbnail is not written yet.

string
nullable
discord
required

Discord contact, as the owner wrote it.

string
nullable
description
required

Free text the owner published to describe the subnet.

string
nullable
x_id
required

The X (Twitter) handle, without @. Curated by Taoswap, not on chain.

string
nullable
owner
required

Owner coldkey SS58.

string
nullable
first_block
required

The block at which the current subnet registered on this netuid; null on root.

integer
nullable
registered_at
required

The time of first_block; null on root or when that block is not indexed.

string format: date-time
nullable
conviction

The conviction locks that decide ownership; null until they are first read. Absent with ?omit=conviction.

object
king
required

The hotkey with the highest conviction; null when nobody has locked.

string
nullable
king_is_owner
required

True when the king’s coldkey already owns the subnet; null without a king.

boolean
nullable
holder_count
required

Hotkeys holding locked alpha on this subnet.

integer
is_contested
required

True when more than one hotkey holds locked alpha.

boolean
king_conviction
required

In alpha rao, as a float. The king’s conviction score, which matures toward its locked amount.

number format: double
total_conviction
required

In alpha rao, as a float. Every holder’s conviction score added up.

number format: double
total_conviction_alpha
required

In alpha. total_conviction divided by 10⁹.

number format: double
owner_conviction_pct
required

Percent of total conviction the king holds, despite the name; null without conviction.

number format: double
nullable
owner_conviction_pct_supply
required

Percent of total_supply: the king’s conviction, in alpha.

number format: double
nullable
total_supply
required

In alpha. The subnet’s total_supply, which every *_pct_supply field divides by.

number format: double
total_locked
required

In alpha. The alpha locked by all holders.

number format: double
total_locked_perpetual
required

In alpha. The part of total_locked that never unlocks.

number format: double
total_locked_decaying
required

In alpha. The part of total_locked that unlocks gradually.

number format: double
king_locked
required

In alpha. The alpha the king has locked.

number format: double
king_locked_perpetual
required

In alpha. The part of king_locked that never unlocks.

number format: double
king_locked_decaying
required

In alpha. The part of king_locked that unlocks gradually.

number format: double
total_locked_pct_supply
required

Percent of total_supply: total_locked.

number format: double
nullable
perpetual_pct_supply
required

Percent of total_supply: total_locked_perpetual.

number format: double
nullable
decaying_pct_supply
required

Percent of total_supply: total_locked_decaying.

number format: double
nullable
king_locked_pct_supply
required

Percent of total_supply: king_locked.

number format: double
nullable
as_of_block
required

The block every conviction figure here is computed at.

integer
nullable
eligible_alpha
required

In alpha. The stake a challenger is measured against: alpha outside the pool, less chain-held and burned alpha.

number format: double
nullable
threshold_alpha
required

In alpha. The ownership bar, a fixed share of eligible_alpha.

number format: double
nullable
threshold_used_pct
required

Percent of the bar the king’s conviction reaches; above 100 the bar is cleared.

number format: double
nullable
gate_eta_days
required

In days. Projected wait until one hotkey clears the rising bar; 0 when cleared, null when never.

number format: double
nullable
gate_reachable
required

False when the current locks alone never clear the rising bar; null when unknown.

boolean
nullable
gate_growth_alpha_per_day
required

In alpha per day. How fast new issuance raises the bar; null on root.

number format: double
nullable
gate_ceiling_pct
required

Percent of today’s bar the king’s perpetual lock reaches, the level its conviction tends to.

number format: double
nullable
age_blocks
required

In blocks. The subnet’s age at as_of_block; null on root.

integer
nullable
age_days
required

In days. age_blocks at 7,200 blocks a day.

number format: double
nullable
takeover_age_ok
required

True once the subnet is old enough for an ownership change.

boolean
nullable
takeover_threshold_ok
required

True when the king’s conviction is above the bar.

boolean
nullable
takeover_eligible
required

True when both takeover conditions hold; null when either is unknown.

boolean
nullable
takeover_enforced
required

True when the running chain executes ownership changes; null when unknown.

boolean
nullable
unlock_half_life_days
required

In days. The time a decaying lock takes to lose half its alpha.

number format: double
nullable
maturity_half_life_days
required

In days. The half-life of conviction maturing toward, or decaying from, the locked amount.

number format: double
nullable
owner_emission_share
required

A fraction from 0 to 1: the owner’s share of alpha emission; 0 when the owner cut is disabled.

number format: double
owner_auto_lock_enabled
required

True when the owner’s emission is locked as conviction automatically.

boolean
owner_emission_per_day
required

In alpha per day. The owner’s share of the alpha emitted to participants.

number format: double
owner_locked_value
required

The value of the king’s locked alpha, despite the name.

object
alpha
required

In alpha. The locked amount.

number format: double
tao
required

In TAO. Its spot value, alpha times the spot price.

number format: double
tao_slippage
required

In TAO. What selling alpha through the pool would return, after fee and slippage.

number format: double
usd
required

In USD. tao at the latest TAO price.

number format: double
usd_slippage
required

In USD. tao_slippage at the latest TAO price.

number format: double
slippage_pct
required

A fraction from 0 to 1, despite the name: the share of spot value a sale loses. Null at zero value.

number format: double
nullable
total_locked_value
required

The value of all locked alpha.

object
alpha
required

In alpha. The locked amount.

number format: double
tao
required

In TAO. Its spot value, alpha times the spot price.

number format: double
tao_slippage
required

In TAO. What selling alpha through the pool would return, after fee and slippage.

number format: double
usd
required

In USD. tao at the latest TAO price.

number format: double
usd_slippage
required

In USD. tao_slippage at the latest TAO price.

number format: double
slippage_pct
required

A fraction from 0 to 1, despite the name: the share of spot value a sale loses. Null at zero value.

number format: double
nullable
holders

Detail route only: every holder hotkey.

Array<object>
object
hotkey
required

The hotkey the alpha is locked on.

string
conviction
required

In alpha rao, as a float. This hotkey’s conviction score; divide by 10⁹ for alpha.

number format: double
conviction_pct
required

Percent of the subnet’s total conviction.

number format: double
nullable
locked
required

In alpha. The alpha locked on this hotkey.

number format: double
locked_perpetual
required

In alpha. The part of locked that never unlocks.

number format: double
locked_decaying
required

In alpha. The part of locked that unlocks gradually.

number format: double
is_king
required

True for the hotkey with the highest conviction.

boolean
locked_value
required

locked valued at spot and as one sale through the pool.

object
alpha
required

In alpha. The locked amount.

number format: double
tao
required

In TAO. Its spot value, alpha times the spot price.

number format: double
tao_slippage
required

In TAO. What selling alpha through the pool would return, after fee and slippage.

number format: double
usd
required

In USD. tao at the latest TAO price.

number format: double
usd_slippage
required

In USD. tao_slippage at the latest TAO price.

number format: double
slippage_pct
required

A fraction from 0 to 1, despite the name: the share of spot value a sale loses. Null at zero value.

number format: double
nullable
lockers

The coldkeys locking on this hotkey, by conviction, at most 50; absent when none.

Array<object>

One coldkey’s lock on a holder hotkey.

object
coldkey
required
string
locked
required

In alpha. The alpha locked.

number format: double
locked_perpetual
required

In alpha. The part of locked that never unlocks.

number format: double
locked_decaying
required

In alpha. The part of locked that unlocks gradually.

number format: double
conviction
required

In alpha rao, as a float. The conviction score on the hotkey; divide by 10⁹ for alpha.

number format: double
conviction_pct
required

Percent of the hotkey’s conviction.

number format: double
nullable
locked_value
required

locked valued at spot and as one sale through the pool. Sales are not additive: the rows’ sale values do not sum to the holder’s.

object
alpha
required

In alpha. The locked amount.

number format: double
tao
required

In TAO. Its spot value, alpha times the spot price.

number format: double
tao_slippage
required

In TAO. What selling alpha through the pool would return, after fee and slippage.

number format: double
usd
required

In USD. tao at the latest TAO price.

number format: double
usd_slippage
required

In USD. tao_slippage at the latest TAO price.

number format: double
slippage_pct
required

A fraction from 0 to 1, despite the name: the share of spot value a sale loses. Null at zero value.

number format: double
nullable
locker_count

How many coldkeys lock on this hotkey; absent when none.

integer
lockers_truncated

Present, and true, past 50 lockers. The rest is folded into lockers_other.

boolean
lockers_other

Present past 50 lockers only, beside lockers_truncated: every coldkey after the first 50, summed into one row.

object
locked
required

In alpha. The alpha locked.

number format: double
locked_perpetual
required

In alpha. The part of locked that never unlocks.

number format: double
locked_decaying
required

In alpha. The part of locked that unlocks gradually.

number format: double
conviction
required

In alpha rao, as a float. The conviction score on the hotkey; divide by 10⁹ for alpha.

number format: double
conviction_pct
required

Percent of the hotkey’s conviction.

number format: double
nullable
locked_value
required

locked valued at spot and as one sale through the pool. Sales are not additive: the rows’ sale values do not sum to the holder’s.

object
alpha
required

In alpha. The locked amount.

number format: double
tao
required

In TAO. Its spot value, alpha times the spot price.

number format: double
tao_slippage
required

In TAO. What selling alpha through the pool would return, after fee and slippage.

number format: double
usd
required

In USD. tao at the latest TAO price.

number format: double
usd_slippage
required

In USD. tao_slippage at the latest TAO price.

number format: double
slippage_pct
required

A fraction from 0 to 1, despite the name: the share of spot value a sale loses. Null at zero value.

number format: double
nullable
count
required

How many coldkeys this row folds.

integer
locked_unattributed
required

In alpha. The part of locked no coldkey lock carries, where the chain’s total drifted from its locks; negative when the locks carry more.

number format: double
dereg
required

The subnet’s deregistration risk; null on root and on a destroyed subnet.

object
is_immune
required

True while the subnet is inside its immunity period and cannot be deregistered.

boolean
nullable
immunity_end_block
required

Block number at which the subnet’s immunity ends.

integer
nullable
immunity_ends_at
required

Estimated end of immunity, at 12 seconds a block; null once it has ended.

string format: date-time
nullable
prune_rank
required

Deregistration order among subnets out of immunity: rank 1 goes first. Null while immune.

integer
nullable
started
required

Whether the owner has started the subnet’s token; null before its parameters are read.

boolean
nullable
risk_level
required

immune, critical, high, medium or low, from the prune rank, and critical while the moving price is 0.

string
nullable
price
required

In TAO per alpha. The spot price of the subnet token; 1 on root.

number format: double
moving_price
required

In TAO per alpha. The chain’s moving average of the price, which ranks deregistration; 0 until it starts.

number format: double
price_evolution_h_1
required

Percent change of the spot price over the window; null without a price at its start, as for a window older than the subnet.

number format: double
nullable
price_evolution_h_24
required

Percent change of the spot price over the window; null without a price at its start, as for a window older than the subnet.

number format: double
nullable
price_evolution_d_7
required

Percent change of the spot price over the window; null without a price at its start, as for a window older than the subnet.

number format: double
nullable
price_evolution_d_30
required

Percent change of the spot price over the window; null without a price at its start, as for a window older than the subnet.

number format: double
nullable
price_evolution_d_90
required

Percent change of the spot price over the window; null without a price at its start, as for a window older than the subnet.

number format: double
nullable
sparkline_7d
required

In TAO per alpha. The last close of each 4-hour bucket over 7 days, oldest first; null under 2 points.

Array<number>
nullable
sparkline_7d_foreign
required

How many leading sparkline points come from the netuid’s previous subnet. Usually 0.

integer
market_cap
required

In TAO. Circulating alpha, the pool reserve plus stake less burned and chain-held alpha, times the moving price, or spot while it is 0. On root, the TAO staked.

number format: double
fdv
required

In TAO. Fully diluted value: the 21 million alpha cap times the moving price, or spot while it is 0.

number format: double
fdv_usd
required

In USD. fdv at the latest TAO price.

number format: double
total_supply
required

In alpha. Issued supply: the pool reserve plus stake, burned and chain-held alpha included.

number format: double
emission_value
required

In TAO per block. What the subnet receives each block: the pool injection plus the chain’s alpha buys.

number format: double
nullable
emission_percent
required

Percent of the network’s TAO emission per block.

number format: double
nullable
emission_miner_burn
required

Percent of miner incentive earned by the owner’s own uids, which the chain withholds.

number format: double
nullable
emission_weights
required

The owner, validator and miner shares of alpha emission, adding up to 1. Null on root and before they are first read.

object
owner
required

A fraction from 0 to 1 of alpha emission, for the owner.

number format: double
validator
required

A fraction from 0 to 1, for validators; root stakers are paid out of this share.

number format: double
miner
required

A fraction from 0 to 1, for miners.

number format: double
emission_evolution_d_1
required

Percent change of emission_percent against the share stored a day earlier; null when none.

number format: double
nullable
emission_evolution_d_30
required

Percent change of emission_percent against the share stored 30 days earlier; null when none.

number format: double
nullable
emission_ema_percent
required

Percent of the network’s TAO emission at request time, unrounded. Not a moving average, despite the name.

number format: double
nullable
registration_cost
required

In TAO. The current burn to register a neuron on this subnet.

number format: double
blocks_since_epoch
required

In blocks. Blocks since the subnet’s last epoch.

integer
tempo
required

In blocks. Blocks between two epochs.

integer
modality
required

Legacy field, always 0.

integer
tao_in_emission
required

In TAO per block. The TAO injected into the pool each block.

number format: double
nullable
excess_tao_emission
required

In TAO per block. The TAO the chain spends each block buying this subnet’s alpha.

number format: double
nullable
alpha_in_emission
required

In alpha per block. The alpha injected into the pool reserve each block.

number format: double
nullable
alpha_out_emission
required

In alpha per block. The alpha emitted each block to the owner, validators and miners.

number format: double
nullable
inflow
required

Always null: the chain no longer updates its moving average of TAO flow.

number format: double
nullable
outflow
required

Always null: the chain no longer updates its moving average of TAO flow.

number format: double
nullable
root_in_pool
required

In TAO, despite the name. The TAO reserve of this subnet’s pool.

number format: double
nullable
alpha_in_pool
required

In alpha. The alpha reserve of this subnet’s pool.

number format: double
nullable
alpha_stake
required

In alpha. The alpha outside the pool, burned and chain-held included; on root, the TAO staked.

number format: double
alpha_outstanding
required

In alpha. The part of alpha_stake on no indexed stake position, burned and chain-held alpha included.

number format: double
nullable
adr
required

Alpha distribution ratio: alpha held by participants, burned and chain-held alpha left out, over alpha in the pool. Above 1, holders hold more than the pool backs. Null on an empty pool.

number format: double
nullable
root_proportion
required

A fraction from 0 to 1, the chain’s RootProp: root stakers take 0.41 times it of the alpha emission, capped by the validators’ share.

number format: double
nullable
total_alpha_burned
required

In alpha rao. The alpha burned by burn transactions since this subnet registered, protocol burns excluded.

integer
alpha_burned_counter
required

In alpha rao. The chain’s own burn counter for the subnet’s current occupant, alpha_burned_counter_overcount included. Null before it is first read.

integer
nullable
alpha_burned_inherited
required

In alpha rao. The chain’s burn counter when the current subnet took this netuid.

integer
alpha_burned_precounter
required

In alpha rao. What this occupant burned before the chain counted burns, already inside alpha_burned_all_time: never add the two.

integer
nullable
alpha_burned_all_time
required

In alpha rao. What the subnet’s current occupant burned over its life, every burn path included: alpha_burned_counter less alpha_burned_counter_overcount. Null before the counter is first read.

integer
nullable
alpha_burned_counter_overcount
required

In alpha rao. Alpha the chain’s counter holds as burned that was never burned: root dividends still owed to root stakers when the counter started on 2026-05-28, later staked to them. 0 for a subnet registered after the counter started.

integer
alpha_recycled_counter
required

In alpha rao. What this occupant recycled, already out of the supply, so no ratio subtracts it.

integer
nullable
alpha_recycled_inherited
required

In alpha rao. The chain’s recycle counter when the current subnet took this netuid.

integer
alpha_chain_owned
required

In alpha rao. Alpha the chain bought with excess TAO and still holds: inside alpha_stake, on no hotkey, never sold and not burned. Null on root.

integer
nullable
active_miners
required

Distinct hotkeys other than the owner’s earning miner incentive.

integer
nullable
holders_count
required

Distinct coldkeys holding stake on this subnet.

integer
hhi_normalized
required

A fraction from 0 to 1: the normalised Herfindahl index of holder stakes, 0 for equal holders and 1 for a single one.

number format: double
nakamoto_coefficient
required

The fewest holders whose stake together exceeds half; 0 when not measured.

integer
top10_share
required

A fraction from 0 to 1: the stake share of the 10 largest holders.

number format: double
concentration_measured
required

False when the last holder read found fewer than 2 holders outside the owner’s own stake: hhi_normalized, nakamoto_coefficient and top10_share then read 0 and measure nothing.

boolean
mechanism_count
required

Incentive mechanisms on this subnet.

integer
mechanism_emission_split
required

Whole percent of emission per mechanism; [] when unset, which splits emission evenly.

depth_up_2pct
required

In TAO. What a buyer spends, fee included, to raise the pool price by 2 percent.

number format: double
nullable
depth_up_2pct_usd
required

In USD. depth_up_2pct at the latest TAO price.

number format: double
nullable
depth_down_2pct
required

In TAO. What the pool pays sellers while its price falls by 2 percent.

number format: double
nullable
depth_down_2pct_usd
required

In USD. depth_down_2pct at the latest TAO price.

number format: double
nullable
depth_up_5pct
required

In TAO. What a buyer spends, fee included, to raise the pool price by 5 percent.

number format: double
nullable
depth_up_5pct_usd
required

In USD. depth_up_5pct at the latest TAO price.

number format: double
nullable
depth_down_5pct
required

In TAO. What the pool pays sellers while its price falls by 5 percent.

number format: double
nullable
depth_down_5pct_usd
required

In USD. depth_down_5pct at the latest TAO price.

number format: double
nullable
volume_24h
required

In TAO. Swap volume through the pool over the last 24 hours, refreshed hourly at most.

number format: double
nullable
volume_24h_usd
required

In USD. volume_24h at the latest TAO price, not the price at trade time.

number format: double
nullable
excess_tao_emission_percent
required

Percent: this subnet’s share of the TAO the chain spends buying alpha across subnets, unrounded.

number format: double
nullable
emission_is_enabled
required

Whether the subnet receives TAO emission, which governance can switch off; null on root.

boolean
nullable
gamma_enabled
required

Whether gamma can be minted on this subnet; gamma_context.gamma_enabled must hold too. Null on root and before the first read.

boolean
nullable
gamma_emission_whitelisted
required

Whether other subnets may pay shares of their alpha emission into this subnet’s gamma. Null on root and before the first read.

boolean
nullable
gamma_price
required

In TAO per alpha. The most a mint values this subnet’s alpha at: it uses the lower of this and spot. Null on root and before the first read.

number format: double
nullable
gamma_supply
required

In gamma units, 10^9 per gamma. The gamma held in this subnet’s deposits. Null on root and before the first read.

integer
nullable
gamma_deposits
required

Open gamma deposits on this subnet, empty ones included. Null on root and before the first read.

integer
nullable
gamma_emission_shares
required

The shares of this subnet’s alpha emission paid into other subnets’ gamma, by target netuid; [] for none. Null on root and before the first read.

Array<object>
nullable

One share of a subnet’s alpha emission, sold each epoch to buy and burn another subnet’s alpha, whose gamma the chain credits to the subnet’s owner.

object
netuid
required

The subnet whose gamma the share buys.

integer
share
required

A fraction from 0 to 1 of this subnet’s alpha emission, at most 0.1.

number format: double
tao_per_day
required

In TAO per day, an estimate: the share of a day of this subnet’s alpha emission, at its spot price.

number format: double
gamma_emission_pending
required

In alpha rao. Emission accrued to the gamma shares since an epoch last allotted it to them. Null on root and before the first read.

integer
nullable
gamma_emission_unconverted
required

In alpha rao. Emission allotted to the gamma shares and not converted into gamma yet. Null on root and before the first read.

integer
nullable
emission_enabled_set_at
required

When the subnet’s emission was last switched on or off; null when never since it registered.

string format: date-time
nullable
circulating_supply
required

In alpha. Alpha in circulation, the stock market_cap prices: the pool reserve plus stake, less burned and chain-held alpha. On root, the TAO staked.

number format: double
nullable
hyperparameters

Null when never read. Absent with ?omit=hyperparameters.

object
rho
required

The raw rho of the chain, an unscaled integer.

integer
nullable
kappa
required

U16, 65535 being 1.0: the stake share weight consensus must clear.

integer
nullable
immunity_period
required

In blocks. How long after registration a neuron cannot be pruned.

integer
nullable
min_allowed_weights
required

The fewest weights a validator must set.

integer
nullable
max_weight_limit
required

U16, 65535 being 1.0, served as a number: the largest weight one uid may receive.

number format: double
nullable
tempo
required

In blocks. Blocks between two epochs.

integer
nullable
min_difficulty
required

A u64 as a decimal string. The lowest proof-of-work registration difficulty.

string
nullable
max_difficulty
required

A u64 as a decimal string. The highest proof-of-work registration difficulty.

string
nullable
weights_version
required

A u64 as a decimal string. The version key validators send with their weights.

string
nullable
weights_rate_limit
required

In blocks, as a decimal string. The least gap between two weight sets of one validator.

string
nullable
adjustment_interval
required

In blocks. How often the registration burn and difficulty adjust.

integer
nullable
activity_cutoff
required

In blocks. A neuron setting no weights for longer counts as inactive.

integer
nullable
registration_allowed
required

Whether the subnet accepts new neuron registrations by burn.

boolean
nullable
target_regs_per_interval
required

Registrations per adjustment interval the burn adjustment aims for.

integer
nullable
min_burn
required

In rao, as a decimal string. The floor of the neuron registration burn.

string
nullable
max_burn
required

In rao, as a decimal string. The ceiling of the neuron registration burn.

string
nullable
bonds_moving_avg
required

The bonds moving average, as the chain stores it.

integer
nullable
max_regs_per_block
required

The most registrations accepted in one block.

integer
nullable
serving_rate_limit
required

In blocks. The least gap between two axon updates of one neuron.

integer
nullable
max_validators
required

The most validator permits the subnet grants.

integer
nullable
adjustment_alpha
required

A u64 as a decimal string, its maximum being 1.0: the smoothing of burn and difficulty adjustments.

string
nullable
difficulty
required

A u64 as a decimal string. The current proof-of-work registration difficulty.

string
nullable
commit_reveal_period
required

In epochs. How long committed weights stay hidden before they are revealed.

integer
nullable
commit_reveal_weights_enabled
required

Whether validators commit their weights before revealing them.

boolean
nullable
alpha_high
required

U16, 65535 being 1.0: the upper bound of the liquid alpha bond factor.

integer
nullable
alpha_low
required

U16, 65535 being 1.0: the lower bound of the liquid alpha bond factor.

integer
nullable
liquid_alpha_enabled
required

Whether liquid alpha bonds are on.

boolean
nullable
alpha_sigmoid_steepness
required

The steepness of the liquid alpha sigmoid, a plain number.

number format: double
nullable
yuma_version
required

The version of Yuma consensus the subnet runs.

integer
nullable
subnet_is_active
required

Whether the owner has started the subnet, which opens staking on it.

boolean
nullable
transfers_enabled
required

Whether stake on this subnet can be transferred to another coldkey.

boolean
nullable
bonds_reset_enabled
required

Whether a neuron that publishes a new commitment loses the bonds every validator holds on it.

boolean
nullable
user_liquidity_enabled
required

Whether users may add liquidity to the subnet’s pool.

boolean
nullable
activity_cutoff_factor
required

The activity cutoff in per mille of tempo, 1000 being one tempo.

integer
nullable
burn_half_life
required

In blocks. How long the registration burn takes to decay halfway back to min_burn.

integer
nullable
burn_increase_mult
required

The multiplier applied to the registration burn after each registration.

number format: double
nullable
collateral_drain_ratio
required

The alpha of a miner’s locked collateral released per alpha of incentive earned.

number format: double
nullable
collateral_lock_share
required

U16, 65535 being 1.0: the share of the registration price locked as miner collateral.

integer
nullable
min_childkey_take
required

U16, 65535 being 1.0: the floor of the childkey take on this subnet.

integer
nullable
owner_cut_enabled
required

Whether the owner takes an emission cut, owner_emission above 0.

boolean
nullable
owner_cut_auto_lock_enabled
required

Whether the owner’s emission cut is locked automatically.

boolean
nullable
owner_emission
required

A fraction from 0 to 1: the owner’s share of alpha emission. Null on root.

number format: double
nullable
validator_emission
required

A fraction from 0 to 1: the validators’ share of alpha emission, out of which root stakers are paid. Null on root.

number format: double
nullable
miner_emission
required

A fraction from 0 to 1: the miners’ share of alpha emission, before the owner hotkeys’ incentive is withheld. Null on root.

number format: double
nullable
max_n
required

The most uids the subnet allows.

integer
neurons

The neurons of the mechanism mechid names. Absent with ?omit=neurons.

Array<object>

One neuron of the subnet, as served inside /subnets/{netuid}/.

object
uid
required
integer
mechid
required

The mechanism of this row, the one mechid selects.

integer
hotkey
required
string
coldkey
required

The coldkey owning the hotkey.

string
type
required

owner, validator or miner.

string
status
required

IMMUNE while the neuron is inside its subnet’s immunity period from registration, ACTIVE after.

string
is_validator
required

True for a staked hotkey setting weights, or a permit holder earning no miner incentive.

boolean
is_owner
required

True when the subnet owner’s coldkey or owner hotkey controls this neuron.

boolean
stake
required

In alpha. Its stake weight, not a balance: alpha stake plus the TAO weight times root stake, childkeys included.

number format: double
stake_weight_alpha
required

In alpha. The alpha part of the stake weight, after childkey delegation.

number format: double
nullable
stake_weight_tao
required

In TAO. The root stake behind the stake weight, before the TAO weight, after childkey delegation.

number format: double
nullable
stake_weight_total
required

In alpha. The same value as stake.

number format: double
nullable
vtrust
required

A fraction from 0 to 1: how closely this validator’s weights agree with consensus.

number format: double
consensus
required

A fraction from 0 to 1: this uid’s share of consensus weight.

number format: double
dividends
required

A fraction from 0 to 1: this uid’s share of the subnet’s validator dividends.

number format: double
incentive
required

A fraction from 0 to 1: this uid’s share of its mechanism’s miner incentive.

number format: double
emission
required

In alpha per epoch. The emission paid to this uid, owner incentive the chain withholds excluded.

number format: double
emission_withheld
required

In alpha per epoch. What the chain withholds from this uid, an owner hotkey’s incentive, recycled or burned. emission and the daily rewards exclude it.

number format: double
daily_rewards
required

In TAO per day. daily_rewards_alpha at token_price.

number format: double
daily_rewards_alpha
required

In alpha per day. emission times the subnet’s epochs per day.

number format: double
token_symbol
required

The subnet token’s symbol.

string
token_price
required

In TAO per alpha. The subnet’s current spot price; 1 on root.

number format: double
ip
required

Axon IP address; null when the neuron serves no axon.

string
nullable
port
required

Axon port; null when the neuron serves no axon.

integer
nullable
block_at_registration
required

The block the neuron registered at; 0 when unknown.

integer
registration_cost
required

In TAO. The subnet’s current registration burn, the same on every row, not what this neuron paid.

number format: double
updated_at_block
required

The block of the last chain read of this neuron’s mechanism.

integer
last_update_block
required

The block of the neuron’s last weight set; its registration block when it never set any.

integer
delegate_take
required

Percent: the validator’s take on its nominators’ dividends; 0 on rows that are not validators.

number format: double
childkey_take
required

Percent: the take kept on parent stake, at least the subnet’s floor; 0 on rows that are not validators.

number format: double
apr_7d

Validator rows only. Percent: the yield of alpha staked to this validator here over the last 7 full days, as a simple annual rate.

number format: double
nullable
apy_7d

Validator rows only. Percent: apr_7d compounded every epoch.

number format: double
nullable
apr_30d

Validator rows only. Percent: the yield of alpha staked to this validator here over the last 30 full days, as a simple annual rate.

number format: double
nullable
apy_30d

Validator rows only. Percent: apr_30d compounded every epoch.

number format: double
nullable
apr_90d

Validator rows only. Percent: the yield of alpha staked to this validator here over the last 90 full days, as a simple annual rate.

number format: double
nullable
apy_90d

Validator rows only. Percent: apr_90d compounded every epoch.

number format: double
nullable
apr_180d

Validator rows only. Percent: the yield of alpha staked to this validator here over the last 180 full days, as a simple annual rate.

number format: double
nullable
apy_180d

Validator rows only. Percent: apr_180d compounded every epoch.

number format: double
nullable
apr_365d

Validator rows only. Percent: the yield of alpha staked to this validator here over the last 365 full days, as a simple annual rate.

number format: double
nullable
apy_365d

Validator rows only. Percent: apr_365d compounded every epoch.

number format: double
nullable
parents

?parents=true only.

Array<object>
object
hotkey
required

The parent hotkey.

string
proportion
required

A fraction from 0 to 1: the share of the parent’s stake lent to this child.

number format: double
childkey_take
required

Percent: the child’s take on what this parent’s stake earns, at least the subnet’s floor.

number format: double
status
required

ACTIVE or PENDING.

string
pending_activation_block
required

The block a PENDING set applies at; null on ACTIVE.

integer
nullable
root_stake
required

In TAO. The root stake delegated to the parent hotkey, all nominators included.

number format: double
alpha_stake
required

In alpha. The stake delegated to the parent hotkey on this subnet, all nominators included.

number format: double
stake_weight
required

In alpha. The stake weight: alpha_stake plus the TAO weight times root_stake.

number format: double
delegated_stake_weight
required

In alpha. proportion times stake_weight, the weight this parent lends the child.

number format: double
apr_7d
required

Percent: the parent’s own yield on this subnet over the last 7 full days, as a simple annual rate. Null when not computed yet.

number format: double
nullable
apy_7d
required

Percent: apr_7d compounded every epoch. Null when not computed yet.

number format: double
nullable
apr_30d
required

Percent: the parent’s own yield on this subnet over the last 30 full days, as a simple annual rate. Null when not computed yet.

number format: double
nullable
apy_30d
required

Percent: apr_30d compounded every epoch. Null when not computed yet.

number format: double
nullable
apr_90d
required

Percent: the parent’s own yield on this subnet over the last 90 full days, as a simple annual rate. Null when not computed yet.

number format: double
nullable
apy_90d
required

Percent: apr_90d compounded every epoch. Null when not computed yet.

number format: double
nullable
apr_180d

Percent: the parent’s own yield on this subnet over the last 180 full days, as a simple annual rate. Null when not computed yet.

number format: double
nullable
apy_180d

Percent: apr_180d compounded every epoch. Null when not computed yet.

number format: double
nullable
apr_365d

Percent: the parent’s own yield on this subnet over the last 365 full days, as a simple annual rate. Null when not computed yet.

number format: double
nullable
apy_365d

Percent: apr_365d compounded every epoch. Null when not computed yet.

number format: double
nullable
parents_active_count

?parents=true only. Active parents.

integer
parents_total_count

?parents=true only. Parents, active and pending.

integer
mechid
required

The mechanism neurons holds: the mechid asked for when the subnet has it, else 0, the default. The subnet’s mechanisms run from 0 to mechanism_count - 1.

integer
delegators

?delegators=true only. One page, sortable and searchable.

Array<object>
object
account
required

The delegator’s coldkey.

string
validator_coldkey
required

Empty string when grouped by coldkey.

string
validator_hotkey
required

Empty string when grouped by coldkey.

string
alpha_root_tao
required

In TAO. What this stake would fetch sold through the pool now, after slippage; on root, the stake itself.

number format: double
alpha_raw_tao
required

In alpha, despite the name. The stake held on this validator hotkey; TAO on root.

number format: double
stake_percent
required

Percent of all delegated alpha on the subnet, rounded to 5 decimals.

number format: double
rank

/v2/ only. Position by alpha_root_tao across all the subnet’s delegations, 1 the largest.

integer
delegators_pagination

?delegators=true only.

object
page
required

The page served, counting from 1.

integer
page_size
required

Rows per page, the requested size within the route’s bounds.

integer
total_count
required

Exact number of matching rows, whether or not the pages can reach them all.

integer
reachable_count
required

Rows the pages can reach: total_pages times page_size, capped at total_count. Below total_count only when the set runs deeper than the offset cap; read the rest through the cursor where the route offers one.

integer
total_pages
required

Clamped to the deepest page the API will serve (offset <= 10000).

integer
has_next
required

Whether a next page exists within the deepest page served.

boolean
has_previous
required

True past page 1.

boolean
next_cursor

Where the list offers a cursor form (/v2/subnets/{netuid}/?delegators=true, /v2/validators/{hotkey}/): the after= that reads the page after this one, null on the last page, and valid only under the sort, direction and grouping that issued it (a 400 otherwise). Absent on lists with no cursor form.

string
nullable
gamma_services
required

The services the subnet’s hotkeys publish, by hotkey; [] for none. Null on root and before the first read.

Array<object>
nullable

A service sold for the subnet’s gamma, set by a hotkey then holding a validator permit or by the owner’s hotkey.

object
hotkey
required

SS58 of the hotkey that set the service.

string
url
required

The document describing the hotkey’s services, as set, at most 256 bytes. Untrusted: link it, never fetch or render it.

string
spender
required

SS58 of the spender customers named for the service in their gamma deposits. Null since runtime 493, where a deposit’s hotkey spends it at hotkey.

string
nullable
spent
required

In gamma units, 10^9 per gamma. What the deposits’ hotkeys spent at the service on this subnet since its occupant registered; 0 for none, and before runtime 493, when a spend named no service.

integer
hotkeys_count
required

How many deposit hotkeys spent at the service.

integer
gamma_emission_inbound
required

The other subnets’ shares of their alpha emission paid into this subnet’s gamma, the most TAO a day first; [] for none. Null on root and before the first read.

Array<object>
nullable

Another subnet’s share of its alpha emission, sold each epoch to buy and burn this subnet’s alpha, whose gamma the chain credits to that subnet’s owner.

object
netuid
required

The subnet that gives the share.

integer
share
required

A fraction from 0 to 1 of the giving subnet’s alpha emission, at most 0.1.

number format: double
tao_per_day
required

In TAO per day, an estimate: the share of a day of the giving subnet’s alpha emission, at its spot price.

number format: double
gamma_context
required

Whether gamma can be minted at all, and the TAO/USD price that values a mint. The same for every subnet.

object
gamma_enabled
required

Whether gamma can be minted at all; a subnet also needs its own gamma_enabled. Null before the first read.

boolean
nullable
tao_usd_oracle
required

SS58 of the account that feeds the TAO/USD price; null when none is set, and before the first read.

string
nullable
tao_usd_price
required

In 10^-9 US dollars per TAO, gamma units per TAO. The price a mint values TAO at, as accepted at tao_usd_price_fed_at: it falls to a lower feed at once and rises toward a higher one by at most 66 ppm a block. Null before the first read and while no price is fed: setting or removing the oracle clears it.

integer
nullable
tao_usd_price_feed
required

In 10^-9 US dollars per TAO. The oracle’s latest feed. Null before the first read and while no price is fed: setting or removing the oracle clears it.

integer
nullable
tao_usd_price_fed_at
required

The block of the latest feed; a mint needs one at most 300 blocks old. Null before the first read and while no price is fed: setting or removing the oracle clears it.

integer
nullable
spends_need_service
required

Whether a spend must name a service its subnet lists, the rule since runtime 493: the gamma of a subnet that lists none cannot be spent until a hotkey publishes one. Null before the runtime is read.

boolean
nullable
root_sell
required

Whether the chain pays root stakers their part of the validators’ share, which it recycles otherwise; root_sell_ema_sum above 1. The same for every subnet; null before the first read.

boolean
nullable
root_sell_ema_sum
required

The sum of the EMA prices of the subnets the chain emits to, those started with registration open. The same for every subnet; null before the first read.

number format: double
nullable

Example generated

{
"id": 1,
"symbol": "example",
"name": "example",
"identity": {
"name": "example",
"url": "example",
"github": "example",
"image": "example",
"image_thumb": "example",
"discord": "example",
"description": "example",
"x_id": "example"
},
"owner": "example",
"first_block": 1,
"registered_at": "2026-04-15T12:00:00Z",
"conviction": {
"king": "example",
"king_is_owner": true,
"holder_count": 1,
"is_contested": true,
"king_conviction": 1,
"total_conviction": 1,
"total_conviction_alpha": 1,
"owner_conviction_pct": 1,
"owner_conviction_pct_supply": 1,
"total_supply": 1,
"total_locked": 1,
"total_locked_perpetual": 1,
"total_locked_decaying": 1,
"king_locked": 1,
"king_locked_perpetual": 1,
"king_locked_decaying": 1,
"total_locked_pct_supply": 1,
"perpetual_pct_supply": 1,
"decaying_pct_supply": 1,
"king_locked_pct_supply": 1,
"as_of_block": 1,
"eligible_alpha": 1,
"threshold_alpha": 1,
"threshold_used_pct": 1,
"gate_eta_days": 1,
"gate_reachable": true,
"gate_growth_alpha_per_day": 1,
"gate_ceiling_pct": 1,
"age_blocks": 1,
"age_days": 1,
"takeover_age_ok": true,
"takeover_threshold_ok": true,
"takeover_eligible": true,
"takeover_enforced": true,
"unlock_half_life_days": 1,
"maturity_half_life_days": 1,
"owner_emission_share": 1,
"owner_auto_lock_enabled": true,
"owner_emission_per_day": 1,
"owner_locked_value": {
"alpha": 1,
"tao": 1,
"tao_slippage": 1,
"usd": 1,
"usd_slippage": 1,
"slippage_pct": 1
},
"total_locked_value": {
"alpha": 1,
"tao": 1,
"tao_slippage": 1,
"usd": 1,
"usd_slippage": 1,
"slippage_pct": 1
},
"holders": [
{
"hotkey": "example",
"conviction": 1,
"conviction_pct": 1,
"locked": 1,
"locked_perpetual": 1,
"locked_decaying": 1,
"is_king": true,
"locked_value": {
"alpha": 1,
"tao": 1,
"tao_slippage": 1,
"usd": 1,
"usd_slippage": 1,
"slippage_pct": 1
},
"lockers": [
{
"coldkey": "example",
"locked": 1,
"locked_perpetual": 1,
"locked_decaying": 1,
"conviction": 1,
"conviction_pct": 1,
"locked_value": {
"alpha": 1,
"tao": 1,
"tao_slippage": 1,
"usd": 1,
"usd_slippage": 1,
"slippage_pct": 1
}
}
],
"locker_count": 1,
"lockers_truncated": true,
"lockers_other": {
"locked": 1,
"locked_perpetual": 1,
"locked_decaying": 1,
"conviction": 1,
"conviction_pct": 1,
"locked_value": {
"alpha": 1,
"tao": 1,
"tao_slippage": 1,
"usd": 1,
"usd_slippage": 1,
"slippage_pct": 1
},
"count": 1
},
"locked_unattributed": 1
}
]
},
"dereg": {
"is_immune": true,
"immunity_end_block": 1,
"immunity_ends_at": "2026-04-15T12:00:00Z",
"prune_rank": 1,
"started": true,
"risk_level": "example"
},
"price": 1,
"moving_price": 1,
"price_evolution_h_1": 1,
"price_evolution_h_24": 1,
"price_evolution_d_7": 1,
"price_evolution_d_30": 1,
"price_evolution_d_90": 1,
"sparkline_7d": [
1
],
"sparkline_7d_foreign": 1,
"market_cap": 1,
"fdv": 1,
"fdv_usd": 1,
"total_supply": 1,
"emission_value": 1,
"emission_percent": 1,
"emission_miner_burn": 1,
"emission_weights": {
"owner": 1,
"validator": 1,
"miner": 1
},
"emission_evolution_d_1": 1,
"emission_evolution_d_30": 1,
"emission_ema_percent": 1,
"registration_cost": 1,
"blocks_since_epoch": 1,
"tempo": 1,
"modality": 1,
"tao_in_emission": 1,
"excess_tao_emission": 1,
"alpha_in_emission": 1,
"alpha_out_emission": 1,
"inflow": 1,
"outflow": 1,
"root_in_pool": 1,
"alpha_in_pool": 1,
"alpha_stake": 1,
"alpha_outstanding": 1,
"adr": 1,
"root_proportion": 1,
"total_alpha_burned": 1,
"alpha_burned_counter": 1,
"alpha_burned_inherited": 1,
"alpha_burned_precounter": 1,
"alpha_burned_all_time": 1,
"alpha_burned_counter_overcount": 1,
"alpha_recycled_counter": 1,
"alpha_recycled_inherited": 1,
"alpha_chain_owned": 1,
"active_miners": 1,
"holders_count": 1,
"hhi_normalized": 1,
"nakamoto_coefficient": 1,
"top10_share": 1,
"concentration_measured": true,
"mechanism_count": 1,
"mechanism_emission_split": "example",
"depth_up_2pct": 1,
"depth_up_2pct_usd": 1,
"depth_down_2pct": 1,
"depth_down_2pct_usd": 1,
"depth_up_5pct": 1,
"depth_up_5pct_usd": 1,
"depth_down_5pct": 1,
"depth_down_5pct_usd": 1,
"volume_24h": 1,
"volume_24h_usd": 1,
"excess_tao_emission_percent": 1,
"emission_is_enabled": true,
"gamma_enabled": true,
"gamma_emission_whitelisted": true,
"gamma_price": 1,
"gamma_supply": 1,
"gamma_deposits": 1,
"gamma_emission_shares": [
{
"netuid": 1,
"share": 1,
"tao_per_day": 1
}
],
"gamma_emission_pending": 1,
"gamma_emission_unconverted": 1,
"emission_enabled_set_at": "2026-04-15T12:00:00Z",
"circulating_supply": 1,
"hyperparameters": {
"rho": 1,
"kappa": 1,
"immunity_period": 1,
"min_allowed_weights": 1,
"max_weight_limit": 1,
"tempo": 1,
"min_difficulty": "example",
"max_difficulty": "example",
"weights_version": "example",
"weights_rate_limit": "example",
"adjustment_interval": 1,
"activity_cutoff": 1,
"registration_allowed": true,
"target_regs_per_interval": 1,
"min_burn": "example",
"max_burn": "example",
"bonds_moving_avg": 1,
"max_regs_per_block": 1,
"serving_rate_limit": 1,
"max_validators": 1,
"adjustment_alpha": "example",
"difficulty": "example",
"commit_reveal_period": 1,
"commit_reveal_weights_enabled": true,
"alpha_high": 1,
"alpha_low": 1,
"liquid_alpha_enabled": true,
"alpha_sigmoid_steepness": 1,
"yuma_version": 1,
"subnet_is_active": true,
"transfers_enabled": true,
"bonds_reset_enabled": true,
"user_liquidity_enabled": true,
"activity_cutoff_factor": 1,
"burn_half_life": 1,
"burn_increase_mult": 1,
"collateral_drain_ratio": 1,
"collateral_lock_share": 1,
"min_childkey_take": 1,
"owner_cut_enabled": true,
"owner_cut_auto_lock_enabled": true,
"owner_emission": 1,
"validator_emission": 1,
"miner_emission": 1,
"max_n": 1
},
"neurons": [
{
"uid": 1,
"mechid": 1,
"hotkey": "example",
"coldkey": "example",
"type": "example",
"status": "example",
"is_validator": true,
"is_owner": true,
"stake": 1,
"stake_weight_alpha": 1,
"stake_weight_tao": 1,
"stake_weight_total": 1,
"vtrust": 1,
"consensus": 1,
"dividends": 1,
"incentive": 1,
"emission": 1,
"emission_withheld": 1,
"daily_rewards": 1,
"daily_rewards_alpha": 1,
"token_symbol": "example",
"token_price": 1,
"ip": "example",
"port": 1,
"block_at_registration": 1,
"registration_cost": 1,
"updated_at_block": 1,
"last_update_block": 1,
"delegate_take": 1,
"childkey_take": 1,
"apr_7d": 1,
"apy_7d": 1,
"apr_30d": 1,
"apy_30d": 1,
"apr_90d": 1,
"apy_90d": 1,
"apr_180d": 1,
"apy_180d": 1,
"apr_365d": 1,
"apy_365d": 1,
"parents": [
{
"hotkey": "example",
"proportion": 1,
"childkey_take": 1,
"status": "example",
"pending_activation_block": 1,
"root_stake": 1,
"alpha_stake": 1,
"stake_weight": 1,
"delegated_stake_weight": 1,
"apr_7d": 1,
"apy_7d": 1,
"apr_30d": 1,
"apy_30d": 1,
"apr_90d": 1,
"apy_90d": 1,
"apr_180d": 1,
"apy_180d": 1,
"apr_365d": 1,
"apy_365d": 1
}
],
"parents_active_count": 1,
"parents_total_count": 1
}
],
"mechid": 1,
"delegators": [
{
"account": "example",
"validator_coldkey": "example",
"validator_hotkey": "example",
"alpha_root_tao": 1,
"alpha_raw_tao": 1,
"stake_percent": 1,
"rank": 1
}
],
"delegators_pagination": {
"page": 1,
"page_size": 1,
"total_count": 1,
"reachable_count": 1,
"total_pages": 1,
"has_next": true,
"has_previous": true,
"next_cursor": "example"
},
"gamma_services": [
{
"hotkey": "example",
"url": "example",
"spender": "example",
"spent": 1,
"hotkeys_count": 1
}
],
"gamma_emission_inbound": [
{
"netuid": 1,
"share": 1,
"tao_per_day": 1
}
],
"gamma_context": {
"gamma_enabled": true,
"tao_usd_oracle": "example",
"tao_usd_price": 1,
"tao_usd_price_feed": 1,
"tao_usd_price_fed_at": 1,
"spends_need_service": true
},
"root_sell": true,
"root_sell_ema_sum": 1
}

A parameter failed its check, which message names. code is usually VALIDATION_ERROR.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleVALIDATIONERROR

VALIDATION_ERROR

{
"error": true,
"code": "VALIDATION_ERROR",
"message": "invalid after cursor",
"detail": null
}

RESOURCE_NOT_FOUND. Carries Cache-Control: public, max-age=15, short because a new block or extrinsic is indexed up to a minute late.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleRESOURCENOTFOUND

RESOURCE_NOT_FOUND

{
"error": true,
"code": "RESOURCE_NOT_FOUND",
"message": "Not found",
"detail": null
}

Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleRATELIMITED

RATE_LIMITED

{
"error": true,
"code": "RATE_LIMITED",
"message": "Request was throttled",
"detail": {
"retry_after": 12
}
}
Retry-After
integer

Seconds before the next request is accepted.

QUERY_TIMEOUT: the query exceeded its budget. detail carries budget_ms, elapsed_ms, path and query.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleQUERYTIMEOUT

QUERY_TIMEOUT

{
"error": true,
"code": "QUERY_TIMEOUT",
"message": "query exceeded the 12000 ms budget; retry, or narrow the requested range",
"detail": {
"budget_ms": 12000,
"elapsed_ms": 12004,
"path": "/trades/summary/",
"query": "coldkey=5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY&resolution=day"
}
}