Skip to content

Get Historical Stake

GET /api/stake_balance/history/v1
NameInTypeRequiredDescription
coldkeyquerystringSS58 or hex format
hotkeyquerystringSS58 or hex format
block_startqueryintegerblock number for start of range
block_endqueryintegerblock number for end of range
timestamp_startqueryintegerUnix timestamp (seconds since 1970-01-01) (inclusive)
timestamp_endqueryintegerUnix timestamp (seconds since 1970-01-01) (inclusive)
pagequeryintegerThe page number of the response.
limitqueryintegerThe number of responses. max is 200,
orderquerystring

Media: application/json

{
"type": "object",
"properties": {
"pagination": {
"type": "object",
"properties": {
"current_page": {
"type": "integer",
"example": 1,
"default": 0
},
"per_page": {
"type": "integer",
"example": 50,
"default": 0
},
"total_items": {
"type": "integer",
"example": 6,
"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": 4468656,
"default": 0
},
"timestamp": {
"type": "string",
"example": "2024-12-12T23:59:48Z"
},
"hotkey_name": {
"type": "string",
"example": "Taostats & Corcel"
},
"hotkey": {
"type": "object",
"properties": {
"ss58": {
"type": "string",
"example": "5GKH9FPPnWSUoeeTJp19wVtd84XqFW4pyK2ijV2GsFbhTrP1"
},
"hex": {
"type": "string",
"example": "0xbc0e6b701243978c1fe73d721c7b157943a713fca9f3c88cad7a9f7799bc6b26"
}
}
},
"coldkey": {
"type": "object",
"properties": {
"ss58": {
"type": "string",
"example": "5HcdEK15LsPdGArq4pZVM6W3AXQ6CD3zquB5gXswTFMXpoou"
},
"hex": {
"type": "string",
"example": "0xf58571dff28e0f063782249d1f95bb806edaf2446c925abbf0e0a1b31eed41c6"
}
}
},
"stake": {
"type": "string",
"example": "134305000000"
},
"created_at_timestamp": {
"type": "string",
"example": "2024-12-11T18:25:12.001Z"
},
"created_at_block_number": {
"type": "integer",
"example": 4459783,
"default": 0
}
}
}
}
}
}

Media: application/json

{
"type": "object",
"properties": {}
}

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