Get Historical Stake
Endpoint
Section titled “Endpoint”GET /api/stake_balance/history/v1Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
coldkey | query | string | ✅ | SS58 or hex format |
hotkey | query | string | ✅ | SS58 or hex format |
block_start | query | integer | block number for start of range | |
block_end | query | integer | block number for end of range | |
timestamp_start | query | integer | Unix timestamp (seconds since 1970-01-01) (inclusive) | |
timestamp_end | query | integer | 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 | 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": 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 } } } } }}400 — 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.