---
title: "Statistics for all sites"
method: GET
path: "/v1/sites/stats"
tags: ["Sites"]
---

# Statistics for all sites

`GET /v1/sites/stats`

Retrieves statistical data across all sites

## Response `200`

Statistics retrieved successfully

- SiteStats[]
  - `siteId` string — Site identifier
  - `siteName` string — Site name
  - `totalConsumption` number — Total energy consumption in kWh
  - `totalCost` number — Total energy cost in GBP
  - `totalEmissions` number — Total carbon emissions in kg CO2e
  - `meterCount` integer — Number of meters at the site
  - `period` string — Reporting period

## Other responses

- `4XX` — Client error response

## Changes

> 13 revisions in range; 1 could not be searched.

- **2025-12-02** `341d0d8f51f9` — 1 breaking, 7 info
  - the `items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `items/meterCount` to the response with the `200` status
  - added the optional property `items/period` to the response with the `200` status
  - added the optional property `items/siteId` to the response with the `200` status
  - …4 more
- **2025-11-17** `1ecbbc9bbafb` — 1 breaking, 7 warning
  - the `items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `items/meterCount` from the response with the `200` status
  - removed the optional property `items/period` from the response with the `200` status
  - removed the optional property `items/siteId` from the response with the `200` status
  - …4 more

[Change history](https://skmtc.dev/voltview/apis/voltview-api/changes/v1/sites/stats/get.md)

---

[API](https://skmtc.dev/voltview/apis/voltview-api.md) · [All operations](https://skmtc.dev/voltview/apis/voltview-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/voltview/voltview-api/revisions/d90c739b55df/schema)
