Nightly pipeline of premises into a CRM
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 for expansion.
Automating your data pipeline
MCP tool: search_premises and get_premises (REST: POST /v1/claro/search and GET /v1/claro/premises/{id}). To maintain an up-to-date database, you run a nightly job that queries Claro for new or updated premises in your target regions. You use the criteria object rather than a brief to ensure precise filtering.
POST /v1/claro/search
Authorization: Bearer $CASAFARI_API_KEY
{
"criteria": {
"cities": ["Barcelona"],
"types": ["shop"],
"operation": "rent"
}
}You get a stable set of premises IDs and their data. Ensure you handle the 429 rate limits by implementing retries if you hit the rate_limited code.