Cost calculations
Instantly calculate energy cost
Ingests a meter record and instantly returns import or export monetary value (cost) of energy.
- If you are metering a device, submit records using
device_id
parameter. - If you are metering a location (i.e. main supply address meter), submit records under
location_id
parameter.
Meter records that are submitted via this endpoint will be permanently stored and will be used for other cost-calculations endpoints.
POST
Authorizations
Query Parameters
Set to true
if you want to include tariff data.
Set to true
if you want to include carbon intensity data.
Set to true
to avoid storing metering records permanently. Use for simulating consumption to estimate potential energy costs.
Body
application/json
Response
200
application/json
Example response
The response is of type object
.