Analyze DPE Price Premium
analyze_dpe_price_premiumAnalyze the price premium or discount of energy performance ratings in a market.
Cross-references DPE diagnostics with DVF property transactions: each sale is matched to the nearest geocoded DPE within 200m (issued up to 10 years before / 1 year after the sale), to show median price/m² per energy class and its gap vs. the local median.
REQUIRED: code_postal or commune (department too broad for meaningful comparison) OPTIONAL: type_local (Maison|Appartement)
Output shape: { classes: { "A": { count, median_prix_m2, p25_prix_m2, p75_prix_m2, vs_median_pct }, ... }, summary, methodology, limitations }
Limitations: the nearest DPE is often a neighbouring building, and medians aren't adjusted for location or sale year, so gaps between classes are descriptive, not a measured "green value".
Cost: 10 credits
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Commune name (e.g., 'PARIS 11', 'BORDEAUX') | |
| type_local | No | Property type for DVF cross-reference (default: all) | |
| code_postal | No | Postal code (e.g., '75011') |