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

Alerts · REST API

Create an alert feed

POSThttps://platform.casafari.com/v1/alerts/feeds
API key25 tokens por llamada46 parameters

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 25 tokens a call (1 token = EUR 0.04).

El archivo OpenAPI de la plataforma no define la forma; lo que se muestra proviene de las mismas definiciones que la plataforma publica en otros lugares: request: la descripción del mismo backend; response 200: la descripción del mismo backend.

Mediante MCP: ninguno; este producto solo está disponible vía REST.

Description

Costs 25 tokens a call. Each alert a feed delivers to its webhook costs 1 token; when the account has no tokens left, deliveries pause until it has tokens again.

Cuerpo de la solicitud

Content type application/json. Opcional. Tipo: object.

feed_namestringobligatorio
filtersobjectobligatorio
28 properties
location_idsinteger[]nullable
1–100 elementos
typesstring[]nullable
42 valores permitidosapartment studio duplex penthouse dachgeschosswohnung etagenwohnung erdgeschosswohnung country_house house palace townhouse villa country_estate chalet bungalow family_house reihenhaus reihenendhaus reihenmittelhaus einfamilienhaus zweifamilienhaus landwirtschaftliche_betriebe retail office industrial warehouse hotel building other_commercial restaurant werkstatt urban_plot rural_plot room parking garage other apartment_building office_building mix_use_building apartment_development house_development
al menos 1 elemento
business_typestringobligatorio
sale rent
statuses(string | string)[]nullable
al menos 1 elemento
alert_subtypesstring[]nullable
new price_increased price_decreased reserved delisted sold
custom_locationsobject[][]nullable
Lista de polígonos cerrados de puntos geográficos en los que buscar. Cada polígono debe contener al menos 4 puntos. El primer y el último punto deben coincidir en cada polígono. Se permiten un máximo de 4 polígonos.
1–4 items4–25 items
2 propiedades
latitudenumberobligatorio
-90–90
longitudenumberobligatorio
-180–180
privatebooleannullable
price_rangeobjectnullable
2 propiedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
price_psqm_rangeobjectnullable
2 propiedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
bathrooms_rangeobjectnullable
2 propiedades
minintegernullable
1–15000
maxintegernullable
1–15000
bedrooms_rangeobjectnullable
2 propiedades
minintegernullable
0–15000
maxintegernullable
0–15000
total_area_rangeobjectnullable
2 propiedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
new_developmentbooleannullable
bankbooleannullable
auctionbooleannullable
construction_year_rangeobjectnullable
2 propiedades
minintegernullable
1–3000
maxintegernullable
1–3000
plot_area_rangeobjectnullable
2 propiedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
floorsstring[]nullable
no_floor ground middle top
al menos 1 elemento
conditionsstring[]nullable
new used ruin very-good other
al menos 1 elemento
orientationstringnullable
exterior interior
viewsstring[]nullable
A matching listing must have every requested view, not just one.
water landscape city golf park
al menos 1 elemento
directionsstring[]nullable
A matching listing must face every requested direction, not just one.
north south east west
al menos 1 elemento
characteristicsstring[]nullable
A matching listing must have every requested characteristic, not just one.
balcony elevator no_elevator garage garden parking storage swimming_pool terrace rental_license furniture rented_out life_annuity
al menos 1 elemento
has_phonebooleannullable
has_emailbooleannullable
has_agency_namebooleannullable
ref_numbersstring[]nullable
1–100 elementos
listing_idsinteger[]nullable
1–100 elementos

Ejemplo de solicitud

Solo marcadores de posición: reemplace el token y los valores por los suyos.

curl
curl -X POST "https://platform.casafari.com/v1/alerts/feeds" \
  -H "Authorization: Bearer $CASAFARI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "feed_name": "Lisbon flats under 450K",
  "filters": {
    "business_type": "sale",
    "location_ids": [
      12345
    ],
    "types": [
      "apartment"
    ],
    "alert_subtypes": [
      "new",
      "price_decreased"
    ],
    "price_range": {
      "min": 200000,
      "max": 450000
    },
    "bedrooms_range": {
      "min": 2
    }
  }
}'

Respuestas

200 Success.

Tipo: object.

Show the response shape (47 fields)
feed_idintegerobligatorio
feed_namestringobligatorio
filtersobjectobligatorio
28 properties
location_idsinteger[]nullable
1–100 elementos
typesstring[]nullable
42 valores permitidosapartment studio duplex penthouse dachgeschosswohnung etagenwohnung erdgeschosswohnung country_house house palace townhouse villa country_estate chalet bungalow family_house reihenhaus reihenendhaus reihenmittelhaus einfamilienhaus zweifamilienhaus landwirtschaftliche_betriebe retail office industrial warehouse hotel building other_commercial restaurant werkstatt urban_plot rural_plot room parking garage other apartment_building office_building mix_use_building apartment_development house_development
al menos 1 elemento
business_typestringobligatorio
sale rent
statuses(string | string)[]nullable
al menos 1 elemento
alert_subtypesstring[]nullable
new price_increased price_decreased reserved delisted sold
custom_locationsobject[][]nullable
Lista de polígonos cerrados de puntos geográficos en los que buscar. Cada polígono debe contener al menos 4 puntos. El primer y el último punto deben coincidir en cada polígono. Se permiten un máximo de 4 polígonos.
1–4 items4–25 items
2 propiedades
latitudenumberobligatorio
-90–90
longitudenumberobligatorio
-180–180
privatebooleannullable
price_rangeobjectnullable
2 propiedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
price_psqm_rangeobjectnullable
2 propiedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
bathrooms_rangeobjectnullable
2 propiedades
minintegernullable
1–15000
maxintegernullable
1–15000
bedrooms_rangeobjectnullable
2 propiedades
minintegernullable
0–15000
maxintegernullable
0–15000
total_area_rangeobjectnullable
2 propiedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
new_developmentbooleannullable
bankbooleannullable
auctionbooleannullable
construction_year_rangeobjectnullable
2 propiedades
minintegernullable
1–3000
maxintegernullable
1–3000
plot_area_rangeobjectnullable
2 propiedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
floorsstring[]nullable
no_floor ground middle top
al menos 1 elemento
conditionsstring[]nullable
new used ruin very-good other
al menos 1 elemento
orientationstringnullable
exterior interior
viewsstring[]nullable
A matching listing must have every requested view, not just one.
water landscape city golf park
al menos 1 elemento
directionsstring[]nullable
A matching listing must face every requested direction, not just one.
north south east west
al menos 1 elemento
characteristicsstring[]nullable
A matching listing must have every requested characteristic, not just one.
balcony elevator no_elevator garage garden parking storage swimming_pool terrace rental_license furniture rented_out life_annuity
al menos 1 elemento
has_phonebooleannullable
has_emailbooleannullable
has_agency_namebooleannullable
ref_numbersstring[]nullable
1–100 elementos
listing_idsinteger[]nullable
1–100 elementos
Ejemplo con valores de muestra (los identificadores y las cifras son ilustrativos)
JSON
{
  "feed_id": 17,
  "feed_name": "Lisbon flats under 450K",
  "filters": {
    "business_type": "sale",
    "location_ids": [
      12345
    ],
    "types": [
      "apartment"
    ],
    "alert_subtypes": [
      "new",
      "price_decreased"
    ],
    "price_range": {
      "min": 200000,
      "max": 450000
    },
    "bedrooms_range": {
      "min": 2
    }
  }
}

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.