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
Authenticate with bearer_token
you obtained from /login endpoint.
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 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
.
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
.
Response
FlatPeak unique object ID that represents this response.
FlatPeak object type. I.e. energy_cost
.
FlatPeak object location_id
or device_id
cost data is for.
Has the value true
if the object exists in live mode or the value false if the object exists in test mode.
Indicates energy direction. Supported values are IMPORT
and EXPORT
.
The timezone at the location, in 'tz database format'. I.e. 'Europe/Berlin'.
Currency code for cost of energy measure. Always returned in large currency units.
Units of energy measure.
Units of carbon emissions measure.
FlatPeak account id.
Was this page helpful?