# Search properties by description

> **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://platform.casafari.com/v1/property-sourcing/searches/describe`

[Property Sourcing](/docs/property-sourcing) · [REST API](/docs/rest/property-sourcing). Send `Authorization: Bearer $CASAFARI_API_KEY`: a platform API key or OAuth access token; see [platform sign-in](/docs/rest#platform-api-keys). Costs 100 units per page (1 unit = EUR 0.04).

Over MCP: none; this product is REST only.

## Description

Plain-language search: say what you look for as `tags` (up to 20 phrases) or one `description` (split into phrases at commas, semicolons and "and"), in the places named by `location_ids`, optionally within a price or price-per-m² range. Each result lists the phrases it matched in `matched_tags`. Structured filters (types, bedrooms, features) belong to `POST /v1/property-sourcing/searches`. 100 units per page.

## Request body

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

- `location_ids` (integer[], required): 1 to 100 location ids, from GET /v1/locations/search?query=<place>. 1–100 items.
- `country` (string, optional): ISO 3166-1 alpha-2 code, e.g. "ES".
- `operation` (string, optional): For sale or for rent. Values: `sale`, `rent`. default "sale".
- `tags` (string[], optional): Up to 20 phrases, e.g. ["close to the beach", "sea views"]. Send tags or description, not both. 1–20 items; at most 200 characters.
- `description` (string, optional): What you look for in plain words, split into phrases at commas, semicolons and "and" (at most 20). at most 1000 characters.
- `price` (object, optional): Asking price range.
  - `min` (integer, optional): Lowest value, inclusive.
  - `max` (integer, optional): Highest value, inclusive.
- `price_per_sqm` (object, optional): Asking price per m² range.
  - `min` (integer, optional): Lowest value, inclusive.
  - `max` (integer, optional): Highest value, inclusive.
- `page_size` (integer, optional): Results per page: up to 100 (25 on Free). 1–100; default 25.

## Example request

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

```bash
curl -X POST "https://platform.casafari.com/v1/property-sourcing/searches/describe" \
  -H "Authorization: Bearer $CASAFARI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "location_ids": [
    12345
  ],
  "country": "ES",
  "operation": "sale",
  "description": "close to the beach, sea views and a garden",
  "price": {
    "max": 900000
  },
  "page_size": 25
}'
```

## Responses

### 200 One page of properties, each with the phrases it matched.

Type: `object`.

- `results` (object[], optional)
  - `id` (string, optional): Opaque property id, `prop_...`.
  - `type` (string, optional, nullable): Property type.
  - `operation` (string, optional) Values: `sale`, `rent`.
  - `price` (object, optional)
    - `amount` (number, optional, nullable): Asking price; null when the price is on request.
    - `currency` (string, optional, nullable): ISO 4217 currency code.
    - `per_sqm` (number, optional, nullable): Asking price per m².
  - `bedrooms` (number, optional, nullable)
  - `living_area_sqm` (number, optional, nullable)
  - `location` (object, optional)
    - `id` (integer, optional, nullable): Location id.
    - `name` (string, optional, nullable): Location name.
    - `coordinates` (object, optional, nullable): Latitude and longitude.
      - `lat` (number, optional)
      - `lon` (number, optional)
  - `first_seen` (string, optional, nullable): When the property came on the market for this operation.
  - `listings_count` (integer, optional, nullable): How many listings advertise it; known on a property read with expand=listings, null in search results.
  - `matched_tags` (string[], optional, nullable): The phrases of a plain-language search this property matched; null for structured searches.
- `total` (integer, optional, nullable): How many properties match, when known.
- `next` (string, optional, nullable): URL of the next page (valid one hour), or null.

Example with sample values (ids and figures are illustrative) (long arrays shortened):

```json
{
  "results": [
    {
      "id": "prop_2Lm9xQ4rT6vB1nC8kD5wZa",
      "type": "villa",
      "operation": "sale",
      "price": {
        "amount": 870000,
        "currency": "EUR",
        "per_sqm": 4142
      },
      "bedrooms": 4,
      "living_area_sqm": 210,
      "location": {
        "id": 12345,
        "name": "Sample town",
        "coordinates": {
          "lat": 36.51,
          "lon": -4.88
        }
      },
      "first_seen": "2026-08-14",
      "listings_count": null,
      "matched_tags": [
        "close to the beach",
        "sea views"
      ]
    }
  ],
  "total": 48,
  "next": "https://platform.casafari.com/v1/property-sourcing/searches/cur_SAMPLE"
}
```

### 400 Invalid request: the problem names each field to fix (`invalid_request`).

Type: `object`.

- `type` (string, optional): The problem's documentation URL.
- `title` (string, optional)
- `status` (integer, optional)
- `detail` (string, optional): What happened and how to fix it.
- `instance` (string, optional)
- `code` (string, optional): e.g. invalid_request, payment_required, not_entitled, not_found, page_depth_exceeded, request_limit_reached.
- `request_id` (string, optional)
- `errors` (object[], optional): One entry per field to fix.
  - `field` (string, optional)
  - `message` (string, optional)

### 401 Missing or unknown API key or token.

Type: `object`.

- `type` (string, optional): The problem's documentation URL.
- `title` (string, optional)
- `status` (integer, optional)
- `detail` (string, optional): What happened and how to fix it.
- `instance` (string, optional)
- `code` (string, optional): e.g. invalid_request, payment_required, not_entitled, not_found, page_depth_exceeded, request_limit_reached.
- `request_id` (string, optional)
- `errors` (object[], optional): One entry per field to fix.
  - `field` (string, optional)
  - `message` (string, optional)

### 402 No units left to fund the call (`payment_required`).

Type: `object`.

- `type` (string, optional): The problem's documentation URL.
- `title` (string, optional)
- `status` (integer, optional)
- `detail` (string, optional): What happened and how to fix it.
- `instance` (string, optional)
- `code` (string, optional): e.g. invalid_request, payment_required, not_entitled, not_found, page_depth_exceeded, request_limit_reached.
- `request_id` (string, optional)
- `errors` (object[], optional): One entry per field to fix.
  - `field` (string, optional)
  - `message` (string, optional)

### 403 The account is not entitled to this product or country (`not_entitled`).

Type: `object`.

- `type` (string, optional): The problem's documentation URL.
- `title` (string, optional)
- `status` (integer, optional)
- `detail` (string, optional): What happened and how to fix it.
- `instance` (string, optional)
- `code` (string, optional): e.g. invalid_request, payment_required, not_entitled, not_found, page_depth_exceeded, request_limit_reached.
- `request_id` (string, optional)
- `errors` (object[], optional): One entry per field to fix.
  - `field` (string, optional)
  - `message` (string, optional)

### 429 A request limit of the plan was reached (`request_limit_reached`).

Type: `object`.

- `type` (string, optional): The problem's documentation URL.
- `title` (string, optional)
- `status` (integer, optional)
- `detail` (string, optional): What happened and how to fix it.
- `instance` (string, optional)
- `code` (string, optional): e.g. invalid_request, payment_required, not_entitled, not_found, page_depth_exceeded, request_limit_reached.
- `request_id` (string, optional)
- `errors` (object[], optional): One entry per field to fix.
  - `field` (string, optional)
  - `message` (string, optional)

## Related pages

- [Search properties (POST /v1/property-sourcing/searches)](/docs/rest/property-sourcing/search-properties)
- [Next page of a search (GET /v1/property-sourcing/searches/{cursor})](/docs/rest/property-sourcing/next-page-of-a-search)
- [Get a property (GET /v1/property-sourcing/properties/{property_id})](/docs/rest/property-sourcing/get-a-property)
- [Resolve a link or reference to its property (POST /v1/property-sourcing/properties/resolve)](/docs/rest/property-sourcing/resolve-a-link-or-reference-to-its-property)
- [Property Sourcing REST API: all operations](/docs/rest/property-sourcing)
- [How to get a bearer token for the Casafari REST API](/docs/rest)
- [MCP vs REST API compared](/docs/parity)
