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

Property Sourcing · REST API

Registered sale prices around a property

GEThttps://platform.casafari.com/v1/property-sourcing/properties/{property_id}/closing-prices
API key5 tokens por llamada4 parámetros

Send Authorization: Bearer $CASAFARI_API_KEY: a platform API key (cf_sk_...) from the console, or an OAuth access token; X-API-Key carries the key too. See platform API keys. Costs 5 tokens a call (1 token = EUR 0.04).

Over MCP: property-sourcing_get_closing_prices (equivalent). See MCP and REST compared.

Description

Costs 5 tokens a call. Aggregated registered sale prices, not asking prices: the count and the median, p10, p90 and range per square metre of recent sales of similar homes (same type group, size within 30 percent of the living or total area; implausible rows such as parking spaces are left out and counted in excluded) around the property, with their source, and, for France and Poland only, the closest sales (sold date, price, price per m2, area, distance, type; never an address; Spain and Italy answer the summary alone). Spain, France, Italy and Poland; Portugal answers INE's official median per square metre for the nearest municipality (price_type says it is an area median); Italy answers the OMI quotation range of the home's zone from the Agenzia delle Entrate where there is one (price_type says it is a quotation range, not a closing price); another country answers 400 and is not billed. radius_m (100 to 5000, default 1500) months (1 to 60, default 24) narrow it; sales (0 to 25, default 10) sets the list length.

Parámetros de ruta

property_idstringobligatorio

Parámetros de consulta

radius_minteger
Radius around the property in metres.
100–5000default 1500
monthsinteger
How far back to look, in months.
1–60default 24
salesinteger
How many of the closest sales to list (0 for none): sold date, registered closing price, price per m2, area, distance, type; never an address.
0–25default 10

Ejemplo de solicitud

Sustituya la clave por la suya. Ejecútelo en la plataforma antes de publicarlo: cópiela, inserte su clave y funcionará.

curl
curl "https://platform.casafari.com/v1/property-sourcing/properties/prop_iRHciyIVl1aCo2e2O_mTJGKEQ0wjdsRjeH_fE93eJVgEQ5DmOmzlVqTiFQ/closing-prices" \
  -H "Authorization: Bearer $CASAFARI_API_KEY"

Respuestas

200 Success.

Tipo: object.

Errores

Cada error devuelve un cuerpo application/problem+json (RFC 9457) con type (la página donde se explica), title, status, detail (qué hacer), instance, code y request_id (indíquelo al solicitar soporte). Un error 402 incluye una upgrade_url, y un 429 una cabecera Retry-After. Códigos asociados a cada estado:

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