cURL
curl --request GET \ --url https://api.voltview.co.uk/v1/sites/{siteId}/annualSpendAndSavings \ --header 'Authorization: Bearer <token>'
{ "siteId": "<string>", "spend": 123, "period": "<string>", "savings": 123, "comparisonPeriod": "<string>", "previousSpend": 123, "spendChange": 123 }
Retrieves annual energy spending and savings data for a specific site
JWT token obtained from /v1/requestToken endpoint
Site identifier
Annual spend and savings data retrieved successfully
Energy spend in GBP
Reporting period
Cost savings in GBP
Previous period for comparison
Previous period spend in GBP
Percentage change in spend