Authentication, input and response
Determine the estimated current or potential NTA 8800 energy label
POST
https://api.altum.ai/energylabel
Headers
Request Body
{
"Output": {
"post_code": "2771DS",
"house_number": 87,
"house_addition": null,
"build_year": 1961,
"inner_surface_area": 151,
"house_type": "vrijstaand",
"installation": 4,
"wall_insulation": 2,
"roof_insulation": 2,
"floor_insulation": 2,
"living_room_windows": 2,
"ventilation": 1,
"bedroom_windows": 2,
"shower": 0,
"solar_panels": 15,
"solarpanel_watt_peak": 300,
"CO2": 3084,
"definitive_energy_label": "C",
"definitive_energy_label_type": "NEN7120",
"definitive_energy_label_validity_date": "2030-12",
"current_estimated_energy_label": "B",
"current_estimated_BENG2_score": 167,
"estimated_gas_usage": 3108,
"estimated_energy_usage": 760
}
}
{
"detail": [
{
"loc": [
"body",
"postcode"
],
"msg": "string does not match regex \"^(?!1000|1001|1002|1003|1004|1005|1006|1007|1008|1009|1010)[1-9][0-9]{3}[A-Z]{2}$\"",
"type": "value_error.str.regex",
"ctx": {
"pattern": "^(?!1000|1001|1002|1003|1004|1005|1006|1007|1008|1009|1010)[1-9][0-9]{3}[A-Z]{2}$"
}
}
]
}
{
"detail": "Address not found in database, combination of zip code and house number."
}
{
"detail": "No measures suggested for this combination of input."
}
{
"detail": "Code used in exclude_measure parameter is invalid"
}
{
"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": "Gevelisolatie code ongeldig"
}
{
"detail": "Unable to check apartment."
}
{
"detail": "The house type of the given house was not found in database. Use house_type parameter instead."
}
{
"message": "Internal server error"
}
{
"detail": "Could not find any object with your BAG ID."
}
{
'Output': 'Please use https://api.altum.ai or visit https://mopsus.altum.ai to make your request.'
}
{
"message": "Missing Authentication Token"
}
Determine the estimated current or potential NTA 8800 energy label
POST
https://api.altum.ai/energylabel/bag
Use BAG_id as alternative to post_code, house_number and house_addition. All other inputs and outputs are similar.
Headers
Request Body
{
"Output": {
"post_code": "2771DS",
"house_number": 87,
"house_addition": null,
"build_year": 1961,
"inner_surface_area": 151,
"house_type": "vrijstaand",
"installation": 4,
"wall_insulation": 2,
"roof_insulation": 2,
"floor_insulation": 2,
"living_room_windows": 2,
"ventilation": 1,
"bedroom_windows": 2,
"shower": 0,
"solar_panels": 15,
"solarpanel_watt_peak": 300,
"CO2": 3084,
"definitive_energy_label": "C",
"definitive_energy_label_type": "NEN7120",
"definitive_energy_label_validity_date": "2030-12",
"current_estimated_energy_label": "B",
"current_estimated_BENG2_score": 167,
"estimated_gas_usage": 3108,
"estimated_energy_usage": 760
}
}
{
"detail": [
{
"loc": [
"body",
"postcode"
],
"msg": "string does not match regex \"^(?!1000|1001|1002|1003|1004|1005|1006|1007|1008|1009|1010)[1-9][0-9]{3}[A-Z]{2}$\"",
"type": "value_error.str.regex",
"ctx": {
"pattern": "^(?!1000|1001|1002|1003|1004|1005|1006|1007|1008|1009|1010)[1-9][0-9]{3}[A-Z]{2}$"
}
}
]
}
{
"detail": "Address not found in database, combination of zip code and house number."
}
{
"detail": "No measures suggested for this combination of input."
}
{
"detail": "Code used in exclude_measure parameter is invalid"
}
{
"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": "Gevelisolatie code ongeldig"
}
{
"detail": "Unable to check apartment."
}
{
"detail": "The house type of the given house was not found in database. Use house_type parameter instead."
}
{
"message": "Internal server error"
}
{
"detail": "Could not find any object with your BAG ID."
}
{
'Output': 'Please use https://api.altum.ai or visit https://mopsus.altum.ai to make your request.'
}
{
"message": "Missing Authentication Token"
}
Request body
Example requests
{
"post_code": "4709BM",
"house_number": 1,
"house_addition": "g",
"installation": 1,
"wall_insulation": 3,
"roof_insulation": 2,
"floor_insulation": 2,
"living_room_windows": 3
}
{
"bag_id": "0637010000264937",
"installation": 1,
"wall_insulation": 3,
"roof_insulation": 2,
"floor_insulation": 2,
"living_room_windows": 3
}
Last updated