cURL
curl --request GET \ --url https://api.voltview.co.uk/v1/sites/{siteId}/stats \ --header 'Authorization: Bearer <token>'
{ "siteId": "<string>", "siteName": "<string>", "totalConsumption": 123, "totalCost": 123, "totalEmissions": 123, "meterCount": 123, "period": "<string>" }
Retrieves statistical data for a specific site
JWT token obtained from /v1/requestToken endpoint
Site identifier
Statistics retrieved successfully
Site name
Total energy consumption in kWh
Total energy cost in GBP
Total carbon emissions in kg CO2e
Number of meters at the site
Reporting period