Sold prices and energy ratings for an area
area_statsSold-price figures for a UK postcode area from HM Land Registry: median and quartile prices over the last 12 months (overall and by detached, semi-detached, terraced, flat), medians by year, and by postcode sector, plus energy-rating counts where loaded. Use it for questions like 'what do flats sell for in CT20?' or 'how have prices changed in Canterbury CT1?'. Pass an outcode (the first half of a postcode, e.g. CT20), a full postcode, or a town that has a single outcode; for a town with several (Folkestone: CT18, CT19, CT20) the reply lists them, so ask about one. Only covers areas Homedex has loaded; if an area isn't covered, the reply lists the ones that are. These are sold prices, not asking prices or valuations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"area": "<area>"
},
"name": "area_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | An outcode such as CT20, a postcode such as CT20 3TZ, or a town with a single outcode |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | ||
| licence | Yes | ||
| outcode | Yes | ||
| location | Yes | ||
| attribution | Yes | Attribution to show alongside this data | |
| sold_prices | Yes | ||
| energy_ratings | Yes | ||
| local_authority | Yes |