Historical Consumption
Get actual measured consumption data of all devices of a certain timeframe:cURL
aggregated=true query parameter to
get the aggregated consumption across all devices.
If you are not interested in aggregated data but on a per device basis, you should use the query parameter device_id to get the consumption data on a per device basis.
Another option is to query without providing the device_id query parameter but loop over the same api call using the next_token query parameter
to paginate through the data of all devices. We would only recommend this option if you are interested in all devices data and if your timeframe you are querying is small (e.g. 15minutes)
as the amount of data can become quite large if you query a long timeframe and have many devices.
More info about the /device/consumption/historical endpoint.
Forecasted Consumption
Get forecasted (= nominated) consumption data for all devices of a certain timeframe:cURL
device_id query parameter.
More info about the /device/consumption/forecast/historical endpoint.
Typical Consumption
Get baseline consumption:cURL