Calculate energy cost by time interval
Returns monetary value (cost) of energy by FlatPeak location_id
or device_id
. Meter records must have been previously submitted to the /meters
endpoint.
Authorizations
Path Parameters
FlatPeak location_id
or device_id
.
Query Parameters
Aggregation interval, supported values are DAY
, MONTH
.
Indicates direction you want to work with. Set to IMPORT
or EXPORT
. Defaults to IMPORT
.
Set to true
if you want to include tariff data.
Set to true
if you want to include carbon intensity data.
Body
Period end time. In RFC3339 format e.g. 2023-06-15T09:00:00Z
or with time-offset, e.g. 2023-06-15T08:00:00+01:00
.
Period start time. In RFC3339 format e.g. 2023-06-15T09:00:00Z
or with time-offset, e.g. 2023-06-15T08:00:00+01:00
.
Response
FlatPeak account id.
Units of carbon emissions measure.
Currency code for cost of energy measure. Always returned in large currency units.
Indicates energy direction. Supported values are IMPORT
and EXPORT
.
Units of energy measure.
FlatPeak unique object ID that represents this response.
Has the value true
if the object exists in live mode or the value false if the object exists in test mode.
The timezone at the location, in 'tz database format'. I.e. 'Europe/Berlin'.
FlatPeak object type. I.e. energy_cost
.
FlatPeak object location_id
or device_id
cost data is for.
Was this page helpful?