Score every premises with your own agent
For AI Agent Builder. Use `search_premises` to identify targets and then iterate through pages using `next_cursor` to retrieve every match and its location figure sources.
How to iterate through search results
MCP tool: search_premises (REST: POST /v1/claro/search). To ensure your agent evaluates all matching premises, you must implement pagination. Start with search_premises to get your initial results and a next_cursor if available. Use the next_cursor as the cursor parameter in subsequent calls until no further results remain. To get detailed figures for each, ensure your account has location access.
POST https://platform.casafari.com/v1/claro/search
Authorization: Bearer $CASAFARI_API_KEY
{
"brief": "retail space in Madrid, 200 m2",
"limit": 50
}You get a list of premises, each with location_sources showing the unit, source, and vintage of the data. Limits are 200 results per page, with check forced off above 50 results.