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.
Commercial property (property_types commercial, a family such as
offices, retail, cafes-bars-restaurants, hotels-leisure,
industrial-warehouses, garages-storage-rooms, buildings or
commercial-land, or one type such as shop) is answered with its
own figures: the ASKING prices of live commercial listings
(figures_basis asking_prices), per family, with the asking price
or monthly rent per m² and size bands, and no oracle block.
Below min_sample priced listings only the count is given. Homes
and commercial property are never summarised together.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenure | No | Commercial sales only: traspaso narrows the figures to business transfers (the lease and the business taken over). | |
| 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; or commercial, a commercial family (offices, retail, cafes-bars-restaurants, hotels-leisure, industrial-warehouses, garages-storage-rooms, buildings, commercial-land, businesses) or one commercial type (office, shop, bar, warehouse...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| error | No | ||
| oracle | No | ||
| tenure | No | ||
| families | No | ||
| location | Yes | ||
| max_price | No | ||
| min_price | No | ||
| commercial | No | ||
| mean_price | No | ||
| min_sample | No | Fewer priced listings than this and no median is given, only the count. | |
| price_unit | No | ||
| size_bands | No | ||
| price_basis | No | ||
| search_type | No | ||
| median_price | No | ||
| per_sqm_area | No | ||
| figures_basis | No | ||
| location_match | No | ||
| property_types | No | ||
| total_listings | Yes | ||
| by_bedroom_band | No | ||
| priced_listings | No | ||
| median_rent_per_sqm | No | Commercial lettings: median monthly asking rent per m² of built area. | |
| median_price_per_sqm | No |