Skip to main content
GET
/
v1
/
sites
/
annualSpendAndSavings
Annual spend and savings for all sites
curl --request GET \
  --url https://api.voltview.co.uk/v1/sites/annualSpendAndSavings \
  --header 'x-api-key: <api-key>'
[
  {
    "siteId": "<string>",
    "period": "<string>",
    "spend": 123,
    "savings": 123,
    "comparisonPeriod": "<string>",
    "previousSpend": 123,
    "spendChange": 123
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.voltview.co.uk/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

VoltView API key

Response

Annual spend and savings data retrieved successfully

siteId
string

Site identifier

period
string

Reporting period

spend
number

Energy spend in GBP

savings
number

Cost savings in GBP

comparisonPeriod
string

Previous period for comparison

previousSpend
number

Previous period spend in GBP

spendChange
number

Percentage change in spend