Get area price statistics
get_area_pricesFull Description
Get sale price distribution and statistics for an Irish area, county, or street. Returns a histogram of sold prices plus median, mean, and volume from official PPR data. Supports 'ppsm' mode for price-per-square-metre comparison. Pass optional property_id to highlight where a specific property sits in the distribution. Use this when the user asks about price ranges, what properties sell for, or market activity.
Parameters (1 required, 4 optional)
areastringArea to analyse: county name (e.g. 'Dublin', 'Cork'), Dublin postal district (e.g. 'Dublin 7'), or street/area name (e.g. 'Cabra', 'Stoneybatter')
modestringAnalysis mode: 'price' for total sale price (default), 'ppsm' for price per square metre (more comparable across different sized properties)
priceppsmmonths_backintegerHow many months of history to include (3-24, default 6)
property_idstringOptional property ID (prp_xxx) to highlight on the histogram. Shows where a specific property sits relative to the area distribution.
property_typestringFilter by property type as described in PPR: 'New Dwelling house /Apartment', 'Second-Hand Dwelling house /Apartment', or partial match like 'new' or 'second-hand'