Platform

Casafari è la piattaforma di intelligence dei dati immobiliari nativa per agenti AI. L'indice immobiliare più completo d'Europa: un grafo immobiliare deduplicato e ripulito di immobili residenziali e commerciali, in vendita e in affitto, in 16 paesi.L'indice immobiliare più completo d'Europa: un grafo immobiliare deduplicato e ripulito.

Come viene costruito il grafo

Alerts · REST API

Create an alert feed

POSThttps://platform.casafari.com/v1/alerts/feeds
Chiave API25 token per chiamata46 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).

Il file OpenAPI della piattaforma lascia la struttura aperta; ciò che viene mostrato proviene dalle stesse definizioni che la piattaforma pubblica altrove: request: la descrizione dello stesso backend; response 200: la descrizione dello stesso backend.

Tramite MCP: nessuno; questo prodotto è solo 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.

Corpo della richiesta

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

feed_namestringaobbligatorio
filtersobjectobbligatorio
28 properties
location_idsinteger[]nullable
1–100 elementi
typesstring[]nullable
42 valori ammessiapartment 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
almeno 1 elemento
business_typestringaobbligatorio
sale rent
statuses(string | string)[]nullable
almeno 1 elemento
alert_subtypesstring[]nullable
new price_increased price_decreased reserved delisted sold
custom_locationsobject[][]nullable
Elenco di poligoni chiusi di coordinate geografiche entro cui effettuare la ricerca. Ogni poligono deve contenere almeno 4 punti. Il primo e l'ultimo punto devono coincidere in ogni poligono. Sono ammessi al massimo 4 poligoni.
1–4 items4–25 items
2 proprietà
latitudenumberobbligatorio
-90–90
longitudenumberobbligatorio
-180–180
privatebooleannullable
price_rangeobjectnullable
2 proprietà
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
price_psqm_rangeobjectnullable
2 proprietà
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
bathrooms_rangeobjectnullable
2 proprietà
minintegernullable
1–15000
maxintegernullable
1–15000
bedrooms_rangeobjectnullable
2 proprietà
minintegernullable
0–15000
maxintegernullable
0–15000
total_area_rangeobjectnullable
2 proprietà
minintegernullable
1–1000000
maxintegernullable
1–1000000
new_developmentbooleannullable
bankbooleannullable
auctionbooleannullable
construction_year_rangeobjectnullable
2 proprietà
minintegernullable
1–3000
maxintegernullable
1–3000
plot_area_rangeobjectnullable
2 proprietà
minintegernullable
1–1000000
maxintegernullable
1–1000000
floorsstring[]nullable
no_floor ground middle top
almeno 1 elemento
conditionsstring[]nullable
new used ruin very-good other
almeno 1 elemento
orientationstringanullable
exterior interior
viewsstring[]nullable
A matching listing must have every requested view, not just one.
water landscape city golf park
almeno 1 elemento
directionsstring[]nullable
A matching listing must face every requested direction, not just one.
north south east west
almeno 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
almeno 1 elemento
has_phonebooleannullable
has_emailbooleannullable
has_agency_namebooleannullable
ref_numbersstring[]nullable
1–100 elementi
listing_idsinteger[]nullable
1–100 elementi

Esempio di richiesta

Solo segnaposti: sostituisca il token e i valori con i propri.

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
    }
  }
}'

Risposte

200 Success.

Tipo: object.

Show the response shape (47 fields)
feed_idintegerobbligatorio
feed_namestringaobbligatorio
filtersobjectobbligatorio
28 properties
location_idsinteger[]nullable
1–100 elementi
typesstring[]nullable
42 valori ammessiapartment 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
almeno 1 elemento
business_typestringaobbligatorio
sale rent
statuses(string | string)[]nullable
almeno 1 elemento
alert_subtypesstring[]nullable
new price_increased price_decreased reserved delisted sold
custom_locationsobject[][]nullable
Elenco di poligoni chiusi di coordinate geografiche entro cui effettuare la ricerca. Ogni poligono deve contenere almeno 4 punti. Il primo e l'ultimo punto devono coincidere in ogni poligono. Sono ammessi al massimo 4 poligoni.
1–4 items4–25 items
2 proprietà
latitudenumberobbligatorio
-90–90
longitudenumberobbligatorio
-180–180
privatebooleannullable
price_rangeobjectnullable
2 proprietà
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
price_psqm_rangeobjectnullable
2 proprietà
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
bathrooms_rangeobjectnullable
2 proprietà
minintegernullable
1–15000
maxintegernullable
1–15000
bedrooms_rangeobjectnullable
2 proprietà
minintegernullable
0–15000
maxintegernullable
0–15000
total_area_rangeobjectnullable
2 proprietà
minintegernullable
1–1000000
maxintegernullable
1–1000000
new_developmentbooleannullable
bankbooleannullable
auctionbooleannullable
construction_year_rangeobjectnullable
2 proprietà
minintegernullable
1–3000
maxintegernullable
1–3000
plot_area_rangeobjectnullable
2 proprietà
minintegernullable
1–1000000
maxintegernullable
1–1000000
floorsstring[]nullable
no_floor ground middle top
almeno 1 elemento
conditionsstring[]nullable
new used ruin very-good other
almeno 1 elemento
orientationstringanullable
exterior interior
viewsstring[]nullable
A matching listing must have every requested view, not just one.
water landscape city golf park
almeno 1 elemento
directionsstring[]nullable
A matching listing must face every requested direction, not just one.
north south east west
almeno 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
almeno 1 elemento
has_phonebooleannullable
has_emailbooleannullable
has_agency_namebooleannullable
ref_numbersstring[]nullable
1–100 elementi
listing_idsinteger[]nullable
1–100 elementi
Esempio con valori di esempio (id e cifre sono puramente illustrativi)
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
    }
  }
}

Errori

Ogni errore è un corpo application/problem+json (RFC 9457) con type (una pagina che fornisce una spiegazione), title, status, detail (cosa fare), instance, code e request_id (da citare per ricevere assistenza). Un errore 402 contiene un upgrade_url, un 429 un header Retry-After. I codici previsti per ogni stato:

Suggerimento: aggiungi .md a qualsiasi URL per leggerlo in formato Markdown.