Get property by listing IDs (v1)
https://api.casafari.com/api/v1/properties/match-by-listingsÜ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
Returns a mapping properties IDs to listing IDs.
Request-Body
Content-Type application/json. Optional. Typ: object.
listing_idsinteger[]erforderlichBeispielanfrage
Placeholders only: replace the token and the values with your own. Tested against the API on 2026-10-12: Listing ids taken from the search above; the ids in the description's example do not exist.
curl -X POST "https://api.casafari.com/api/v1/properties/match-by-listings" \
-H "Authorization: Bearer $CASAFARI_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"listing_ids": [
31134746659,
17571832,
162754117
]
}'Antworten
200 OK
Typ: object.
Antwortstruktur anzeigen (2 Felder)
property_idintegererforderlichlisting_idsinteger[]erforderlichBeispiel aus der API-Beschreibung (lange Arrays gekürzt)
[
{
"property_id": 12,
"listing_ids": [
1,
2
]
},
{
"property_id": 34,
"listing_ids": [
3,
4
]
}
]401 Nicht autorisiert
Typ: object.
Antwortstruktur anzeigen (1 Feld)
detailZeichenfolge403 Unzulässig
Typ: object.
Antwortstruktur anzeigen (1 Feld)
detailZeichenfolge