Increasing energy costs

How to use the API to adjust the calculations based on current or expected energy costs for gas and electricity.

Making use of Custom Costs

Energy prices are on the rise and in order to provide proper calculations in terms of investments, savings and estimated energy usage the Sustainability API facilitates the input of custom costs for energy. See the full Cost table input for all options.

Code query example for overwriting the standard values for Gas and Electricity costs

{
  "data": {
    "max_investment": 60000,
    "post_code": "2771DS",
    "house_number": "87",
    "target_label": "A",
    "custom_costs":[
      {"code":2,"value":1.79808},
      {"code":3,"value":2.31534},
      {"code":4,"value":0.45455},
      {"code":5,"value":0.56027}]
  }
}

Last updated