Get property by listing IDs (v1)
https://api.casafari.com/api/v1/properties/match-by-listingsSend Authorization: Bearer $CASAFARI_TOKEN; see how to get a token.
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. Type: object.
listing_idsinteger[]requiredExample request
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
]
}'Responses
200 OK
Type: object.
Show the response shape (2 fields)
property_idintegerrequiredlisting_idsinteger[]requiredExample from the API description (long arrays shortened)
[
{
"property_id": 12,
"listing_ids": [
1,
2
]
},
{
"property_id": 34,
"listing_ids": [
3,
4
]
}
]401 Unauthorized
Type: object.
Show the response shape (1 fields)
detailstring403 Forbidden
Type: object.
Show the response shape (1 fields)
detailstring