Get Stats History
Endpoint
Section titled “Endpoint”GET /api/stats/history/v1Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
block_number | query | integer | The exact block number | |
block_start | query | integer | block number for start of range | |
block_end | query | integer | block number for end of range | |
timestamp_start | query | integer | Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) | |
timestamp_end | query | integer | Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) | |
frequency | query | string | ||
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": 5, "default": 0 }, "total_items": { "type": "integer", "example": 584, "default": 0 }, "total_pages": { "type": "integer", "example": 117, "default": 0 }, "next_page": { "type": "integer", "example": 2, "default": 0 }, "prev_page": {} } }, "data": { "type": "array", "items": { "type": "object", "properties": { "block_number": { "type": "integer", "example": 4106956, "default": 0 }, "timestamp": { "type": "string", "example": "2024-10-23T15:36:48.004Z" }, "issued": { "type": "string", "example": "7662539915127250" }, "staked": { "type": "string", "example": "5938450722857099" }, "accounts": { "type": "integer", "example": 137331, "default": 0 }, "active_accounts": { "type": "integer", "example": 115008, "default": 0 }, "balance_holders": { "type": "integer", "example": 102750, "default": 0 }, "active_balance_holders": { "type": "integer", "example": 80427, "default": 0 }, "extrinsics": { "type": "integer", "example": 97783649, "default": 0 }, "transfers": { "type": "integer", "example": 2680168, "default": 0 }, "subnets": { "type": "integer", "example": 53, "default": 0 }, "subnet_registration_cost": { "type": "string", "example": "1242562048540" } } } } }}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.