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

High Potential Seller Leads · REST API

List seller leads

GEThttps://platform.casafari.com/v1/seller-leads
API key100 tokens a call13 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 100 tokens a call (1 token = EUR 0.04).

El archivo OpenAPI de la plataforma permite flexibilidad; lo que se muestra proviene de las mismas definiciones que la plataforma publica en otros lugares: respuesta 200: el fragmento del centro de documentación extraído del contrato de la plataforma.

Over MCP: none; this product is REST only.

Description

Costs 100 tokens a call. Each page is a call. One search reaches at most 1000 results. Each lead is {id, property_id, coordinates, price_cuts, price_cuts_since}: the property id, its coordinates and its price reductions, no property details (type, price, size, address). For a lead's details, pass its property_id to Property Sourcing's GET /v1/property-sourcing/properties/{property_id} (10 tokens).

Parámetros de consulta

page_sizeinteger
Page size, at most 100 (a Free plan account is capped lower).
1–100
cursorstring
Position of the next page, copied from the previous response.
countrystring
ISO 3166-1 alpha-2 code of the point's country (ES, FR, IT, DE, GR or AD). Needed when the account covers several.
2–2 characters
latnumber
Latitude of the point to search around. Required unless cursor is sent.
-90–90
lonnumber
Longitude of the point to search around. Required unless cursor is sent.
-180–180
radius_minteger
Radius in metres.
50–300default 300
operationstring
sale or rent.
sale rent
predeterminado "sale"
min_price_cutsinteger
Fewest price cuts.
1–100default 1
min_price_cut_pctnumber
Smallest total cut, in percent.
0.1–100predeterminado 5
sincecadena (fecha)
YYYY-MM-DD: also count the cuts since this date (price_cuts_since).
typesstring
Comma-separated property types, e.g. apartment,house.
price_mininteger
Lowest asking price.
≥ 1
price_maxinteger
Highest asking price.
≥ 1

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/seller-leads?country=ES&lat=40.4168&lon=-3.7038&radius_m=300" \
  -H "Authorization: Bearer $CASAFARI_API_KEY"

Respuestas

200 Success.

Tipo: object.

Show the response shape (14 fields)
resultsobject[]
5 propiedades
idstring
Opaque lead id, lead_....
property_idstring
The property's prop_ id, readable with GET /v1/property-sourcing/properties/{property_id}.
coordinatesobjectnullable
2 propiedades
latnumber
lonnumber
price_cutsobjectnullable
Price cuts over the home's whole time on the market.
2 propiedades
countnumbernullable
Number of price cuts.
percentagenumbernullable
Total cut, in percent.
price_cuts_sinceobjectnullable
Price cuts since the since date; null without it.
2 propiedades
countnumbernullable
Number of price cuts.
percentagenumbernullable
Total cut, in percent.
totalinteger
How many leads the area has.
nextstringnullable
URL of the next page (valid one hour), or null.
Ejemplo con valores de muestra (los identificadores y las cifras son ilustrativos)
JSON
{
  "results": [
    {
      "id": "lead_5Tn3wK8pR2yH6mQ1vX9cBe",
      "property_id": "prop_9Rk4tW2nP7xM3cL6vB1qZs",
      "coordinates": {
        "lat": 40.4172,
        "lon": -3.7051
      },
      "price_cuts": {
        "count": 3,
        "percentage": 12.5
      },
      "price_cuts_since": null
    }
  ],
  "total": 14,
  "next": "https://platform.casafari.com/v1/seller-leads?cursor=cur_SAMPLE"
}

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.