cURL
curl --request GET \ --url https://api.voltview.co.uk/v1/sites/peakDemand \ --header 'Authorization: Bearer <token>'
[ { "siteId": "<string>", "peak": 123, "timestamp": "2023-11-07T05:31:56Z", "averageDemand": 123, "loadFactor": 123 } ]
Retrieves peak power demand data across all sites
JWT token obtained from /v1/requestToken endpoint
Peak demand data retrieved successfully
The response is of type object[].
object[]