Analyze Purchasing Power
analyze_purchasing_powerPrice-to-income ratio: how many years of median income to buy the median property here. Crosses DVF price/surface medians with INSEE Filosofi commune-level median income.
REQUIRED: You MUST provide one of:
code_postal (e.g., "75011")
commune (e.g., "LYON", "PARIS 11" - uppercase)
code_commune: explicit 5-digit INSEE code (e.g., "75111")
NOT SUPPORTED: code_departement alone, or latitude+longitude — a department spans hundreds of communes with no single meaningful income figure, and radius circles cross commune boundaries. Use analyze_market_statistics or find_property_comparables for those scopes instead.
Returns: ratio_prix_revenu (years of income), prix_bien_median, revenu_median_annuel_uc, annee_reference. ratio_prix_revenu is null when INSEE suppresses the commune's income figure (small population).
Cost: 5 credits per call
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Commune name in uppercase (e.g., 'LYON', 'PARIS 15') | |
| date_fin | No | End date (YYYY-MM-DD) | |
| date_debut | No | Start date (YYYY-MM-DD) — subject to an auto-applied cap on large scopes | |
| type_local | No | Property type filter (default: all) | |
| code_postal | No | Postal code (e.g., '75011') | |
| code_commune | No | 5-digit INSEE commune code — bypasses commune resolution (e.g., '75111') |