Platform

Casafari és la plataforma d'intel·ligència de dades immobiliàries nativa per a agents amb IA. L'índex de propietats més complet d'Europa: un graf immobiliari netejat i deduplicat de béns residencials i comercials, en venda i lloguer, en 16 països.L'índex de propietats més complet d'Europa: un graf immobiliari netejat i deduplicat.

Com es construeix el graf

Claro AI · REST API

Export the results of a search you ran as CSV or Excel

POSThttps://platform.casafari.com/v1/claro/exports
Clau d'API5 parameters

Send Authorization: Bearer $CASAFARI_API_KEY: a platform API key or OAuth access token, metered in platform tokens; see platform sign-in and Claro AI. On the platform this is POST https://platform.casafari.com/v1/claro/exports; POST /v1/exports is Claro's own path, which the platform adds /claro to. The platform forwards the call to Claro unchanged: Claro's Claro-Version header and its error bodies ({"error":{"code","message"}}, with rate_limited and quota_reached on a 429) pass through.

Over MCP: no tool does this. MCP and REST compared.

Description

The stored results of a search this account ran, or of a Compare set, as a file. Scope claro:read. It only re-reads: never a new search, a model call or a read-through, so it is not billed as a search (the platform prices it at 0 tokens) and has no monthly cap. search_id exports that search's ranked matches (the first 500; stated_only keeps only those that state every criterion). A plots search_id (it starts with plots-) exports its plots with their own columns. search_id with ids exports only those 2 to 5 matches of that search. ids alone exports a Compare set this account ran with POST /v1/compare in the last 24 hours, the same ids and no others. A search_id that does not belong to the calling account, never existed or is older than 24 hours (searches are kept 24 hours) is not_found (404); the answer never says which. Columns: property id (pm_), Claro page, title, type, operation, size m², rent and sale price, price per m², city, district, agency and its listing link, the fit verdict and its reasons, an excerpt, and the Location Intelligence figures only when the account has location access. A header above the table gives the export date and the source.

Cos de la petició

Tipus de contingut application/json. Obligatori. Tipus: object.

search_idcadena
The search_id of a premises or plots search this account ran in the last 24 hours.
formatcadenaobligatori
csv xlsx
idsstring[]
pm_ ids: with search_id, only those matches of that search; alone, a Compare set this account ran in the last 24 hours.
2–5 items
stated_onlybooleà
With a premises search_id: only the matches that state every criterion.
langcadena
The language of the file's headings.
en de es

Exemple de sol·licitud

Només espais reservats: substitueix el token i els valors pels teus.

curl
curl -X POST "https://platform.casafari.com/v1/claro/exports" \
  -H "Authorization: Bearer $CASAFARI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "format": "csv"
}'

Respostes

200 The file

Type: string.

400 Sol·licitud no vàlida

Tipus: object.

Mostra l'estructura de la resposta (3 camps)
errorobjecte
2 propietats
codecadenaobligatori
messagecadenaobligatori

401 Clau invàlida o absent

Tipus: object.

Mostra l'estructura de la resposta (3 camps)
errorobjecte
2 propietats
codecadenaobligatori
messagecadenaobligatori

403 Accés denegat

Tipus: object.

Mostra l'estructura de la resposta (3 camps)
errorobjecte
2 propietats
codecadenaobligatori
messagecadenaobligatori

404 Unknown, expired or not this account's (`not_found`)

Tipus: object.

Mostra l'estructura de la resposta (3 camps)
errorobjecte
2 propietats
codecadenaobligatori
messagecadenaobligatori

429 Límit de peticions assolit

Tipus: object.

Mostra l'estructura de la resposta (3 camps)
errorobjecte
2 propietats
codecadenaobligatori
messagecadenaobligatori

Consell: afegeix .md a qualsevol URL per llegir-la com a Markdown.