> For the complete documentation index, see [llms.txt](https://docs.altum.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.altum.ai/verduurzamen/nta-8800-energielabel-v2-api/appartementen/authenticatie-invoer-en-resultaat.md).

# Authenticatie, invoer en resultaat

## Bepaal het geschatte huidige of potentiële NTA 8800-energielabel.

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

#### Headers

| Naam                                        | Type   | Beschrijving                                                                    |
| ------------------------------------------- | ------ | ------------------------------------------------------------------------------- |
| x-api-key<mark style="color:red;">\*</mark> | string | Unieke API-sleutel van Altum. Maak er een via Mopsus(<https://mopsus.altum.ai>) |
| Content-Type                                | string | application/json                                                                |

#### Request Body

<table><thead><tr><th width="188">Veld</th><th width="131">Type</th><th width="203">Omschrijving</th><th>Voorbeeld/Standaard</th></tr></thead><tbody><tr><td>postcode<mark style="color:red;">*</mark></td><td>string</td><td>Zes-cijferige postcode</td><td>1234AB</td></tr><tr><td>housenumber<mark style="color:red;">*</mark></td><td>integer</td><td>Huisnummer</td><td>1</td></tr><tr><td>houseaddition</td><td>string</td><td>Huisnummertoevoeging</td><td>A</td></tr><tr><td>position</td><td>integer</td><td><code>1</code> = hoekappartement op de begane grond<br><code>2</code> = tussenappartement op de begane grond<br><code>3</code> = hoekappartement op een tussenverdieping<br><code>4</code> = tussenappartement op een tussenverdieping<br><code>5</code> = hoekappartement op de bovenste verdieping<br><code>6</code> = tussenappartement op de bovenste verdieping<br><code>7</code> = volledige bovenste verdieping (penthouse)</td><td>Standaard: 1</td></tr><tr><td>floors</td><td>integer</td><td><p>Heeft de woning één of meerdere woonlagen?</p><p><code>1</code> = één woonlaag<br><code>2</code> = meerdere woonlagen</p></td><td>Standaard: 1</td></tr><tr><td>back_facade</td><td>boolean</td><td><p>Heeft de woning een achtergevel?</p><p><code>false</code> = nee</p><p><code>true</code> = ja</p></td><td>Standaard: false</td></tr><tr><td>build_year</td><td>integer</td><td>Bouwjaar</td><td>1960</td></tr><tr><td>inner_surface_area</td><td>float</td><td>Woonoppervlakte (m²)</td><td>70</td></tr><tr><td>apartment_type</td><td>integer</td><td><code>1</code> = 'Galerijflat'<br><code>2</code> = 'Portiekflat'<br><code>3</code> = 'Maisonnette'<br><code>4</code> = 'Benedenwoning'<br><code>5</code> = 'Bovenwoning'<br><code>6</code> = 'Portiekwoning'</td><td>2</td></tr><tr><td>wall_insulation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2/maatregelen">Maatregelen</a></td><td>2</td></tr><tr><td>floor_insulation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2/maatregelen">Maatregelen</a></td><td>2</td></tr><tr><td>roof_insulation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2/maatregelen">Maatregelen</a></td><td>2</td></tr><tr><td>living_room_windows</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2/maatregelen">Maatregelen</a></td><td>2</td></tr><tr><td>installation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2/maatregelen">Maatregelen</a></td><td>Standaard: 4</td></tr><tr><td>shower</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2/maatregelen">Maatregelen</a></td><td>Standaard: 1</td></tr><tr><td>cooling</td><td>integer</td><td><p>Is er een koelsysteem aanwezig?</p><p><code>1</code> = geen koeling</p><p><code>2</code> = airco-unit, directe luchtkoeling</p></td><td>Standaard: 1</td></tr><tr><td>ventilation</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2/maatregelen">Maatregelen</a></td><td>1</td></tr><tr><td>electric_cooking</td><td>integer</td><td><p>Waar wordt mee gekookt?</p><p><code>1</code> = gasfornuis </p><p><code>2</code> = elektrisch fornuis</p></td><td>Standaard: 2 als <code>installation</code> gelijk is aan <code>6</code> of <code>7</code>, anders <code>1</code>.</td></tr><tr><td>inhabitants</td><td>integer</td><td>Aantal bewoners van de woning</td><td>Standaard: 3</td></tr><tr><td>solar_panels</td><td>list</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2/maatregelen">Maatregelen</a></td><td></td></tr><tr><td>number_of_solar_panels</td><td>integer</td><td>Bekijk <a href="https://docs.altum.ai/verduurzamen/verduurzaming-api-v2/maatregelen">Maatregelen</a></td><td></td></tr></tbody></table>

{% hint style="info" %}
*<mark style="color:red;">**Voor optimale resultaten raden we aan om zowel de positie als het aantal woonlagen van het appartement mee te geven.**</mark>*
{% endhint %}

## Verschillen ten opzichte van de Woningen-endpoint

* `apartment_type` in plaats van `house_type`
* `roof_insulation` in plaats van `sloped_roof_insulation` en `flat_roof_insulation`
* Geen `bedroom_windows`
* `apartment_type` is minder bepalend; de positie van het appartement en het aantal woonlagen zijn belangrijker.

## Request body

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

## Response Status Codes

{% tabs %}
{% tab title="200: OK Successful response" %}

```
{
  "Output": {
    "warnings": [],
    "tip": null,
    "postcode": "3024XL",
    "housenumber": 227,
    "houseaddition": "B",
    "build_year": 1927,
    "inner_surface_area": 74,
    "apartment_type": "Portiekwoning",
    "installation": 4,
    "wall_insulation": 1,
    "roof_insulation": null,
    "floor_insulation": null,
    "living_room_windows": 2,
    "shower": 1,
    "ventilation": 1,
    "cooling": 1,
    "electric_cooking": 1,
    "solar_panels": null,
    "CO2": 2208,
    "definitive_energy_label": null,
    "definitive_energy_label_type": null,
    "definitive_energy_label_validity_date": null,
    "definitive_BENG2_score": null,
    "current_estimated_energy_label": "C",
    "current_estimated_BENG2_score": 221,
    "estimated_gas_usage": 805,
    "estimated_energy_usage": 2262,
    "estimated_city_heating_usage": 0,
    "solar_panel_yield": 0,
    "measures_method": 2,
    "accuracy_indicator": 3,
    "response_meta": null
  }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.altum.ai/verduurzamen/nta-8800-energielabel-v2-api/appartementen/authenticatie-invoer-en-resultaat.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
