Get Historical Sum of Subnet Prices
Endpoint
Section titled “Endpoint”GET /api/dtao/pool/total_price/history/v1Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
frequency | query | — | How often to pull the data | |
page | query | integer | page number of results | |
limit | query | integer | Max entries per page (max is 200) | |
order | query | — |
Responses
Section titled “Responses”200 — Pool total price retrieved successfully
Section titled “200 — Pool total price retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "block_number", "timestamp", "price", "alpha_volume", "alpha_sell_volume", "alpha_buy_volume", "root_volume", "root_sell_volume", "root_buy_volume" ], "properties": { "alpha_buy_volume": { "type": "string" }, "alpha_sell_volume": { "type": "string" }, "alpha_volume": { "type": "string" }, "block_number": { "type": "integer", "format": "int32" }, "price": { "type": "string" }, "root_buy_volume": { "type": "string" }, "root_sell_volume": { "type": "string" }, "root_volume": { "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": "{}" }}400 — Bad request
Section titled “400 — Bad request”404 — Pool total price not found
Section titled “404 — Pool total price not found”500 — Internal server error
Section titled “500 — Internal server error”Try it
Section titled “Try it”Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).
Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.