Skip to content

Get Historical Sum of Subnet Prices

GET /api/dtao/pool/total_price/history/v1
NameInTypeRequiredDescription
frequencyqueryHow often to pull the data
pagequeryintegerpage number of results
limitqueryintegerMax entries per page (max is 200)
orderquery

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": "{}"
}
}

Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).

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