Calculate energy cost by time interval
Returns import or export monetary value (cost) of energy by FlatPeak location_id
or device_id
. Meter records must have been previously submitted to /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
.
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.
Period end time.
Response
FlatPeak unique object ID that represents this response.
FlatPeak object type. I.e. meter_value_interval
.
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
.
Currency code for cost of energy measure. Always returned in large currency units.
Units of energy measure.
Units of carbon emissions measure.
Was this page helpful?