# Nightly pipeline of premises into a CRM

> **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).

**For Proptech and Site-Selection Software Vendor.** Automate daily calls to search_premises using your stored criteria to update your internal CRM with the latest commercial premises.

> How do I sync premises data into my system nightly?

MCP tool: `search_premises` (REST: POST /v1/claro/search)

## Automating a nightly sync
To maintain a live database, automate a nightly request to `POST /v1/claro/search` with your specific criteria. Use `get_premises` via `GET /v1/claro/premises/{id}` to fetch full details for any updated or new results.

```json
POST /v1/claro/search
Authorization: Bearer $CASAFARI_API_KEY
{
  "criteria": {
    "cities": ["Valencia"],
    "operation": "rent",
    "types": ["office"]
  }
}
```

You retrieve a consistent, up-to-date feed of available premises. Ensure your pipeline handles 429 rate limit responses by implementing retries.

## Related use cases

- [Score every premises with your own agent](https://developers.casafari.com/docs/claro/use-cases/score-premises-with-agent)
- [Explain any point with Location Intelligence](https://developers.casafari.com/docs/claro/use-cases/explain-point-location)
- [Keyword search from a simple form](https://developers.casafari.com/docs/claro/use-cases/keyword-search-form)
- [Compare a shortlist for a dossier](https://developers.casafari.com/docs/claro/use-cases/compare-shortlist)
- [Claro AI FAQ](https://developers.casafari.com/docs/claro/faq)
