Platform

Casafari ist die KI-Agent-native Plattform für Immobiliendatenintelligenz. Der umfassendste Immobilienindex Europas: ein bereinigter, deduplizierter Immobiliengraph für Wohn- und Gewerbeimmobilien, zum Kauf und zur Miete, in 16 Ländern.Der umfassendste Immobilienindex Europas: ein bereinigter, deduplizierter Immobiliengraph.

Wie der Graph aufgebaut ist

Comparables & Valuation · REST API

Initialize an AI Builder session (v2)

POSThttps://api.casafari.com/api/v2/comparables/ai-builder
Bearer-Token15 parameters

Über die bestehende API unter https://api.casafari.com (Vertragskunden): senden Sie Authorization: Bearer $CASAFARI_TOKEN; siehe So erhalten Sie ein Token. Neue Nutzer: Nutzen Sie die REST API der Plattform, Plattform-API-Keys.

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

Description

Initializes an AI Builder session from a saved CMA (valuation) and returns the generated report ID along with the URL of the AI Builder session.

Request-Body

Content-Type application/json. Optional. Typ: object.

valuation_idintegererforderlich
ID of the saved CMA to build the session from.
agentobjectkann null sein
Agent data to display in the Builder.
11 properties
first_nameZeichenfolgeerforderlich
First name of the agent displayed in the Builder.
last_nameZeichenfolgekann null sein
Last name of the agent displayed in the Builder.
shop_nameZeichenfolgekann null sein
Name of the agency or brokerage displayed alongside the agent information.
photo_urlZeichenkette (URI)kann null sein
URL to the profile picture of the agent.
pattern ^(?:[a-z0-9.+-]*)://(?:[^\s:@/]+(?::[^\s:@/]*)?@)?(?:(?:0|25[0-5]|2[0-4][0-9]|1[0-9]?[0-9]?|[1-9][0-9]?)(?:\.(?:0|25[0-5]|2[0-4][0-9]|1[0-9]?[0-9]?|[1-9][0-9]?)){3}|\[[0-9a-f:.]+\]|([a-z¡-￿0-9](?:[a-z¡-￿0-9-]{0,61}[a-z¡-￿0-9])?(?:\.(?!-)[a-z¡-￿0-9-]{1,63}(?<!-))*\.(?!-)(?:[a-z¡-￿-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\.?|localhost))(?::[0-9]{1,5})?(?:[/?#][^\s]*)?\z
emailZeichenkette (E-Mail)kann null sein
Agent's email address displayed in the Builder and available for client contact.
phoneZeichenfolgekann null sein
Phone number of the agent.
whatsappZeichenfolgekann null sein
Agent's WhatsApp phone number displayed as a contact option. Include the country code.
instagramZeichenfolgekann null sein
Agent's Instagram username or profile identifier displayed in the Builder.
telegramZeichenfolgekann null sein
Agent's Telegram username displayed in the Builder.
agent_webpageZeichenkette (URI)kann null sein
Public URL of the agent's personal or professional webpage.
pattern ^(?:[a-z0-9.+-]*)://(?:[^\s:@/]+(?::[^\s:@/]*)?@)?(?:(?:0|25[0-5]|2[0-4][0-9]|1[0-9]?[0-9]?|[1-9][0-9]?)(?:\.(?:0|25[0-5]|2[0-4][0-9]|1[0-9]?[0-9]?|[1-9][0-9]?)){3}|\[[0-9a-f:.]+\]|([a-z¡-￿0-9](?:[a-z¡-￿0-9-]{0,61}[a-z¡-￿0-9])?(?:\.(?!-)[a-z¡-￿0-9-]{1,63}(?<!-))*\.(?!-)(?:[a-z¡-￿-]{2,63}|xn--[a-z0-9]{1,59})(?<!-)\.?|localhost))(?::[0-9]{1,5})?(?:[/?#][^\s]*)?\z
agent_bioZeichenfolgekann null sein
Short biography or description of the agent. Displayed in the Builder only if the photo_url field is provided in the request.
languageZeichenfolge
Language of the Builder session.
en es pt
Standard "en"
external_refZeichenfolgekann null sein

Beispielanfrage

Nur Platzhalter: Ersetzen Sie das Token und die Werte durch Ihre eigenen.

curl
curl -X POST "https://api.casafari.com/api/v2/comparables/ai-builder" \
  -H "Authorization: Bearer $CASAFARI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "valuation_id": 1,
  "agent": {
    "first_name": "John",
    "last_name": "Doe",
    "shop_name": "Example Realty",
    "photo_url": "https://example.com/photo.jpg",
    "email": "john.doe@example.com",
    "phone": "+351912345678",
    "whatsapp": "+351912345678",
    "instagram": "example_agent",
    "telegram": "example_agent",
    "agent_webpage": "https://example.com/agent-page",
    "agent_bio": "Experienced real estate agent."
  },
  "language": "en",
  "external_ref": "CRM-12345"
}'

Antworten

200 OK

Typ: object.

Antwortstruktur anzeigen (2 Felder)
idZeichenfolgeerforderlich
ID of the initialized AI Builder session.
urlZeichenfolgeerforderlich
URL of the initialized AI Builder session.
Beispiel aus der API-Beschreibung
JSON
{
  "id": "6a43a32841b3e35c735b9053",
  "url": "https://www.casafari.com/market-report/valuation/builder/6a43a32841b3e35c735b9053"
}

401 Nicht autorisiert

Typ: object.

Antwortstruktur anzeigen (1 Feld)
detailZeichenfolge
Beschreibung des aufgetretenen Fehlers.

403 Unzulässig

Typ: object.

Antwortstruktur anzeigen (1 Feld)
detailZeichenfolge
Beschreibung des aufgetretenen Fehlers.

404 Nicht gefunden

Typ: object.

Antwortstruktur anzeigen (1 Feld)
errorsobject
Beschreibung der aufgetretenen Fehler.

Tipp: Fügen Sie .md an eine URL an, um den Inhalt als Markdown zu lesen.