# Authenticatie, invoer en resultaat

### Vraag een duurzaamheidsadvies op basis van het adres op.

<mark style="color:green;">`POST`</mark> `https://api.altum.ai/v2/sustainability/apartments`

Dit endpoint stelt je in staat om een response van de Altum AI Verduurzaming API te ontvangen over verduurzamingsmaatregelen en de Ecowaarde, op basis van postcode, huisnummer en eventuele huisletter/toevoeging.

**Headers**

<table><thead><tr><th width="200">Naam</th><th width="136.9998779296875">Type</th><th>Omschrijving</th></tr></thead><tbody><tr><td>Content-Type</td><td>string</td><td>applicatie/json</td></tr><tr><td>x-api-key<mark style="color:red;">*</mark></td><td>string</td><td>Unieke API-sleutel van Altum. Maak er een via Mopsus(https://mopsus.altum.ai)</td></tr></tbody></table>

**Request Body**

<table><thead><tr><th width="216">Naam</th><th width="117.99993896484375">Type</th><th width="282.2220458984375">Omschrijving</th><th>Standaard</th></tr></thead><tbody><tr><td>postcode<mark style="color:red;">*</mark></td><td>string</td><td>Zes-cijferige postcode formaat bijv. 1234AB</td><td></td></tr><tr><td>housenumber<mark style="color:red;">*</mark></td><td>integer</td><td>Huisnummer van het object bijv. 1</td><td></td></tr><tr><td>houseaddition</td><td>string</td><td>Huisnummertoevoeging bijv. A</td><td></td></tr><tr><td>position</td><td>integer</td><td>1 = Hoekappartement begane grond<br>2 = Tussenappartement begane grond<br>3 = Hoekappartement middenverdieping<br>4 = Tussenappartement middenverdieping<br>5 = Hoekappartement bovenste verdieping<br>6 = Tussenappartement bovenste verdieping<br>7 = Volledige bovenste verdieping</td><td>3</td></tr><tr><td>floors</td><td>integer</td><td><p>Heeft de woning één of meerdere verdiepingen?</p><p>1 = Enkel<br>2 = Meerdere</p></td><td>1</td></tr><tr><td>back_facade</td><td>boolean</td><td><p>Heeft de woning een achtergevel?</p><p>false = nee<br>true = ja</p></td><td>false</td></tr><tr><td>build_year</td><td>integer</td><td>Bouwjaar van het object</td><td></td></tr><tr><td>inner_surface_area</td><td>float</td><td>Oppervlakte (m²)</td><td></td></tr><tr><td>apartment_type</td><td>integer</td><td>1 = 'Galerijflat'<br>2 = 'Portiekflat'<br>3 = 'Corridorflat'<br>4 = 'Maisonnette'<br>5 = 'Benedenwoning'<br>6 = 'Bovenwoning'<br>7 = 'Portiekwoning</td><td></td></tr><tr><td>wall_insulation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen">Maatregelen</a></td><td></td></tr><tr><td>floor_insulation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen">Maatregelen</a></td><td></td></tr><tr><td>roof_insulation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen">Maatregelen</a></td><td></td></tr><tr><td>living_room_windows</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen">Maatregelen</a></td><td></td></tr><tr><td>installation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen">Maatregelen</a></td><td></td></tr><tr><td>shower</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen">Maatregelen</a></td><td></td></tr><tr><td>ventilation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen">Maatregelen</a></td><td></td></tr><tr><td>solar_panels</td><td>list</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen">Maatregelen</a></td><td><br></td></tr><tr><td>cooling</td><td>integer</td><td><p>Is er een koelsysteem aanwezig?</p><p>1 = Geen koeling<br>2 = Airconditioning (directe luchtkoeling)<br>Standaardwaarde</p></td><td>1</td></tr><tr><td>electric_cooking</td><td>integer</td><td><p>Wat wordt gebruikt om te koken?</p><p>1 = Gaskookplaat<br>2 = Elektrische kookplaat</p></td><td><p>2 als <code>installation</code> in [6,7] staat, anders 1</p><p><br></p></td></tr><tr><td>inhabitants</td><td>integer</td><td>Aantal bewoners</td><td></td></tr><tr><td>gas_usage</td><td>float</td><td>Overschrijft geschat jaarlijks gasverbruik in m³</td><td></td></tr><tr><td>heat_usage</td><td>float</td><td>Overschrijft opgegeven jaarlijks warmteverbruik in GJ</td><td></td></tr><tr><td>electricity_usage</td><td>float</td><td>Overschrijft opgegeven jaarlijks elektriciteitsverbruik in kWh</td><td></td></tr><tr><td>electricity_generation</td><td>float</td><td><p>Totale jaarlijkse elektriciteitsopwekking van zonnepanelen in kWh</p><p>Nettoverbruik = verbruik − opwekking</p></td><td></td></tr><tr><td>minimum_solar_panels</td><td>integer</td><td>Minimum aantal nieuw te plaatsen zonnepanelen</td><td></td></tr><tr><td>search_criteria</td><td>integer</td><td><p>1 = laagste investeringskosten<br>2 = laagste energiekosten</p><p>3 = hoogste rendement op investering</p><p>4 = laagste BENG2 (hoogste energielabel)</p></td><td>3</td></tr><tr><td>max_investment</td><td>integer</td><td>Maximale investering, gebruik 0 voor onbeperkt</td><td></td></tr><tr><td>target_label</td><td>string</td><td>Gewenst doel-energielabel (standaard is energielabel A of D)</td><td></td></tr><tr><td>energylabel_strict</td><td>integer</td><td>Strikte zoekmodus binnen target_label activeren met 1</td><td>0</td></tr><tr><td>fetch_definitive_label</td><td>integer</td><td>Ophalen van definitief energielabel via EP-online activeren met 1</td><td>0</td></tr><tr><td>natural_gas</td><td>integer</td><td><p>1 = geen filter</p><p>2 = aardgas verplicht<br>3 = aardgasvrij</p></td><td></td></tr><tr><td>heat_pump_allowed</td><td>boolean</td><td><p>false = niet toegestaan</p><p>true = toegestaan</p></td><td>false</td></tr><tr><td>district_heating_allowed</td><td>boolean</td><td><p>false = niet toegestaan</p><p>true = toegestaan</p></td><td>false</td></tr><tr><td>heatpump_insulation_req</td><td>integer</td><td><p>1 = geen minimale eis</p><p>2 = schil, inclusief glas minimaal 2</p><p>3 = woning voldoet aan “standaard”</p></td><td>3</td></tr><tr><td>exclude_vat</td><td>boolean</td><td><p>Prijzen inclusief of exclusief btw</p><p>false = btw inbegrepen</p><p>true = btw exclusief</p></td><td>false</td></tr><tr><td>cost_indicators</td><td>dict</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/kostenindicatoren">Kostenindicatoren</a></td><td></td></tr><tr><td>wall_filters</td><td>dict</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen-filters">Maatregelen filters</a></td><td></td></tr><tr><td>roof_filters</td><td>dict</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen-filters">Maatregelen filters</a></td><td></td></tr><tr><td>floor_filters</td><td>dict</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen-filters">Maatregelen filters</a></td><td></td></tr><tr><td>eco_delta</td><td>boolean</td><td>Ecovalue-berekening uitschakelen met 0</td><td>1</td></tr><tr><td>lock_measures</td><td>list</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen-vergrendelen">Maatregelen vergrendelen</a></td><td></td></tr><tr><td>exclude_measures</td><td>list</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/maatregelen-uitsluiten">Maatregelen uitsluiten</a></td><td></td></tr></tbody></table>

{% hint style="info" %}
\*<mark style="color:red;">\*\*Het is aan te raden zowel de positie als het aantal verdiepingen van het appartement op te geven voor optimale resultaten.\*\*</mark>\*
{% endhint %}

{% tabs %}
{% tab title="200: OK Successful response" %}
\`\`\` { "tip": null, "warnings": \[ { "code": "11", "description": "Current building with energy label C already meets default target\_label A." } ], "address": { "housenumber": 227, "postcode": "3024XL", "houseaddition": "B", "street": "Willem Buytewechstraat", "city": "Rotterdam", "location": { "lat": 51.90761152288453, "lon": 4.451398538183942 } }, "building": { "build\_year": 1927, "inner\_surface": 74, "floor\_surface": 0, "roof\_surface": 0, "wall\_surface": 50.2, "glass\_living\_room\_surface": 13.4, "number\_of\_doors": 5, "floors": "Single", "main\_type": "Appartement", "sub\_type": null }, "label": { "current": "C", "potential": "B" }, "provided\_label": { "temporary": "G", "definitive": null, "definitive\_type": null, "definitive\_validity": null }, "BENG2": { "current": 245, "potential": 181 }, "meta": null, "CO2": { "current": 2357, "potential": 2141 }, "financial": { "total\_investment": 2309, "total\_saving": 164, "months\_to\_pay\_off": 168, "eco\_value": 0, "savings\_monthly": 14, "energy\_cost\_monthly": { "current": 175, "potential": 161 }, "energy\_cost\_yearly": { "current": 2096, "potential": 1932 }, "return\_on\_investment": "0.52%", "loan": { "monthly\_payment": 10 } }, "gas\_usage": { "current": 888, "potential": 769 }, "electricity\_usage": { "current": 2262, "potential": 2255 }, "city\_heating\_usage": { "current": 0, "potential": 0 }, "solar\_panel\_yield": { "current": 0, "potential": 0 }, "energy\_prices": { "variable\_gas\_price": 1.359, "variable\_electricity\_price": 0.27, "solarpanel\_watt\_peak\_per\_m2": 250 }, "solar\_panels": { "current": null, "potential": null }, "measures": { "wall\_insulation": { "before": { "desc": "Geen", "value": 1, "points": 2 }, "after": { "desc": "Goed", "value": 3, "points": 5 }, "investment": 2309, "savings": 164, "co2\_reduce": 215, "BENG2": "100", "gas\_savings": 119, "electricity\_savings": 7 }, "floor\_insulation": { "before": { "desc": "Geen", "value": 1, "points": 0 }, "after": { "desc": "Geen", "value": 1, "points": 0 }, "investment": 0, "savings": 0, "co2\_reduce": 0, "BENG2": "0", "gas\_savings": 0, "electricity\_savings": 0 }, "roof\_insulation": { "before": { "desc": "Geen", "value": 1, "points": 0 }, "after": { "desc": "Geen", "value": 1, "points": 0 }, "investment": 0, "savings": 0, "co2\_reduce": 0, "BENG2": "0", "gas\_savings": 0, "electricity\_savings": 0 }, "living\_room\_windows": { "before": { "desc": "Enkel glas", "value": 1, "points": 0 }, "after": { "desc": "Enkel glas", "value": 1, "points": 0 }, "investment": 0, "savings": 0, "co2\_reduce": 0, "BENG2": "0", "gas\_savings": 0, "electricity\_savings": 0 }, "installation": { "before": { "desc": "HR combi ketel", "value": 4, "points": 15 }, "after": { "desc": "HR combi ketel", "value": 4, "points": 15 }, "investment": 0, "savings": 0, "co2\_reduce": 0, "BENG2": "0", "gas\_savings": 0, "electricity\_savings": 0 }, "shower": { "before": { "desc": "Geen Douche WTW", "value": 1, "points": null }, "after": { "desc": "Geen Douche WTW", "value": 1, "points": null }, "investment": 0, "savings": 0, "co2\_reduce": 0, "BENG2": "0", "gas\_savings": 0, "electricity\_savings": 0 }, "cooling": { "before": { "desc": "No cooling", "value": 1, "points": null }, "after": { "desc": "No cooling", "value": 1, "points": null }, "investment": 0, "savings": 0, "co2\_reduce": 0, "BENG2": "0", "gas\_savings": 0, "electricity\_savings": 0 }, "ventilation": { "before": { "desc": "Natuurlijke ventilatie", "value": 1, "points": 0 }, "after": { "desc": "Natuurlijke ventilatie", "value": 1, "points": 0 }, "investment": 0, "savings": 0, "co2\_reduce": 0, "BENG2": "0", "gas\_savings": 0, "electricity\_savings": 0 }, "solar\_panels": { "before": { "desc": "0", "value": 0, "points": null }, "after": { "desc": "0", "value": 0, "points": null }, "investment": 0, "savings": 0, "co2\_reduce": 0, "BENG2": "0", "gas\_savings": 0, "electricity\_savings": 0 }, "electric\_cooking": { "before": { "desc": "Gas stove", "value": 1, "points": null }, "after": { "desc": "Gas stove", "value": 1, "points": null }, "investment": 0, "savings": 0, "co2\_reduce": 0, "BENG2": "0", "gas\_savings": 0, "electricity\_savings": 0 } }, "response\_meta": null } \`\`\`
{% endtab %}

{% tab title="400: Bad Request Unsuccessful response" %}
\`\`\` { "detail": "There was an error parsing the body" }

{ "detail": "Address not found in database, combination of zip code and house number" }

{ "detail": "There are no measures to suggest for this combination of input." }

{ "detail": "No housing variant with the selected installation options found with which the goal can be reached within the investment limit. Try again with different inputs and/or different search criteria." } { "detail": "For a given custom cost make sure the parameter 'value' is provided." } { "detail": "For a given improvement cost make sure all four parameters: 'material', 'work', 'saving\_material' and 'saving \_work' are provided." } `</div><div data-gb-custom-block data-tag="tab" data-title='401: Unauthorized No access'>` { 'Output': 'Please use <https://api.altum.ai> or visit <https://mopsus.altum.ai> to make your request.' } `</div><div data-gb-custom-block data-tag="tab" data-title='422: Unprocessable Entity Wrong input format'>` { "detail": \[ { "loc": \[ "string" ], "msg": "string", "type": "string" } ] } `</div><div data-gb-custom-block data-tag="tab" data-title='500: Internal Server Error Service is not available and/or down'>` { "message": "Internal server error" } `</div><div data-gb-custom-block data-tag="tab" data-title='403: Forbidden Forbidden'>` { "message": "Missing Authentication Token" } `</div><div data-gb-custom-block data-tag="tab" data-title='301: Moved Permanently Apartment error'>` { "detail": "Unable to check house." }

````</div></div>##

<mark style="color:green;">`POST`</mark> `https://api.altum.ai/v2/sustainability/apartments/bag` &#x20;

This endpoint allows you to receive response from the Altum AI Sustainability API regarding sustainability and the Ecovalue, using the **bag id** of the object instead of the post code, house number and house addition.

#### Headers

| Name                                        | Type   | Description                                                          |
| ------------------------------------------- | ------ | -------------------------------------------------------------------- |
| Content-Type                                | string | application/json                                                     |
| x-api-key<mark style="color:red;">\*</mark> | string | API Key from Altum. Create one via Mopsus(<https://mopsus.altum.ai>) |

#### Request Body

<table><thead><tr><th width="216">Name</th><th width="117.99993896484375">Type</th><th width="282.2220458984375">Description</th><th>Default</th></tr></thead><tbody><tr><td>bag_id<mark style="color:red;">*</mark></td><td>string</td><td>16 digits BAG_ID</td><td></td></tr><tr><td>position</td><td>integer</td><td>1 = 'Corner ground floor'<br>2 = 'In between ground floor'<br>3 = 'Corner mid floor'<br>4 = 'In between mid floor'<br>5 = 'Corner top floor'<br>6 = 'In between top floor'<br>7 = 'Entire top floor'</td><td>3</td></tr><tr><td>floors</td><td>integer</td><td><p>Does the unit has one or more floors?</p><p>1 = 'Single'</p><p>2 = 'Multiple'              </p></td><td>1</td></tr><tr><td>back_facade</td><td>boolean</td><td><p>Does the unit has as back facade?</p><p>false = no</p><p>true = yes</p></td><td>false</td></tr><tr><td>build_year</td><td>integer</td><td>build year of the property</td><td></td></tr><tr><td>inner_surface_area</td><td>float</td><td>square meter surface area</td><td></td></tr><tr><td>sub_type</td><td>integer</td><td>1 = 'Galerijflat'<br>2 = 'Portiekflat'<br>3 = 'Corridorflat'<br>4 = 'Maisonnette'<br>5 = 'Benedenwoning'<br>6 = 'Bovenwoning'<br>7 = 'Portiekwoning</td><td></td></tr><tr><td>wall_insulation</td><td>integer</td><td>see <a href="measures">Measures</a></td><td></td></tr><tr><td>floor_insulation</td><td>integer</td><td>see <a href="measures">Measures</a></td><td></td></tr><tr><td>roof_insulation</td><td>integer</td><td>see <a href="measures">Measures</a></td><td></td></tr><tr><td>living_room_windows</td><td>integer</td><td>see <a href="measures">Measures</a></td><td></td></tr><tr><td>bedroom_windows</td><td>integer</td><td>see <a href="measures">Measures</a></td><td></td></tr><tr><td>installation</td><td>integer</td><td>see <a href="measures">Measures</a></td><td></td></tr><tr><td>shower</td><td>integer</td><td>see <a href="measures">Measures</a></td><td></td></tr><tr><td>ventilation</td><td>integer</td><td>see <a href="measures">Measures</a></td><td></td></tr><tr><td>solar_panels </td><td>list</td><td>see <a href="measures">Measures</a></td><td><br></td></tr><tr><td>cooling</td><td>integer</td><td><p>Is there a cooling system present?</p><p>1 = No cooling</p><p>2 = Air conditioning unit, direct air cooling     </p><p>Default</p></td><td>1</td></tr><tr><td>electric_cooking</td><td>integer</td><td><p>What is used for cooking?</p><p>1 = Gas stove</p><p>2 = Electric stove</p></td><td><p>2 if Installation in [6,7],</p><p>Else 1</p><p><br></p></td></tr><tr><td>gas_usage</td><td>float</td><td>overwrites estimated yearly  gas consumption in m3</td><td></td></tr><tr><td>heat_usage</td><td>float</td><td>overwrites specified yearly heat consumption in GJ.</td><td></td></tr><tr><td>electricity_usage</td><td>float </td><td>overwrites specified yearly electricity consumption in KWh</td><td></td></tr><tr><td>electricity_generation</td><td>float</td><td><p>total yearly electricity yield of solar panels in kWh.</p><p>Net usage = consumption - yield</p></td><td></td></tr><tr><td>inhabitants</td><td>integer</td><td>number of people living in the house</td><td></td></tr><tr><td>minimum_solar_panels</td><td>integer</td><td>The minimum number of new panels to be placed</td><td></td></tr><tr><td>search_criteria</td><td>integer</td><td><p>1 = lowest investment costs</p><p>2 = lowest energy costs</p><p>3 = highest return on investment</p><p>4 = lowest beng2 (highest label)</p></td><td>3</td></tr><tr><td>max_investment</td><td>integer</td><td>maximum investment, use 0 for unlimited</td><td></td></tr><tr><td>target_label</td><td>string</td><td>desired target energy label - default is energy label A or D</td><td></td></tr><tr><td>natural_gas</td><td>integer</td><td>1 = no filter<br>2 = natural gas mandatory<br>3 = natural gas free</td><td></td></tr><tr><td>heat_pump_allowed</td><td>boolean</td><td><p>false = not allowed</p><p>true = allowed</p></td><td>false</td></tr><tr><td>district_heating_allowed</td><td>boolean</td><td><p>false = not allowed</p><p>true = allowed</p></td><td>false</td></tr><tr><td>heatpump_insulation_req</td><td>integer</td><td><p>1 = no minimum requirement</p><p>2 = envelope, including glass min 2</p><p>3 = house meets “standaard”</p></td><td>3</td></tr><tr><td>lock_measures</td><td>array</td><td>lock measures excluded from calculation </td><td></td></tr><tr><td>exclude_vat</td><td>boolean</td><td><p>Prices are with or without VAT included.</p><p>false = VAT included</p><p>true = VAT excluded</p></td><td>false</td></tr><tr><td>cost_indicators</td><td>dict</td><td>see <a href="cost-table-input">Cost indicators</a></td><td></td></tr><tr><td>wall_filters</td><td>dict</td><td>see <a href="measure-filters">Measure filters</a></td><td></td></tr><tr><td>roof_filters</td><td>dict</td><td>see <a href="measure-filters">Measure filters</a></td><td></td></tr><tr><td>floor_filters</td><td>dict</td><td>see <a href="measure-filters">Measure filters</a></td><td></td></tr><tr><td>fetch_definitive_label</td><td>integer</td><td>activate fetching of definitive label from EP-online with 1</td><td>0</td></tr><tr><td>energylabel_strict</td><td>integer</td><td>enable strict search of results within target_label with 1</td><td>0</td></tr><tr><td>eco_delta</td><td>boolean</td><td>disable fetching of ecovalue with 0</td><td>1</td></tr></tbody></table><div data-gb-custom-block data-tag="hint" data-style='info'>*<mark style="color:red;">**Specifying both the position and the floors of the apartment is recommended for optimal results.**</mark>*</div><div data-gb-custom-block data-tag="tabs"><div data-gb-custom-block data-tag="tab" data-title='200: OK Successful response'>```
{
  "tip": null,
  "warnings": [
    {
      "code": "11",
      "description": "Current building with energy label C already meets default target_label A."
    }
  ],
  "address": {
    "housenumber": 227,
    "postcode": "3024XL",
    "houseaddition": "B",
    "street": "Willem Buytewechstraat",
    "city": "Rotterdam",
    "location": {
      "lat": 51.90761152288453,
      "lon": 4.451398538183942
    }
  },
  "building": {
    "build_year": 1927,
    "inner_surface": 74,
    "floor_surface": 0,
    "roof_surface": 0,
    "wall_surface": 50.2,
    "glass_living_room_surface": 13.4,
    "number_of_doors": 5,
    "floors": "Single",
    "main_type": "Appartement",
    "sub_type": null
  },
  "label": {
    "current": "C",
    "potential": "B"
  },
  "provided_label": {
    "temporary": "G",
    "definitive": null,
    "definitive_type": null,
    "definitive_validity": null
  },
  "BENG2": {
    "current": 245,
    "potential": 181
  },
  "meta": null,
  "CO2": {
    "current": 2357,
    "potential": 2141
  },
  "financial": {
    "total_investment": 2309,
    "total_saving": 164,
    "months_to_pay_off": 168,
    "eco_value": 0,
    "savings_monthly": 14,
    "energy_cost_monthly": {
      "current": 175,
      "potential": 161
    },
    "energy_cost_yearly": {
      "current": 2096,
      "potential": 1932
    },
    "return_on_investment": "0.52%",
    "loan": {
      "monthly_payment": 10
    }
  },
  "gas_usage": {
    "current": 888,
    "potential": 769
  },
  "electricity_usage": {
    "current": 2262,
    "potential": 2255
  },
  "city_heating_usage": {
    "current": 0,
    "potential": 0
  },
  "solar_panel_yield": {
    "current": 0,
    "potential": 0
  },
  "energy_prices": {
    "variable_gas_price": 1.359,
    "variable_electricity_price": 0.27,
    "solarpanel_watt_peak_per_m2": 250
  },
  "solar_panels": {
    "current": null,
    "potential": null
  },
  "measures": {
    "wall_insulation": {
      "before": {
        "desc": "Geen",
        "value": 1,
        "points": 2
      },
      "after": {
        "desc": "Goed",
        "value": 3,
        "points": 5
      },
      "investment": 2309,
      "savings": 164,
      "co2_reduce": 215,
      "BENG2": "100",
      "gas_savings": 119,
      "electricity_savings": 7
    },
    "floor_insulation": {
      "before": {
        "desc": "Geen",
        "value": 1,
        "points": 0
      },
      "after": {
        "desc": "Geen",
        "value": 1,
        "points": 0
      },
      "investment": 0,
      "savings": 0,
      "co2_reduce": 0,
      "BENG2": "0",
      "gas_savings": 0,
      "electricity_savings": 0
    },
    "roof_insulation": {
      "before": {
        "desc": "Geen",
        "value": 1,
        "points": 0
      },
      "after": {
        "desc": "Geen",
        "value": 1,
        "points": 0
      },
      "investment": 0,
      "savings": 0,
      "co2_reduce": 0,
      "BENG2": "0",
      "gas_savings": 0,
      "electricity_savings": 0
    },
    "living_room_windows": {
      "before": {
        "desc": "Enkel glas",
        "value": 1,
        "points": 0
      },
      "after": {
        "desc": "Enkel glas",
        "value": 1,
        "points": 0
      },
      "investment": 0,
      "savings": 0,
      "co2_reduce": 0,
      "BENG2": "0",
      "gas_savings": 0,
      "electricity_savings": 0
    },
    "installation": {
      "before": {
        "desc": "HR combi ketel",
        "value": 4,
        "points": 15
      },
      "after": {
        "desc": "HR combi ketel",
        "value": 4,
        "points": 15
      },
      "investment": 0,
      "savings": 0,
      "co2_reduce": 0,
      "BENG2": "0",
      "gas_savings": 0,
      "electricity_savings": 0
    },
    "shower": {
      "before": {
        "desc": "Geen Douche WTW",
        "value": 1,
        "points": null
      },
      "after": {
        "desc": "Geen Douche WTW",
        "value": 1,
        "points": null
      },
      "investment": 0,
      "savings": 0,
      "co2_reduce": 0,
      "BENG2": "0",
      "gas_savings": 0,
      "electricity_savings": 0
    },
    "cooling": {
      "before": {
        "desc": "No cooling",
        "value": 1,
        "points": null
      },
      "after": {
        "desc": "No cooling",
        "value": 1,
        "points": null
      },
      "investment": 0,
      "savings": 0,
      "co2_reduce": 0,
      "BENG2": "0",
      "gas_savings": 0,
      "electricity_savings": 0
    },
    "ventilation": {
      "before": {
        "desc": "Natuurlijke ventilatie",
        "value": 1,
        "points": 0
      },
      "after": {
        "desc": "Natuurlijke ventilatie",
        "value": 1,
        "points": 0
      },
      "investment": 0,
      "savings": 0,
      "co2_reduce": 0,
      "BENG2": "0",
      "gas_savings": 0,
      "electricity_savings": 0
    },
    "solar_panels": {
      "before": {
        "desc": "0",
        "value": 0,
        "points": null
      },
      "after": {
        "desc": "0",
        "value": 0,
        "points": null
      },
      "investment": 0,
      "savings": 0,
      "co2_reduce": 0,
      "BENG2": "0",
      "gas_savings": 0,
      "electricity_savings": 0
    },
    "electric_cooking": {
      "before": {
        "desc": "Gas stove",
        "value": 1,
        "points": null
      },
      "after": {
        "desc": "Gas stove",
        "value": 1,
        "points": null
      },
      "investment": 0,
      "savings": 0,
      "co2_reduce": 0,
      "BENG2": "0",
      "gas_savings": 0,
      "electricity_savings": 0
    }
  },
  "response_meta": null
}
```</div><div data-gb-custom-block data-tag="tab" data-title='400: Bad Request Unsuccessful response'>```
{
  "detail": "There was an error parsing the body"
}

{
  "detail": "Address not found in database, combination of zip code and house number"
}

{
  "detail": "There are no measures to suggest for this combination of input."
}

{
  "detail": "No housing variant with the selected installation options found with which the goal can be reached within the investment limit. Try again with different inputs and/or different search criteria."
}
```</div><div data-gb-custom-block data-tag="tab" data-title='401: Unauthorized No access'>```
{
    'Output': 'Please use https://api.altum.ai or visit https://mopsus.altum.ai to make your request.'
}
```</div><div data-gb-custom-block data-tag="tab" data-title='422: Unprocessable Entity Wrong input format'>```
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
```</div><div data-gb-custom-block data-tag="tab" data-title='500: Internal Server Error Service is not available and/or down'>```
{
	"message": "Internal server error"
}
```</div><div data-gb-custom-block data-tag="tab" data-title='403: Forbidden Forbidden'>```
{
	"message": "Missing Authentication Token"
}
```</div><div data-gb-custom-block data-tag="tab" data-title='301: Moved Permanently error'>```
{
    "detail": "Unable to check house."
}
```</div></div>

## Request body

#### Example requests

````

{ "postcode": "3024XL", "housenumber":227, "houseaddition": "B", "position": 3, "floors": 1 }

```
```

{ "bag\_id": "0599010000202307", "position": 3, "floors": 1 }

```
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.altum.ai/verduurzamen/verduurzaming-api-v2-appartementen/authenticatie-invoer-en-resultaat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
