Get Miner Weights History
Endpoint
Section titled “Endpoint”GET /api/miner/weights/history/v1Description
Section titled “Description”Requires a Pro subscription
Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
netuid | query | integer | ✅ | Subnet |
miner_uid | query | integer | Neuron ID | |
validator_uid | query | integer | UID of validator | |
miner_hotkey | query | string | SS58 or hex format | |
validator_hotkey | query | string | SS58 or hex format | |
block_number | query | integer | Start of block range (inclusive) | |
block_start | query | integer | Start of block range (inclusive) | |
block_end | query | integer | End of block range (inclusive) | |
timestamp_start | query | integer | Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) | |
timestamp_end | query | integer | End of timestamp range in Unix timestamp (seconds since 1970-01-01) (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 — Miner weights retrieved successfully
Section titled “200 — Miner weights retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "block_number", "timestamp", "netuid", "miner_uid", "validator_uid", "weight", "validator_hotkey", "miner_hotkey" ], "properties": { "block_number": { "type": "integer", "format": "int32" }, "miner_hotkey": { "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" } } }, "miner_uid": { "type": "integer", "format": "int32" }, "netuid": { "type": "integer", "format": "int32" }, "timestamp": { "type": "string", "format": "date-time" }, "validator_hotkey": { "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" } } }, "validator_uid": { "type": "integer", "format": "int32" }, "weight": { "type": "string" } } } }, "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\": 10,\n \"total_items\": 832055321,\n \"total_pages\": 83205533,\n \"next_page\": 2,\n \"prev_page\": null\n },\n \"data\": [\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 48,\n \"validator_uid\": 3,\n \"weight\": \"0.71012436102845807584\"\n },\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 87,\n \"validator_uid\": 3,\n \"weight\": \"0.66958113984893568322\"\n },\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 94,\n \"validator_uid\": 3,\n \"weight\": \"0.73940642404821850919\"\n },\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 164,\n \"validator_uid\": 3,\n \"weight\": \"0.66945906767376211185\"\n },\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 177,\n \"validator_uid\": 3,\n \"weight\": \"0.75400930800335698482\"\n },\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 188,\n \"validator_uid\": 3,\n \"weight\": \"0.71296253910124361028\"\n },\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 190,\n \"validator_uid\": 3,\n \"weight\": \"0.67948424505989166094\"\n },\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 208,\n \"validator_uid\": 3,\n \"weight\": \"0.80550850690470740826\"\n },\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 304,\n \"validator_uid\": 3,\n \"weight\": \"0.88317692835889219501\"\n },\n {\n \"block_number\": 4107385,\n \"timestamp\": \"2024-10-23T17:02:36Z\",\n \"netuid\": 1,\n \"miner_uid\": 32,\n \"validator_uid\": 3,\n \"weight\": \"0.64507515068284122988\"\n }\n ]\n}" }}400 — Bad request
Section titled “400 — Bad request”404 — Miner weights not found
Section titled “404 — Miner weights not found”500 — Internal server error
Section titled “500 — Internal server error”Try it
Section titled “Try it”Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).
Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.