Get Subnet Registrations
Endpoint
Section titled “Endpoint”GET /api/subnet/registration/v1Try it
Section titled “Try it”Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
netuid | query | integer | Subnet | |
owner | query | string | SS58 or hex format | |
registered_by | query | string | SS58 or hex format | |
block_number | query | integer | The exact block number | |
block_start | query | integer | Start of block range (inclusive) | |
block_end | query | integer | End of block range (inclusive) | |
timestamp_start | query | string | Start of timestamp range (inclusive) | |
timestamp_end | query | string | End of timestamp range (inclusive) | |
page | query | integer | The page number of the response. | |
limit | query | integer | The number of responses. max is 200, | |
order | query | — |
Responses
Section titled “Responses”200 — Subnet registrations retrieved successfully
Section titled “200 — Subnet registrations retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "block_number", "timestamp", "netuid", "registration_cost", "recycled_at_registration" ], "properties": { "block_number": { "type": "integer", "format": "int32" }, "netuid": { "type": "integer", "format": "int32" }, "owner": { "allOf": [ { "type": "object", "required": [ "ss58", "hex" ], "properties": { "hex": { "type": "string", "description": "The hex format of the hot key" }, "ss58": { "type": "string", "description": "The SS58 format of the hot key" } } } ], "nullable": true }, "recycled_at_registration": { "type": "string" }, "registered_by": { "allOf": [ { "type": "object", "required": [ "ss58", "hex" ], "properties": { "hex": { "type": "string", "description": "The hex format of the hot key" }, "ss58": { "type": "string", "description": "The SS58 format of the hot key" } } } ], "nullable": true }, "registration_cost": { "type": "string" }, "timestamp": { "type": "string", "format": "date-time" } } } }, "pagination": { "type": "object", "required": [ "current_page", "per_page", "total_items", "total_pages" ], "properties": { "current_page": { "type": "integer", "format": "int32" }, "next_page": { "type": "integer", "format": "int32", "nullable": true }, "per_page": { "type": "integer", "format": "int32" }, "prev_page": { "type": "integer", "format": "int32", "nullable": true }, "total_items": { "type": "integer", "format": "int32" }, "total_pages": { "type": "integer", "format": "int32" } } } }}Examples
{ "Result": { "value": "{\n \"pagination\": {\n \"current_page\": 1,\n \"per_page\": 5,\n \"total_items\": 128,\n \"total_pages\": 26,\n \"next_page\": 2,\n \"prev_page\": null\n },\n \"data\": [\n {\n \"block_number\": 4084840,\n \"timestamp\": \"2024-10-20T13:52:48Z\",\n \"netuid\": 47,\n \"registration_cost\": \"2017009719904\",\n \"recycled_at_registration\": \"7665571436\",\n \"owner\": {\n \"ss58\": \"5HeKWhzZ1KGJVMAdAweyDA9c2TZW6mNRXzSGuQdAQpmU1zbE\",\n \"hex\": \"0xf6d04b3b31e38b1bdb811ae945b9466b3e1924418b12aba664e30f888aa55e47\"\n },\n \"registered_by\": {\n \"ss58\": \"5HeKWhzZ1KGJVMAdAweyDA9c2TZW6mNRXzSGuQdAQpmU1zbE\",\n \"hex\": \"0xf6d04b3b31e38b1bdb811ae945b9466b3e1924418b12aba664e30f888aa55e47\"\n }\n },\n {\n \"block_number\": 4067835,\n \"timestamp\": \"2024-10-18T05:06:48.001Z\",\n \"netuid\": 36,\n \"registration_cost\": \"1430961435352\",\n \"recycled_at_registration\": \"159810432782\",\n \"owner\": {\n \"ss58\": \"5EZxb7YGiyMxD18Nv6hk9wi7NkhasgRMN1ssXSMqPcPFjauW\",\n \"hex\": \"0x6ec82ce17c50c11c51791f9e64ff8c3b30f76b87b7ed9550ec884c0bf9bf1179\"\n },\n \"registered_by\": {\n \"ss58\": \"5EZxb7YGiyMxD18Nv6hk9wi7NkhasgRMN1ssXSMqPcPFjauW\",\n \"hex\": \"0x6ec82ce17c50c11c51791f9e64ff8c3b30f76b87b7ed9550ec884c0bf9bf1179\"\n }\n },\n {\n \"block_number\": 4032711,\n \"timestamp\": \"2024-10-13T07:48:48.005Z\",\n \"netuid\": 47,\n \"registration_cost\": \"1833586416704\",\n \"recycled_at_registration\": \"4815047605\",\n \"owner\": {\n \"ss58\": \"5HponEGatSUQ3xaZUdSS35sJdPaFkxkoFn8L2B7JP9C6uR1w\",\n \"hex\": \"0xfecfe7bbd2663ae58ed2c77c86bad7b2200a4f1b7fc2f98e51de4fb5dc33583b\"\n },\n \"registered_by\": {\n \"ss58\": \"5HponEGatSUQ3xaZUdSS35sJdPaFkxkoFn8L2B7JP9C6uR1w\",\n \"hex\": \"0xfecfe7bbd2663ae58ed2c77c86bad7b2200a4f1b7fc2f98e51de4fb5dc33583b\"\n }\n },\n {\n \"block_number\": 3989825,\n \"timestamp\": \"2024-10-07T08:39:00Z\",\n \"netuid\": 52,\n \"registration_cost\": \"3588914497450\",\n \"recycled_at_registration\": \"0\",\n \"owner\": {\n \"ss58\": \"5EgfUiH6A99dhihMzp7eMM8UDkvmFjCWgM5gnpBN8UgLrVuz\",\n \"hex\": \"0x73e54b664571974c351a3ec31b77457a5c7e407e02c7bba869418f03aa3c4bc4\"\n },\n \"registered_by\": {\n \"ss58\": \"5DkcfDJAB7QpgqJEhZZtHqwsaiWoxkmN7i3DogzpgtsUXtfG\",\n \"hex\": \"0x4aac8da05fd543a7289230071e07cf84472e879ee6f05a580c560eed0371aa78\"\n }\n },\n {\n \"block_number\": 3966206,\n \"timestamp\": \"2024-10-04T01:55:00Z\",\n \"netuid\": 51,\n \"registration_cost\": \"3041721441122\",\n \"recycled_at_registration\": \"0\",\n \"owner\": {\n \"ss58\": \"5FqACMtcegZxxopgu1g7TgyrnyD8skurr9QDPLPhxNQzsThe\",\n \"hex\": \"0xa69c2a35cc92068ca11818f190f771e3f3ba283c0bb091282dc9e83ed8bad00e\"\n },\n \"registered_by\": {\n \"ss58\": \"5FqACMtcegZxxopgu1g7TgyrnyD8skurr9QDPLPhxNQzsThe\",\n \"hex\": \"0xa69c2a35cc92068ca11818f190f771e3f3ba283c0bb091282dc9e83ed8bad00e\"\n }\n }\n ]\n}" }}400 — Bad request
Section titled “400 — Bad request”404 — Subnet registrations not found
Section titled “404 — Subnet registrations not found”500 — Internal server error
Section titled “500 — Internal server error”Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.