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

Private Seller Leads · REST API

Search private-seller listings by place and date

POSThttps://platform.casafari.com/v1/private-sellers/search
API key10 tokens por llamada8 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 10 tokens a call (1 token = EUR 0.04).

The platform's OpenAPI file leaves the shape open; what is shown comes from the same definitions the platform publishes elsewhere: request: the MCP tool private-sellers_search's input; response 200: the hub's fragment from the platform's contract.

Over MCP: private-sellers_search (equivalent). See MCP and REST compared.

Description

Costs 10 tokens a call. Each page is a call. Page size: page_size in the body, at most 50 (a Free plan account is capped lower).

Cuerpo de la solicitud

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

location_idintegerobligatorio
Location id of a country, city, district or neighbourhood, from locations_search (Location Lookup).
≥ 1
sincestringobligatorio
Only listings first seen on or after this date, YYYY-MM-DD, at most 90 days back.
patrón ^\d{4}-\d{2}-\d{2}$
untilstring
Only listings first seen on or before this date, YYYY-MM-DD. Optional.
patrón ^\d{4}-\d{2}-\d{2}$
operationstring
Homes for sale or for rent. Optional: both.
sale rent
property_typestring
Property type group, lower case, e.g. "apartment" or "house". Optional.
pattern ^[a-z_]{1,32}$
confirmed_onlyboolean
true: only listings whose private seller is confirmed. Default false.
page_sizeinteger
Listings per page, 1 to 50 (default 20). Every page costs the same.
1–50
cursorstring
The next value of the previous page, as it came. Valid for an hour. Leave out for the first page.
1–4096 characters

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 -X POST "https://platform.casafari.com/v1/private-sellers/search" \
  -H "Authorization: Bearer $CASAFARI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "location_id": 11737,
  "since": "2026-10-01"
}'

Respuestas

200 Success.

Tipo: object.

Show the response shape (23 fields)
listingsobject[]obligatorio
Up to page_size listings, newest first.
15 properties
idstringobligatorio
The listing's psl_ id, for GET /v1/private-sellers/listings/{id}.
urlstringobligatorio
The listing's page on the portal.
portalstringobligatorio
The portal the listing was found on.
first_seenstringobligatorio
The date the listing was first seen, YYYY-MM-DD.
operationstringobligatorio
For sale or for rent.
sale rent
property_typestringobligatorio
Property type group, e.g. apartment or house.
pricenumberobligatorio
Asking price (a month's rent for a rental); null when the listing gives none.
currencystringobligatorio
Currency of the price, ISO 4217.
areanumberobligatorio
Living area in square metres, else total area.
bedroomsintegerobligatorio
Number of bedrooms; null when the listing gives none (a studio, for example).
bathroomsintegerobligatorio
Número de baños.
location_idintegerobligatorio
The listing's location id (Location Lookup).
coordinatesobjectobligatorio
Rounded to 3 decimals (about 100 metres), never the exact address.
2 propiedades
latnumber
lonnumber
titlestringobligatorio
The listing's title as the seller wrote it, in the portal's language.
contactobjectobligatorio
The seller's contact as published on the portal; each field null where the portal shows none.
3 propiedades
namestringobligatorio
The seller's name; null when the portal shows only a word such as "Particular".
phonestringobligatorio
The seller's phone number, as published.
emailstringobligatorio
The seller's email address, as published.
nextstringobligatorio
Cursor of the next page (valid one hour): send it as cursor. Null on the last page.
contacts_includedbooleanobligatorio
true: every listing carries the seller's published contact.
Ejemplo con valores de muestra (los identificadores y las cifras son ilustrativos)
JSON
{
  "listings": [
    {
      "id": "psl_MjAwMDAwMDAwMDAx",
      "url": "https://portal.example/listing/000000001",
      "portal": "Sample portal",
      "first_seen": "2026-11-04",
      "operation": "sale",
      "property_type": "apartment",
      "price": 389000,
      "currency": "EUR",
      "area": 85,
      "bedrooms": 3,
      "bathrooms": 2,
      "location_id": 11737,
      "coordinates": {
        "lat": 40.434,
        "lon": -3.704
      },
      "title": "Piso de 3 dormitorios en Chamberí, vendo sin agencia",
      "contact": {
        "name": "María",
        "phone": "+34 600 000 001",
        "email": null
      }
    },
    {
      "id": "psl_MjAwMDAwMDAwMDAy",
      "url": "https://portal.example/listing/000000002",
      "portal": "Sample portal",
      "first_seen": "2026-11-03",
      "operation": "rent",
      "property_type": "apartment",
      "price": 1450,
      "currency": "EUR",
      "area": 62,
      "bedrooms": 2,
      "bathrooms": 1,
      "location_id": 11737,
      "coordinates": {
        "lat": 40.389,
        "lon": -3.701
      },
      "title": "Alquilo piso luminoso con terraza en Arganzuela",
      "contact": {
        "name": null,
        "phone": "+34 600 000 002",
        "email": "propietario.madrid@example.com"
      }
    }
  ],
  "next": "cur_kT4sQ8vN2mX7pR1wZ6yB3cH9",
  "contacts_included": true
}

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.