Platform

Casafari es la plataforma de inteligencia de datos inmobiliarios nativa para agentes de IA. El índice inmobiliario más completo de Europa: un grafo inmobiliario limpio y deduplicado de propiedades residenciales y comerciales, en venta y alquiler, en 16 países.El índice inmobiliario más completo de Europa: un grafo inmobiliario limpio y deduplicado.

Cómo se construye el grafo

Area Insights · herramienta MCP

area-insights_get_heatmap

Get Heatmap

Solo lectura40 parametersRespuesta tipada

Call it as area-insights_get_heatmap on the Area Insights MCP server, https://platform.casafari.com/mcp/area-insights (how to connect).

Over REST: POST /v1/area-insights/heatmap (equivalent). MCP and REST compared.

What does Get Heatmap do?

Generate an area insights heatmap showing property distribution and price dynamics across geographic areas.

This tool aggregates active real estate listings for the child locations of the given location_id (e.g., districts of a city), returning the selected data_point metric for each of them. It supports a wide range of property filters, including estate type, price range, construction year, and location hierarchy.

Use Cases

Retrieve geographic insights for real estate analytics:

  • Visualize market activity intensity across a city or region.
  • Identify hotspots of high property density or high average price.
  • Compare neighborhoods based on average price per sqm.
  • Analyze supply distribution and property trends over time.
  • Combine with time-series data to understand historical evolution by area.

Parameters

NameTypeRequiredDescription
request_dataMCPHeatMapRequestSchemaYesDefines filters, metrics, and date range for heatmap generation.

Important Notes

  • Only ACTIVE listings are included.
  • The tool automatically resolves child locations (e.g., neighborhoods within a city).
  • If no matching data is found, a ToolError will be raised.
  • Use returned data for map visualization or spatial analytics dashboards.

Returns

json
[
  {
    "location_id": 12345,
    "location_name": "Lisbon",
    "value": 5200.5
  }
]

Each item represents one geographic unit with aggregated metric value.

Which parameters does area-insights_get_heatmap take?

request_dataobjectobligatorio
19 properties
type_groupstringobligatorio
Grupo de tipo de inmueble.
apartment house
business_typestringobligatorio
Tipo de operación para la que el inmueble está disponible.
sale rent
price_rangeobjectnullable
2 propiedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
price_per_sqm_rangeobjectnullable
2 propiedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
rooms_rangeobjectnullable
2 propiedades
minintegernullable
1–15000
maxintegernullable
1–15000
bedrooms_rangeobjectnullable
2 propiedades
minintegernullable
0–15000
maxintegernullable
0–15000
bathrooms_rangeobjectnullable
2 propiedades
minintegernullable
1–15000
maxintegernullable
1–15000
total_area_rangeobjectnullable
2 propiedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
plot_area_rangeobjectnullable
2 propiedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
construction_year_rangeobjectnullable
2 propiedades
minintegernullable
1–3000
maxintegernullable
1–3000
characteristicsobjectnullable
2 propiedades
must_havestring[]
Incluir solo los inmuebles que posean todas estas características.
balcony elevator no_elevator garage garden parking storage swimming_pool terrace rental_license furniture rented_out life_annuity
excludestring[]
Excluir los inmuebles que contengan alguna de estas características.
balcony elevator no_elevator garage garden parking storage swimming_pool terrace rental_license furniture rented_out life_annuity
conditionsstring[]
Estados de la propiedad: cualquiera de used, ruin, very-good, new, other.
used ruin very-good new other
al menos 1 elemento
privateboolean
Indica si el anuncio es de un particular o de un profesional o agencia inmobiliaria.
bankboolean
Si el inmueble es propiedad del banco.
auctionboolean
Si el inmueble está sujeto a subasta.
por defecto false
exclude_outliersboolean
Excluir inmuebles cuyo precio esté significativamente fuera de mercado en comparación con propiedades similares.
valor predeterminado true
location_idintegerobligatorio
1–2147483647
data_pointstringobligatorio
Especifica el tipo de datos inmobiliarios a recuperar para un periodo determinado.
avg_price avg_price_psqm available_on_market new sold_or_rented price_up price_down
date_rangeobjectobligatorio
2 propiedades
mincadena (fecha)obligatorio
Start date in the format YYYY-MM-DD. If the specified date is not Monday - the closest previous Monday will be selected
maxcadena (fecha)nullable
End date in the format YYYY-MM-DD. If the specified date is not Sunday - the closest previous Sunday will be selected

¿Qué devuelve?

Returned as result.

Mostrar la estructura de la respuesta (3 campos)
location_idintegerobligatorio
location_namestringobligatorio
valuenumberobligatorio

How do I call area-insights_get_heatmap?

Un ejemplo ejecutado en la plataforma antes de publicarlo: funciona tal cual. Su asistente completará sus propios valores con los parámetros anteriores.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "area-insights_get_heatmap",
    "arguments": {
      "request_data": {
        "type_group": "apartment",
        "business_type": "sale",
        "location_id": 11737,
        "data_point": "avg_price_psqm",
        "date_range": {
          "min": "2025-01-01",
          "max": "2025-12-31"
        }
      }
    }
  }
}

Consejo: añada .md a cualquier URL para leerla como Markdown.