# House types

**Possible house-type inputs**

*Update August 2022*

\['Vrijstaande woning', '2 onder 1 kap woning', 'Geschakelde 2 onder 1 kapwoning', 'Geschakelde woning', 'Tussen/rijwoning', 'Hoekwoning', 'Eindwoning', 'Galerijflat', 'Portiekflat', 'Corridorflat', 'Maisonnette', 'Benedenwoning', 'Bovenwoning', 'Portiekwoning']

#### Example request for updating the house type in the API call

```
{
"postcode": "1234AB",
"housenumber": 1,
"housetype": "Vrijstaande woning"
}
```

### Mapping house types for the Sustainability API house\_type input

The [Sustainability API](https://docs.altum.ai/english/sustainability/sustainability-api) takes in five types of house type. Using the AVM API output of house type requires the following mapping:

*AVM API output = Sustainability API input*

* '2 onder 1 kap woning', 'Geschakelde 2 onder 1 kapwoning = 1
* 'Hoekwoning', 'Eindwoning = 2
* 'Geschakelde woning', 'Tussen/rijwoning' = 3&#x20;
* 'Vrijstaande woning' = 4&#x20;
* 'Galerijflat', 'Portiekflat', 'Corridorflat', 'Maisonnette', 'Benedenwoning', 'Bovenwoning', 'Portiekwoning' = 5
