Get Stats Latest
Endpoint
Section titled “Endpoint”GET /api/stats/latest/v1Try it
Section titled “Try it”Parameters
Section titled “Parameters”No parameters.
Responses
Section titled “Responses”200 — Stats retrieved successfully
Section titled “200 — Stats retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "block_number", "timestamp", "issued", "staked", "subnet_locked", "free", "accounts", "balance_holders", "extrinsics", "transfers", "subnets", "subnet_registration_cost" ], "properties": { "accounts": { "type": "integer", "format": "int32" }, "balance_holders": { "type": "integer", "format": "int32" }, "block_number": { "type": "integer", "format": "int32" }, "extrinsics": { "type": "integer", "format": "int32" }, "free": { "type": "string" }, "issued": { "type": "string" }, "staked": { "type": "string" }, "staked_alpha": { "type": "string", "nullable": true }, "staked_root": { "type": "string", "nullable": true }, "staked_root_on_delegate": { "type": "string", "nullable": true }, "staked_root_on_keep": { "type": "string", "nullable": true }, "staked_root_on_partial_keep": { "type": "string", "nullable": true }, "staked_root_on_swap": { "type": "string", "nullable": true }, "subnet_locked": { "type": "string" }, "subnet_registration_cost": { "type": "string" }, "subnets": { "type": "integer", "format": "int32" }, "timestamp": { "type": "string", "format": "date-time" }, "transfers": { "type": "integer", "format": "int32" } } } }, "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\": 1,\n \"total_items\": 1,\n \"total_pages\": 1,\n \"next_page\": null,\n \"prev_page\": null\n },\n \"data\": [\n {\n \"block_number\": 4106954,\n \"timestamp\": \"2024-10-23T15:36:24Z\",\n \"issued\": \"7662539219921512\",\n \"staked\": \"5938451132111254\",\n \"accounts\": 137331,\n \"active_accounts\": 115008,\n \"balance_holders\": 102750,\n \"active_balance_holders\": 80427,\n \"extrinsics\": 97783629,\n \"transfers\": 2680168,\n \"subnets\": 53,\n \"subnet_registration_cost\": \"1242632083598\"\n }\n ]\n}" }}400 — Bad request
Section titled “400 — Bad request”404 — Stats not found
Section titled “404 — Stats not found”500 — Internal server error
Section titled “500 — Internal server error”Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.