Skip to content

Get Historical Stake

GET /api/stake_balance/history/v1
NameInTypeRequiredDescription
coldkeyquerystringSS58 or hex format
hotkeyquerystringSS58 or hex format
block_startqueryintegerStart of block range (inclusive)
block_endqueryintegerEnd of block range (inclusive)
timestamp_startqueryintegerStart of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
timestamp_endqueryintegerEnd of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
pagequeryintegerThe page number of the response.
limitqueryintegerThe number of responses. max is 200,
orderquery

200 — Stake balances retrieved successfully

Section titled “200 — Stake balances retrieved successfully”

Media: application/json

Schema
{
"type": "object",
"required": [
"pagination",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"block_number",
"timestamp",
"hotkey",
"coldkey",
"stake",
"created_at_timestamp",
"created_at_block_number"
],
"properties": {
"block_number": {
"type": "integer",
"format": "int32"
},
"coldkey": {
"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"
}
}
},
"created_at_block_number": {
"type": "integer",
"format": "int32"
},
"created_at_timestamp": {
"type": "string",
"format": "date-time"
},
"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"
}
}
},
"hotkey_name": {
"type": "string",
"nullable": true
},
"stake": {
"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\": 50,\n \"total_items\": 6,\n \"total_pages\": 1,\n \"next_page\": null,\n \"prev_page\": null\n },\n \"data\": [\n {\n \"block_number\": 4468656,\n \"timestamp\": \"2024-12-12T23:59:48Z\",\n \"hotkey_name\": \"Taostats & Corcel\",\n \"hotkey\": {\n \"ss58\": \"5GKH9FPPnWSUoeeTJp19wVtd84XqFW4pyK2ijV2GsFbhTrP1\",\n \"hex\": \"0xbc0e6b701243978c1fe73d721c7b157943a713fca9f3c88cad7a9f7799bc6b26\"\n },\n \"coldkey\": {\n \"ss58\": \"5HcdEK15LsPdGArq4pZVM6W3AXQ6CD3zquB5gXswTFMXpoou\",\n \"hex\": \"0xf58571dff28e0f063782249d1f95bb806edaf2446c925abbf0e0a1b31eed41c6\"\n },\n \"stake\": \"134305000000\",\n \"created_at_timestamp\": \"2024-12-11T18:25:12.001Z\",\n \"created_at_block_number\": 4459783\n },\n {\n \"block_number\": 4461456,\n \"timestamp\": \"2024-12-11T23:59:48Z\",\n \"hotkey_name\": \"Taostats & Corcel\",\n \"hotkey\": {\n \"ss58\": \"5GKH9FPPnWSUoeeTJp19wVtd84XqFW4pyK2ijV2GsFbhTrP1\",\n \"hex\": \"0xbc0e6b701243978c1fe73d721c7b157943a713fca9f3c88cad7a9f7799bc6b26\"\n },\n \"coldkey\": {\n \"ss58\": \"5HcdEK15LsPdGArq4pZVM6W3AXQ6CD3zquB5gXswTFMXpoou\",\n \"hex\": \"0xf58571dff28e0f063782249d1f95bb806edaf2446c925abbf0e0a1b31eed41c6\"\n },\n \"stake\": \"134305000000\",\n \"created_at_timestamp\": \"2024-12-11T18:25:12.001Z\",\n \"created_at_block_number\": 4459783\n },\n {\n \"block_number\": 4460926,\n \"timestamp\": \"2024-12-11T22:13:48Z\",\n \"hotkey_name\": \"Taostats & Corcel\",\n \"hotkey\": {\n \"ss58\": \"5GKH9FPPnWSUoeeTJp19wVtd84XqFW4pyK2ijV2GsFbhTrP1\",\n \"hex\": \"0xbc0e6b701243978c1fe73d721c7b157943a713fca9f3c88cad7a9f7799bc6b26\"\n },\n \"coldkey\": {\n \"ss58\": \"5HcdEK15LsPdGArq4pZVM6W3AXQ6CD3zquB5gXswTFMXpoou\",\n \"hex\": \"0xf58571dff28e0f063782249d1f95bb806edaf2446c925abbf0e0a1b31eed41c6\"\n },\n \"stake\": \"134305000000\",\n \"created_at_timestamp\": \"2024-12-11T18:25:12.001Z\",\n \"created_at_block_number\": 4459783\n },\n {\n \"block_number\": 4460548,\n \"timestamp\": \"2024-12-11T20:58:12Z\",\n \"hotkey_name\": \"Taostats & Corcel\",\n \"hotkey\": {\n \"ss58\": \"5GKH9FPPnWSUoeeTJp19wVtd84XqFW4pyK2ijV2GsFbhTrP1\",\n \"hex\": \"0xbc0e6b701243978c1fe73d721c7b157943a713fca9f3c88cad7a9f7799bc6b26\"\n },\n \"coldkey\": {\n \"ss58\": \"5HcdEK15LsPdGArq4pZVM6W3AXQ6CD3zquB5gXswTFMXpoou\",\n \"hex\": \"0xf58571dff28e0f063782249d1f95bb806edaf2446c925abbf0e0a1b31eed41c6\"\n },\n \"stake\": \"3790000000\",\n \"created_at_timestamp\": \"2024-12-11T18:25:12.001Z\",\n \"created_at_block_number\": 4459783\n },\n {\n \"block_number\": 4460174,\n \"timestamp\": \"2024-12-11T19:43:24Z\",\n \"hotkey_name\": \"Taostats & Corcel\",\n \"hotkey\": {\n \"ss58\": \"5GKH9FPPnWSUoeeTJp19wVtd84XqFW4pyK2ijV2GsFbhTrP1\",\n \"hex\": \"0xbc0e6b701243978c1fe73d721c7b157943a713fca9f3c88cad7a9f7799bc6b26\"\n },\n \"coldkey\": {\n \"ss58\": \"5HcdEK15LsPdGArq4pZVM6W3AXQ6CD3zquB5gXswTFMXpoou\",\n \"hex\": \"0xf58571dff28e0f063782249d1f95bb806edaf2446c925abbf0e0a1b31eed41c6\"\n },\n \"stake\": \"3890000000\",\n \"created_at_timestamp\": \"2024-12-11T18:25:12.001Z\",\n \"created_at_block_number\": 4459783\n },\n {\n \"block_number\": 4459783,\n \"timestamp\": \"2024-12-11T18:25:12.001Z\",\n \"hotkey_name\": \"Taostats & Corcel\",\n \"hotkey\": {\n \"ss58\": \"5GKH9FPPnWSUoeeTJp19wVtd84XqFW4pyK2ijV2GsFbhTrP1\",\n \"hex\": \"0xbc0e6b701243978c1fe73d721c7b157943a713fca9f3c88cad7a9f7799bc6b26\"\n },\n \"coldkey\": {\n \"ss58\": \"5HcdEK15LsPdGArq4pZVM6W3AXQ6CD3zquB5gXswTFMXpoou\",\n \"hex\": \"0xf58571dff28e0f063782249d1f95bb806edaf2446c925abbf0e0a1b31eed41c6\"\n },\n \"stake\": \"200000000\",\n \"created_at_timestamp\": \"2024-12-11T18:25:12.001Z\",\n \"created_at_block_number\": 4459783\n }\n ]\n}"
}
}

Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).

All Taostats API requests require an Authorization header containing your API key. See Getting Started.