Analyze Building Age Price Impact (BDNB)
analyze_building_age_price_impactGet median prix/m² grouped by construction decade for a location.
Shows how building age affects price — the premium or discount of each era vs. the area median. Useful for advising whether older buildings trade at a discount and how much.
Construction decade buckets: avant_1919, 1919_1945, 1946_1970, 1971_1990, 1991_2005, 2006_plus
REQUIRED: at least one location — code_postal, commune, or code_departement OPTIONAL: type_local (Maison|Appartement)
Example output: { tranche: "1946_1970", nb: 312, prix_m2_median: 3800, vs_zone_pct: -12 } → buildings from 1946-1970 sell 12% below the area median
Cost: 10 credits
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Commune name (e.g., 'LYON', 'PARIS 11') | |
| type_local | No | Property type filter: Maison or Appartement (default: all) | |
| code_postal | No | Postal code (e.g., '69001') | |
| code_departement | No | Department code (e.g., '69', '75') |