Platform

A Casafari é a plataforma de inteligência de dados imobiliários nativa para agentes de IA. O índice de imóveis mais completo da Europa: um grafo imobiliário limpo e desduplicado de propriedades residenciais e comerciais, para venda e arrendamento, em 16 países.O índice de imóveis mais completo da Europa: um grafo imobiliário limpo e desduplicado.

Como o grafo é construído

Alerts · REST API

Create an alert feed

POSThttps://platform.casafari.com/v1/alerts/feeds
Chave de API25 tokens por chamada46 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).

O ficheiro OpenAPI da plataforma deixa o formato em aberto; o que é apresentado provém das mesmas definições que a plataforma publica noutros locais: request: a descrição do mesmo backend; response 200: a descrição do mesmo backend.

Via MCP: indisponível; este produto é apenas 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 do pedido

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

feed_namestringobrigatório
filtersobjetoobrigatório
28 properties
location_idsinteger[]nullable
1–100 itens
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
pelo menos 1 item
business_typestringobrigatório
sale rent
statuses(string | string)[]nullable
pelo menos 1 item
alert_subtypesstring[]nullable
new price_increased price_decreased reserved delisted sold
custom_locationsobject[][]nullable
Lista de polígonos fechados de pontos geográficos para pesquisa. Cada polígono deve conter pelo menos 4 pontos. O primeiro e o último pontos devem coincidir em cada polígono. São permitidos no máximo 4 polígonos.
1–4 items4–25 items
2 propriedades
latitudenumberobrigatório
-90–90
longitudenumberobrigatório
-180–180
privatebooleanonullable
price_rangeobjetonullable
2 propriedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
price_psqm_rangeobjetonullable
2 propriedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
bathrooms_rangeobjetonullable
2 propriedades
minintegernullable
1–15000
maxintegernullable
1–15000
bedrooms_rangeobjetonullable
2 propriedades
minintegernullable
0–15000
maxintegernullable
0–15000
total_area_rangeobjetonullable
2 propriedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
new_developmentbooleanonullable
bankbooleanonullable
auctionbooleanonullable
construction_year_rangeobjetonullable
2 propriedades
minintegernullable
1–3000
maxintegernullable
1–3000
plot_area_rangeobjetonullable
2 propriedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
floorsstring[]nullable
no_floor ground middle top
pelo menos 1 item
conditionsstring[]nullable
new used ruin very-good other
pelo menos 1 item
orientationstringnullable
exterior interior
viewsstring[]nullable
A matching listing must have every requested view, not just one.
water landscape city golf park
pelo menos 1 item
directionsstring[]nullable
A matching listing must face every requested direction, not just one.
north south east west
pelo menos 1 item
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
pelo menos 1 item
has_phonebooleanonullable
has_emailbooleanonullable
has_agency_namebooleanonullable
ref_numbersstring[]nullable
1–100 itens
listing_idsinteger[]nullable
1–100 itens

Exemplo de pedido

Apenas marcadores: substitua o token e os valores pelos seus.

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

Respostas

200 Success.

Tipo: object.

Show the response shape (47 fields)
feed_idintegerobrigatório
feed_namestringobrigatório
filtersobjetoobrigatório
28 properties
location_idsinteger[]nullable
1–100 itens
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
pelo menos 1 item
business_typestringobrigatório
sale rent
statuses(string | string)[]nullable
pelo menos 1 item
alert_subtypesstring[]nullable
new price_increased price_decreased reserved delisted sold
custom_locationsobject[][]nullable
Lista de polígonos fechados de pontos geográficos para pesquisa. Cada polígono deve conter pelo menos 4 pontos. O primeiro e o último pontos devem coincidir em cada polígono. São permitidos no máximo 4 polígonos.
1–4 items4–25 items
2 propriedades
latitudenumberobrigatório
-90–90
longitudenumberobrigatório
-180–180
privatebooleanonullable
price_rangeobjetonullable
2 propriedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
price_psqm_rangeobjetonullable
2 propriedades
minintegernullable
1–2147483647
maxintegernullable
1–2147483647
bathrooms_rangeobjetonullable
2 propriedades
minintegernullable
1–15000
maxintegernullable
1–15000
bedrooms_rangeobjetonullable
2 propriedades
minintegernullable
0–15000
maxintegernullable
0–15000
total_area_rangeobjetonullable
2 propriedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
new_developmentbooleanonullable
bankbooleanonullable
auctionbooleanonullable
construction_year_rangeobjetonullable
2 propriedades
minintegernullable
1–3000
maxintegernullable
1–3000
plot_area_rangeobjetonullable
2 propriedades
minintegernullable
1–1000000
maxintegernullable
1–1000000
floorsstring[]nullable
no_floor ground middle top
pelo menos 1 item
conditionsstring[]nullable
new used ruin very-good other
pelo menos 1 item
orientationstringnullable
exterior interior
viewsstring[]nullable
A matching listing must have every requested view, not just one.
water landscape city golf park
pelo menos 1 item
directionsstring[]nullable
A matching listing must face every requested direction, not just one.
north south east west
pelo menos 1 item
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
pelo menos 1 item
has_phonebooleanonullable
has_emailbooleanonullable
has_agency_namebooleanonullable
ref_numbersstring[]nullable
1–100 itens
listing_idsinteger[]nullable
1–100 itens
Exemplo com valores de teste (os ids e valores são 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
    }
  }
}

Erros

Cada erro é um corpo application/problem+json (RFC 9457) com type (uma página que o explica), title, status, detail (o que fazer), instance, code e request_id (o que citar para suporte). Um 402 transporta um upgrade_url, um 429 um cabeçalho Retry-After. Os códigos que cada estado pode transportar:

Sugestão: adicione .md a qualquer URL para o ler como Markdown.