# Get property by listing IDs (v1)

> **Casafari is the AI agent-native real estate data intelligence platform.** The most complete property index in Europe: a deduplicated, cleaned property graph of residential and commercial property, for sale and for rent, in 16 countries. Every property is one record with its full price and market history. [How the property graph is built](/docs/property-graph).

`POST https://api.casafari.com/api/v1/properties/match-by-listings`

[Properties](/docs/properties) · [REST API](/docs/rest/properties). Send `Authorization: Bearer $CASAFARI_TOKEN`; see [how to get a token](/docs/rest#get-a-token).

Over MCP: no tool does this. See [MCP and REST compared](/docs/parity#properties).

## Description

Returns a mapping properties IDs to listing IDs.

## Request body

Content type `application/json`. Optional. Type: `object`.

- `listing_ids` (integer[], required): List of listing IDs. at most 100 items; ≥ 1.

## Example request

Placeholders only: replace the token and the values with your own.

```bash
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": [
    1,
    2,
    3,
    4
  ]
}'
```

## Responses

### 200 OK

Type: `object`.

- `property_id` (integer, required): ID of the property.
- `listing_ids` (integer[], required): List of listing IDs. 1–2147483647.

Example from the API description (long arrays shortened):

```json
[
  {
    "property_id": 12,
    "listing_ids": [
      1,
      2
    ]
  },
  {
    "property_id": 34,
    "listing_ids": [
      3,
      4
    ]
  }
]
```

### 401 Unauthorized

Type: `object`.

- `detail` (string, optional): Description of the error encountered.

### 403 Forbidden

Type: `object`.

- `detail` (string, optional): Description of the error encountered.

## Questions about this

- [Can I search properties over Casafari MCP?](/docs/faq/properties-over-mcp)
- [How do I look up one property and its price history?](/docs/faq/example-property-lookup)
