Get Subnets
Endpoint
Section titled “Endpoint”GET /api/subnet/latest/v1Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
netuid | query | integer | Subnet ID | |
page | query | integer | The page number of the response. | |
limit | query | integer | The number of responses. max is 200, | |
order | query | string |
Responses
Section titled “Responses”200 — 200
Section titled “200 — 200”Media: application/json
{ "type": "object", "properties": { "pagination": { "type": "object", "properties": { "current_page": { "type": "integer", "example": 1, "default": 0 }, "per_page": { "type": "integer", "example": 1024, "default": 0 }, "total_items": { "type": "integer", "example": 53, "default": 0 }, "total_pages": { "type": "integer", "example": 1, "default": 0 }, "next_page": {}, "prev_page": {} } }, "data": { "type": "array", "items": { "type": "object", "properties": { "block_number": { "type": "integer", "example": 4107450, "default": 0 }, "timestamp": { "type": "string", "example": "2024-10-23T17:15:36.009Z" }, "netuid": { "type": "integer", "example": 0, "default": 0 }, "owner": {}, "registration_block_number": { "type": "integer", "example": 0, "default": 0 }, "registration_timestamp": { "type": "string", "example": "2023-03-20T18:47:48Z" }, "registration_cost": { "type": "string", "example": "0" }, "neuron_registration_cost": { "type": "string", "example": "1000000000" }, "max_neurons": { "type": "integer", "example": 64, "default": 0 }, "active_keys": { "type": "integer", "example": 2, "default": 0 }, "validators": { "type": "integer", "example": 64, "default": 0 }, "active_validators": { "type": "integer", "example": 2, "default": 0 }, "active_miners": { "type": "integer", "example": 51, "default": 0 }, "active_dual": { "type": "integer", "example": 6, "default": 0 }, "modality": {}, "emission": { "type": "string", "example": "183936012" }, "rho": { "type": "integer", "example": 0, "default": 0 }, "kappa": { "type": "integer", "example": 0, "default": 0 }, "immunity_period": { "type": "integer", "example": 0, "default": 0 }, "min_allowed_weights": { "type": "integer", "example": 0, "default": 0 }, "max_weights_limit": { "type": "integer", "example": 65535, "default": 0 }, "tempo": { "type": "integer", "example": 100, "default": 0 }, "min_difficulty": { "type": "string", "example": "4611686018427387903" }, "max_difficulty": { "type": "string", "example": "0" }, "weights_version": { "type": "string", "example": "0" }, "weights_rate_limit": { "type": "string", "example": "0" }, "adjustment_interval": { "type": "integer", "example": 0, "default": 0 }, "activity_cutoff": { "type": "integer", "example": 5000, "default": 0 }, "registration_allowed": { "type": "boolean", "example": true, "default400 — 400
Section titled “400 — 400”Media: application/json
{ "type": "object", "properties": {}}Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.