Download OpenAPI specification:
Bienvenue dans la documentation de l'API kelvin. Cette API est conçue pour évaluer et améliorer la performance énergétique des propriétés.
L'API kelvin vous permet de créer des simulations pour évaluer la performance énergétique d'un bien immobilier. Elle vous aide également à proposer des plans de travaux personnalisés pour optimiser l'efficacité énergétique de ces biens.
Pour créer une simulation, il faut déterminer la latitude, la longitude et l'identifiant d'interopérabilité (ban_id) de la propriété. Une carte interactive est disponible pour faciliter cette tâche: L'iframe de sélection de polygone. Cette carte permet aux utilisateurs de sélectionner visuellement leur propriété sur une carte. Vous pouvez intégrer ce composant dans vos applications en suivant la documentation de l'iframe de sélection de polygone.
Utilisez cette documentation pour explorer les endpoints disponibles, comprendre les paramètres requis, et découvrir comment intégrer efficacement l'API dans votre système.
Cet endpoint permet de rechercher des DPE par clé d'interopérabilité ou par numéro de DPE.
Fonctionnalités : Il est obligatoire de fournir au moins un des deux paramètres "ban_id" ou "dpe_id".
Filtres : En plus des paramètres principaux, cet endpoint permet d'appliquer des filtres supplémentaires :
Réponse : En cas de succès, l'endpoint retourne une liste de DPE correspondant aux critères de recherche spécifiés.
dpe_id | string Example: dpe_id=2331E2555868X |
building_type | string Example: building_type=house Le type de bâtiment:
|
ban_id | string Example: ban_id=31157_0790_00009 |
surface | number Example: surface=100 |
report_date | string Example: report_date=2024-01-01 |
energy_class | string Example: energy_class=E |
[- {
- "dpe_id": "2331E2555868X",
- "building_type": "house",
- "ban_id": "31157_0790_00009",
- "energy_class": "A",
- "emission_class": "B",
- "surface": 100,
- "report_date": "2024-05-10",
- "address": "9 Rue du Vivier, Cugnaux, 31270",
- "address_complement": "Escalier: Etage 3; Porte 322, Lot: 10",
- "dpe_version": "2.4"
}
]
Endpoint pour lister les simulations.
status | string Example: status=with_contact_details Filtrer les simulations avec des informations de contact:
|
page | integer Example: page=1 |
{- "data": [
- {
- "id": "1fh9vrmd2c",
- "created_at": "2024-10-08T10:00:54Z",
- "team_id": "4732fnd4mt",
- "source": "api",
- "tracking_context": {
- "utm_source": "string",
- "utm_medium": "string",
- "utm_campaign": "string",
- "utm_content": "string",
- "utm_term": "string",
- "gad_source": "string",
- "gclid": "string",
- "fbclid": "string",
- "cuid": "string",
- "referer": "string",
- "gbraid": "string",
- "msclkid": "string",
- "krid": "string",
- "krsrc": "string",
- "ksid": "string"
}, - "client": {
- "first_name": "Jean",
- "last_name": "Dupont",
- "email": "jean.dupont@example.com",
- "phone_number": "+33600112233",
- "ownership_status": "Propriétaire occupant",
- "main_property": "true",
- "number_people": 4,
- "fiscal_department": "50",
- "revenues": "34948 - 44802",
- "mindset": "Devis déjà obtenus",
- "household_level": "Très modeste",
- "household_color": "Bleu"
}, - "housing": {
- "kind": "apartment",
- "latitude": 48.8487743,
- "longitude": 2.328388,
- "address": "10 rue du Regard, 75006, Paris",
- "address_parts": {
- "street_number": "10",
- "address_line_1": "rue du Regard",
- "address_line_2": "Appartement 2",
- "city": "Paris",
- "postal_code": "75006",
- "country_number": 250,
- "latitude": 48.8487743,
- "longitude": 2.328388
}, - "ban_id": "75106_8092_00010",
}, - "initial_state": {
- "dpe_class": "B",
- "confidence_score": 0.85,
- "annual_energy_cost_range": {
- "min": 500,
- "max": 1200
}, - "position_percentage_neighborhood": 0.75,
- "energy_loss_percentage": {
- "walls": 0.15,
- "openings": 0.2,
- "low_floor": 0.3,
- "high_floor": 0.35
}, - "close_to_historical_monument": false,
- "living_area": 120,
- "exterior_walls_surface": 100.23,
- "house_number_of_levels": 1,
- "shared_walls": true,
- "wall_material": "brick",
- "construction_year": 1985,
- "number_of_windows": 8,
- "generator_type": "heat_pump",
- "generator_energy": "electricity",
- "hot_water_type": "heat_pump",
- "hot_water_energy": "electricity",
- "u_walls": "very_good",
- "u_windows": "middle_class",
- "u_high_floor": "very_good",
- "u_low_floor": "very_good",
- "vents_type": "electric",
- "has_vents": true
}, - "projected_state": {
- "renovation_plans": [
- {
- "dpe_after_renovation": "B",
- "yearly_energy_savings": 600,
- "yearly_energy_cost": 12000,
- "budget": 12000,
- "subsidies": 1200,
- "renovation_plan": {
- "vents": {
- "id": "vmc_sf_hygro_b",
- "label": "Installation d'une VMC hygro B",
- "quantity": 0
}, - "walls": {
- "id": "add_10cm_th32_inside",
- "label": "Rajouter équivalent 10 cm Th32 à l'intérieur",
- "quantity": 0
}, - "windows": {
- "id": "passive_windows_tv_4_16_4_16_4_itr",
- "label": "Menuiserie passive avec TV, 4/16/4/16/4, ITR",
- "quantity": 0
}, - "low_floor": {
- "id": "underfloor_insulation_14cm_th35",
- "label": "Isolation en sous-face avec 14 cm Th35",
- "quantity": 0
}, - "high_floor": {
- "id": "insulation_rampants_12cm_lm_between_rafters_18cm_fdb",
- "label": "Isolation des rampants avec 12 cm LM entre chevrons + 18 cm FdB",
- "quantity": 0
}, - "generator_type": {
- "id": "double_service_heat_pump",
- "label": "Installation d'une pompe à chaleur (air/eau)",
- "quantity": 0
}, - "generator_energy": {
- "id": "gas",
- "label": "Gaz"
}, - "hot_water_type": {
- "id": "electric_water_heater",
- "label": "Installation d'un ballon électrique"
}, - "hot_water_energy": {
- "id": "gas",
- "label": "Gaz"
}
}
}
]
}
}
], - "meta": {
- "total_pages": 0,
- "current_page": 0,
- "total_count": 0
}
}
Endpoint pour créer une simulation à partir d'un ban_id et des coordonnées GPS.
latitude required | number |
longitude required | number |
ban_id | string |
{- "latitude": 43.53718,
- "longitude": 1.337797,
- "ban_id": "31157_0790_00009"
}
{- "simulation_id": "hjjcm1qp28"
}
Les informations de la propriété.
simulation_id required | string Example: hjjcm1qp28 L'identifiant de simulation renvoyé par l'appel au endpoint créer |
{- "status": "completed",
- "housing": {
- "housing_type": "apartment",
- "dpe_id": "2331E2555868X",
- "surface": 100,
- "floor_level": "ground",
- "number_of_exterior_wall": 1
}, - "address": {
- "street_number": "123",
- "address_line_1": "Rue de la Paix",
- "address_line_2": "Apt 4B",
- "city": "Paris",
- "postal_code": "75000",
- "country_number": 250,
- "latitude": 43.53718,
- "longitude": 1.337797
}
}
Endpoint pour mettre à jour les informations de la propriété
simulation_id required | string Example: hjjcm1qp28 L'identifiant de simulation renvoyé par l'appel au endpoint créer |
dpe_id | string Le numéro unique du DPE. |
housing_type | string Le type de propriété (house or apartment). |
surface | integer La surface de la propriété en m2. Obligatoire si le housing_type est apartment. |
floor_level | string La position da le propriété dans l'immeuble. Obligatoire si le housing_type est apartment. |
number_of_exterior_wall | integer Le nombre de murs donnant sur l'extérieur. Obligatoire si le housing_type est appartement. |
{- "dpe_id": "2331E2555868X",
- "housing_type": "house",
- "surface": 100,
- "floor_level": "ground",
- "number_of_exterior_wall": 1
}
{- "error": "Housing type is missing or invalid"
}
Les informations de l'état initial.
simulation_id required | string Example: hjjcm1qp28 L'identifiant de simulation renvoyé par l'appel au endpoint créer |
{- "status": "completed",
- "initial_state": {
- "dpe_class": "B",
- "confidence_score": 0.85,
- "annual_energy_cost_range": {
- "min": 500,
- "max": 1200
}, - "position_percentage_neighborhood": 0.75,
- "energy_loss_percentage": {
- "walls": 0.15,
- "openings": 0.2,
- "low_floor": 0.3,
- "high_floor": 0.35
}, - "close_to_historical_monument": false,
- "living_area": 120,
- "exterior_walls_surface": 100.23,
- "house_number_of_levels": 1,
- "shared_walls": true,
- "wall_material": "brick",
- "construction_year": 1985,
- "number_of_windows": 8,
- "generator_type": "heat_pump",
- "generator_energy": "electricity",
- "hot_water_type": "heat_pump",
- "hot_water_energy": "electricity",
- "u_walls": "very_good",
- "u_windows": "middle_class",
- "u_high_floor": "very_good",
- "u_low_floor": "very_good",
- "vents_type": "electric",
- "has_vents": true
}
}
Endpoint pour mettre à jour les informations de l'état initial
simulation_id required | string Example: hjjcm1qp28 L'identifiant de simulation renvoyé par l'appel au endpoint créer |
housing_type | string Enum: "house" "apartment" Type de logement (maison ou appartement). |
close_to_historical_monument | boolean Proximité d'un monument historique. |
floor_level | string Niveau de l'étage (rez-de-chaussée, intermédiaire, dernier étage). |
living_area | integer La surface habitable en mètres carrés. |
number_of_exterior_wall | integer Nombre de murs extérieurs. |
house_number_of_levels | integer Le nombre de niveaux dans la maison. |
shared_walls | boolean Présence de murs mitoyens. |
object L'année de construction du bâtiment. | |
recently_renovated | Array of strings unique Items Enum: "windows" "roof" "attic" "walls" "lower_floor" "vents" "generator" "hot_water" Éléments récemment rénovés. |
wall_material | string Enum: "aggregate" "others" "concrete" "wood" "brick" "millstone" "stone" Le matériau principal des murs. |
high_floor_type | string Enum: "roof_terrace" "not_heated_space" "office" "apartment" "converted_attic" "lost_attic" "unknown" Le type de plancher haut. |
low_floor_type | string Enum: "slab_on_grade" "not_heated_space" "office" "apartment" "crawl_space" "unknown" Le type de plancher bas. |
windows | string Enum: "high_class" "middle_class" "low_class" Le type de fenêtre. |
number_of_windows | integer Le nombre total de fenêtres. |
generator_energy | string Enum: "gas" "electricity" "fuel" "urban_heating_or_biomass" Le type d'énergie utilisé par le générateur de chauffage. |
generator_type | string Enum: "boiler" "district_heating_network" "electric" "heat_pump" Le type d'énergie utilisé par le générateur de chauffage. |
hot_water_energy | string Enum: "gas" "electricity" "fuel" "urban_heating_or_biomass" "wood" Le type d'énergie utilisé pour l'eau chaude sanitaire. |
hot_water_type | string Enum: "hot_water_tank" "boiler" "water_heater" "heat_pump" "district_heating_network" Le type de système de production d'eau chaude sanitaire. |
has_vents | boolean Présence d'un système de ventilation. |
{- "housing_type": "apartment",
- "close_to_historical_monument": true,
- "floor_level": "ground",
- "living_area": 120,
- "number_of_exterior_wall": 3,
- "house_number_of_levels": 1,
- "shared_walls": true,
- "construction_year": {
- "range": "exact_date",
- "exact_date": 1985
}, - "recently_renovated": [
- "windows",
- "attic"
], - "wall_material": "brick",
- "high_floor_type": "roof_terrace",
- "low_floor_type": "slab_on_grade",
- "windows": "middle_class",
- "number_of_windows": 8,
- "generator_energy": "electricity",
- "generator_type": "heat_pump",
- "hot_water_energy": "electricity",
- "hot_water_type": "heat_pump",
- "has_vents": true
}
{- "error": "Generator type n'est pas valide"
}
Les informations de l'état projeté.
simulation_id required | string Example: hjjcm1qp28 L'identifiant de simulation renvoyé par l'appel au endpoint créer |
{- "status": "completed",
- "projected_state": {
- "renovation_plans": [
- {
- "dpe_after_renovation": "B",
- "yearly_energy_savings": 600,
- "yearly_energy_cost": 12000,
- "budget": 12000,
- "subsidies": 1200,
- "renovation_plan": {
- "vents": {
- "id": "vmc_sf_hygro_b",
- "label": "Installation d'une VMC hygro B",
- "quantity": 0
}, - "walls": {
- "id": "add_10cm_th32_inside",
- "label": "Rajouter équivalent 10 cm Th32 à l'intérieur",
- "quantity": 0
}, - "windows": {
- "id": "passive_windows_tv_4_16_4_16_4_itr",
- "label": "Menuiserie passive avec TV, 4/16/4/16/4, ITR",
- "quantity": 0
}, - "low_floor": {
- "id": "underfloor_insulation_14cm_th35",
- "label": "Isolation en sous-face avec 14 cm Th35",
- "quantity": 0
}, - "high_floor": {
- "id": "insulation_rampants_12cm_lm_between_rafters_18cm_fdb",
- "label": "Isolation des rampants avec 12 cm LM entre chevrons + 18 cm FdB",
- "quantity": 0
}, - "generator_type": {
- "id": "double_service_heat_pump",
- "label": "Installation d'une pompe à chaleur (air/eau)",
- "quantity": 0
}, - "generator_energy": {
- "id": "gas",
- "label": "Gaz"
}, - "hot_water_type": {
- "id": "electric_water_heater",
- "label": "Installation d'un ballon électrique"
}, - "hot_water_energy": {
- "id": "gas",
- "label": "Gaz"
}
}
}
]
}
}