get_comparables
Find recently-sold properties near a subject property to triangulate market value. Uses geographic proximity to return closest sales with price, date, and characteristics.
Instructions
Find comparable recently-sold properties near a subject property.
Useful for valuation work - returns nearest sales with price, date and
property characteristics for triangulating a market value. The endpoint
uses geographic proximity (PostGIS spatial query) rather than a fixed
radius, and returns the count closest properties with either a
sold date or a first-listing date in the past year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uprn | Yes | Unique Property Reference Number (the subject property). | |
| count | No | Number of comparables to return (default 20, max 200). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||