Skip to content

What registering a new subnet cost, per day or block by block

GET
/subnets/network-reg-cost/

One row per day of the cost, in TAO, to register a new subnet, oldest first, over the last 180 days unless dates are given. Days with no recorded cost are left out. granularity=exact serves the cost the chain charged instead, rebuilt from every registration since 2025-12-03 with the runtime’s formula: a grid of instants plus the block before and the block of each registration and each change of the decay, where the cost jumps, and every registration with the price paid.

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

  • None
date_from
string format: date

Inclusive lower bound, YYYY-MM-DD or an ISO instant. Defaults to 180 days ago. 400 on a bad format. With granularity=exact, 400 before 2025-12-03, the first recorded registration, which bounds the default too.

date_to
string format: date

Inclusive upper bound, YYYY-MM-DD or an ISO instant. 400 otherwise.

granularity
string
Allowed values: daily exact

exact swaps the daily rows for the block-exact series and the registrations. 400 on any other value. Default daily.

One cost per day, oldest first, or with granularity=exact the exact series.

Media typeapplication/json
One of:
object
count
required

Rows in results.

integer
results
required

Ascending by date, and only days where the cost was above zero.

Array<object>
object
date
required

The UTC day.

string format: date
subnet_reg_cost
required

In TAO. The cost to register a new subnet at the day’s last block.

number format: double

Example

{
"granularity": "exact"
}

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": "date_from must be YYYY-MM-DD",
"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"
}
}