Analyze DPE Price & Thermal Risk
analyze_dpe_price_and_thermal_riskCombined DPE market analysis — price per energy class AND thermal sieve stock. Use when you need the full DPE picture in a single call.
Returns TWO distinct analyses:
Median price/m² per energy class (A–G) with taux_couverture_dpe (share of sales with a DPE within 200m)
prime_verte: each class's median vs class D (descriptive gap, see limitations in the response)
Thermal sieves (passoires thermiques): share of F/G transactions since 2022 with annual trend
WHEN TO USE THIS vs analyze_dpe_price_premium:
Use analyze_dpe_price_and_thermal_risk for a full DPE snapshot (prices + sieve stock + trend)
Use analyze_dpe_price_premium when you only need "how much more is an A vs the local median?"
REQUIRED: at least one location — code_postal, commune (e.g., "PARIS 11"), or code_departement OPTIONAL: type_local (Maison|Appartement)
Note: Alsace (dept. 67, 68) returns zero results — DVF does not cover Alsace-Moselle (Livre foncier). Matching: nearest DPE within 200m of each sale; it is often a neighbouring building, so class gaps are indicative.
Cost: 10 credits
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Commune name in uppercase (e.g., 'LYON', 'PARIS 15') | |
| annee_min | No | Only include transactions from this year onward (default: all years) | |
| type_local | No | Property type filter (default: all) | |
| code_postal | No | Postal code | |
| code_departement | No | Department code |