Returns monetary value (cost) of energy by Flatpeak location_id or device_id. Meter records must have been previously submitted to the /meters endpoint.
Authenticate with bearer you obtained from authentication endpoint.
Flatpeak location_id or device_id.
Aggregation interval, supported values are DAY, MONTH.
"MONTH"
Specified tariff direction. Possible values are IMPORT, EXPORT or LOCAL.
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.
"2023-11-07T05:31:56Z"
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.
"2023-12-07T05:31:56Z"
Flatpeak account id.
"acc_661677911f2197045e6cf1b1"
Flatpeak unique object ID that represents this response.
"ecs_65ea3fb185c1541f247c251e"
Flatpeak object type. I.e. energy_cost.
"energy_cost"
Flatpeak object location_id or device_id cost data is for.
"dev_65e6d8334c8d715963d99db3"
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Specified tariff direction. Possible values are IMPORT, EXPORT or LOCAL.
"IMPORT"
The timezone at the location, in 'tz database format'. I.e. 'Europe/Berlin'.
"Europe/London"
Currency code for cost of energy measure. Always returned in large currency units.
"EUR"
Units of energy measure.
"WH"