get_price_statistics
Price per m² statistics for residential apartments by location; for other property types use search_transactions. Default window: last 24 months (same as the search_transactions median); period="all" for full history. The response states the period used. Notarial-deed prices, not asking prices; coverage varies by county (some have data gaps of 5+ years).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teryt | No | TERYT: 4 digits = county (1465 = Warszawa), 6 = Warszawa district (146505 = Mokotów). A gmina code is an error, unlike get_price_spread (narrows to county): pass the county. Wins over location. | |
| dateTo | No | Custom window end, YYYY-MM-DD, inclusive (default today). Overrides period. | |
| period | No | Window: "24m" (default) = last 24 months, "all" = full history. Ignored when dateFrom or dateTo is set. | |
| dateFrom | No | Custom window start, YYYY-MM-DD. Overrides period. | |
| location | No | Location name; 'Warszawa'/'Kraków'/'Łódź' expand to all sub-districts, other names use case-insensitive partial match (e.g. 'Wrocł' matches 'Wrocław'). Omit for all Poland. |