Private Seller Leads · REST API
One private-seller listing
https://platform.casafari.com/v1/private-sellers/listings/{id}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 1 token 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: private-sellers_get_listing (equivalent). See MCP and REST compared.
Description
Costs 1 token a call.
Parámetros de ruta
idstringobligatorioEjemplo de solicitud
Sustituya la clave por la suya. Ejecútelo en la plataforma antes de publicarlo: cópiela, inserte su clave y funcionará.
curl "https://platform.casafari.com/v1/private-sellers/listings/psl_MTEzMDE5NDUyMTg4" \
-H "Authorization: Bearer $CASAFARI_API_KEY"Respuestas
200 Success.
Tipo: object.
Show the response shape (21 fields)
idstringobligatoriopsl_ id, for GET /v1/private-sellers/listings/{id}.urlstringobligatorioportalstringobligatoriofirst_seenstringobligatoriooperationstringobligatoriosale rentproperty_typestringobligatorioapartment or house.pricenumberobligatoriocurrencystringobligatorioareanumberobligatoriobedroomsintegerobligatoriobathroomsintegerobligatoriolocation_idintegerobligatoriocoordinatesobjectobligatorio2 propiedades
latnumberlonnumbertitlestringobligatoriocontactobjectobligatorio3 propiedades
namestringobligatoriophonestringobligatorioemailstringobligatoriocontacts_includedbooleanobligatorioEjemplo con valores de muestra (los identificadores y las cifras son ilustrativos)
{
"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
},
"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:
- 400
invalid_request,key_in_query(https://platform.casafari.com/errors/invalid-request, https://platform.casafari.com/errors/key-in-query) - 401
unauthorized,invalid_credential,credential_revoked,token_expired(https://platform.casafari.com/errors/unauthorized, https://platform.casafari.com/errors/invalid-credential, https://platform.casafari.com/errors/credential-revoked, https://platform.casafari.com/errors/token-expired) - 402
payment_required(https://platform.casafari.com/errors/payment-required) - 403
insufficient_scope,not_entitled,account_suspended(https://platform.casafari.com/errors/insufficient-scope, https://platform.casafari.com/errors/not-entitled, https://platform.casafari.com/errors/account-suspended) - 404
not_found(https://platform.casafari.com/errors/not-found) - 405
method_not_allowed(https://platform.casafari.com/errors/method-not-allowed) - 429
rate_limited,daily_limit_reached,request_limit_reached,usage_limit_reached(https://platform.casafari.com/errors/rate-limited, https://platform.casafari.com/errors/daily-limit-reached, https://platform.casafari.com/errors/request-limit-reached, https://platform.casafari.com/errors/usage-limit-reached) - 500
internal_error(https://platform.casafari.com/errors/internal-error) - 502
upstream_error(https://platform.casafari.com/errors/upstream-error) - 503
capacity_exhausted,unavailable(https://platform.casafari.com/errors/capacity-exhausted, https://platform.casafari.com/errors/unavailable) - 504
upstream_timeout(https://platform.casafari.com/errors/upstream-timeout)