# Get Sum Of Subnet Prices

Returns historical sums of subnet Alpha prices and aggregate trading volumes through the older total-price route.

_Source: https://beta.taostats.io/docs/api-reference/subnet/get-pool-total-price_

_Last reviewed: 2026-09-18_

```http
GET https://api.taostats.io/api/dtao/pool/total_price/v1
```

Requires an API key in the `Authorization` header.

> [!WARNING]
> This endpoint is deprecated and may be removed in a future version of the API.

Returns historical sums of subnet Alpha prices and aggregate trading volumes through the older total-price route. This route is an alias of `/api/dtao/pool/total_price/history/v1`; prefer that endpoint for new integrations.

## Try it

Try this request in the browser on the HTML version of this page, or use the code samples below.

### Code samples

**cURL**

```bash
curl -H "Authorization: <YOUR_API_KEY>" \
  "https://api.taostats.io/api/dtao/pool/total_price/v1"
```

**JavaScript**

```js
const response = await fetch('https://api.taostats.io/api/dtao/pool/total_price/v1', {
  headers: {
    Authorization: '<YOUR_API_KEY>',
  },
});
const data = await response.json();
```

**Python**

```python
import requests

response = requests.get(
    "https://api.taostats.io/api/dtao/pool/total_price/v1",
    headers={"Authorization": "<YOUR_API_KEY>"},
)
data = response.json()
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `frequency` | query | `string` |  | One of `by_block`, `by_hour`, `by_day`. |
| `page` | query | `integer (int32)` |  | The page number of the response. |
| `limit` | query | `integer (int32)` |  | The number of responses. max is 200, |
| `order` | query | `string` |  | One of `timestamp_asc`, `timestamp_desc`. |

## Responses

### `200` — Pool total price retrieved successfully

| Field | Type | Required |
| --- | --- | --- |
| `data` | `array` | Yes |
| `data[].alpha_buy_volume` | `string` | Yes |
| `data[].alpha_sell_volume` | `string` | Yes |
| `data[].alpha_volume` | `string` | Yes |
| `data[].block_number` | `integer (int32)` | Yes |
| `data[].price` | `string` | Yes |
| `data[].root_buy_volume` | `string` | Yes |
| `data[].root_sell_volume` | `string` | Yes |
| `data[].root_volume` | `string` | Yes |
| `data[].timestamp` | `string (date-time)` | Yes |
| `pagination` | `object` | Yes |
| `pagination.current_page` | `integer (int32)` | Yes |
| `pagination.next_page` | `integer (int32), nullable` |  |
| `pagination.per_page` | `integer (int32)` | Yes |
| `pagination.prev_page` | `integer (int32), nullable` |  |
| `pagination.total_items` | `integer (int32)` | Yes |
| `pagination.total_pages` | `integer (int32)` | Yes |

**Example response**

```json
{}
```

### Other responses

| Status | Meaning |
| --- | --- |
| `400` | Bad request |
| `404` | Pool total price not found |
| `500` | Internal server error |

Every request needs an `Authorization` header holding your API key — see [Getting started with the Taostats API](https://beta.taostats.io/docs/start-here/getting-started-with-taostats-api).
