Get Zonal Price Distribution
get_zonal_price_distributionMap and rank median price per m² by postal code or commune across a city or department (DVF sales): compare arrondissements, postal codes or communes, find the most / least expensive zones. MCP Apps hosts render an interactive map; other clients get the same JSON.
REQUIRED: code_departement ("75") or commune (a major city: "PARIS" returns every arrondissement). Optional: type_local, group_by ("code_postal" default | "commune"), min_transactions (default 10), date_debut/date_fin (default: the latest year).
Returns per zone: centroid (lat/lon), median and average price/m², sales count, and position ("expensive" | "average" | "affordable").
Example: {commune: "PARIS", type_local: "Appartement"}
Cost: 15 credits per call
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_zonal_price_distribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Major city name (e.g., 'PARIS' - returns all arrondissements) | |
| date_fin | No | End date (default: data_as_of, the latest sale) | |
| group_by | No | Aggregation level (default: code_postal) | code_postal |
| date_debut | No | Start date (default: the latest 12 months of data) | |
| type_local | No | Property type filter | |
| code_departement | No | Department code (e.g., '75') | |
| min_transactions | No | Minimum transactions to include a zone (default: 10) |