Area market summary
area_market_summaryReturn aggregate market context for a Spanish area: number of active listings, median price, mean price, median €/m², and the count broken down by bedroom band. Filterable by property type and search type (for-sale / for-rent / holiday-rentals). Use this before recommending a price or commenting on whether a listing is good value.
If the place name is not one we hold, the response says so (error: location_not_found, location_match.matched: false) and returns no figures. Figures are NEVER nationwide fallbacks.
Price figures follow the search type and are labelled with price_unit: sale prices are totals, for-rent is per MONTH and holiday-rentals is per WEEK. median_price_per_sqm is reported for sales only.
The oracle block carries the attested transaction price for the
area. Check oracle.verified before citing it as verified: it is
true only for Spanish figures from the notarial register (Consejo
General del Notariado) with at least 10 recorded transactions
behind them. Outside Spain the figure comes from a national
house-price index, carries no transaction count, and must never be
described as notary-backed - oracle.source names the real source
and oracle.note says why it is not verified.
Transactions are recorded per municipality, so a sub-area
(Sotogrande, Puerto Banus, Nueva Andalucia, Orihuela Costa) is
answered with the figure for the municipality containing it, with
oracle.rolled_up_from_sub_area true and oracle.municipality /
oracle.municipality_code naming it. Quote it as the
municipality's figure, never as the sub-area's own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | Place name (city, suburb, or urbanisation). e.g. 'Marbella'. | |
| search_type | No | for-sale | |
| property_types | No | Optional comma-separated slugs: apartments, villas, penthouses, plots, townhouses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| error | No | ||
| oracle | Yes | ||
| location | Yes | ||
| max_price | No | ||
| min_price | No | ||
| mean_price | No | ||
| price_unit | No | ||
| price_basis | No | ||
| search_type | No | ||
| median_price | No | ||
| location_match | No | ||
| property_types | No | ||
| total_listings | Yes | ||
| by_bedroom_band | No | ||
| median_price_per_sqm | No |