# Nightly Pipeline into a CRM or BI

> **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 Franchise Operations Team.** Automate nightly fetches using search_premises to identify new matches and get_premises to retrieve full data for your internal systems.

> How do I sync available premises to my CRM nightly?

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

## The Problem
Teams need to maintain a nightly view of market availability in their CRM.

## How it works
1. Run `search_premises` with your core criteria nightly.
2. Iterate through results using `next_cursor` to get all matches.
3. For each `pm_` id retrieved, call `get_premises` to fetch full details including zoning and cadastral records.

## Example
```json
POST https://platform.casafari.com/v1/claro/search
Authorization: Bearer $CASAFARI_API_KEY
{
  "criteria": {"operation": "rent", "cities": ["valencia"]},
  "limit": 50
}
```

## What you get
Consolidated data for your internal database.

## Limits
Respect platform rate limits to avoid 429 responses.

## Related use cases

- [Score Premises with Your Own Agent](https://developers.casafari.com/docs/claro/use-cases/autonomous-scoring)
- [Explain Any Point for Premises Found Elsewhere](https://developers.casafari.com/docs/claro/use-cases/explain-point)
- [Keyword Search from a Simple Form](https://developers.casafari.com/docs/claro/use-cases/keyword-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)
