Embed the Search Box with a Publishable Key
For Proptech Vendor. Embed the search box using pub_ keys and the embed endpoints, providing a limited-scope search experience for your end users.
MCP tool: search_premises (REST: POST /v1/embed/search)
The Problem
Providing a user-facing search tool on your own platform without exposing your main API key.
How it works
- Use a
pub_key issued for your specific origins. - Call the
/v1/embed/searchendpoint to display results.
Example
POST https://platform.casafari.com/v1/claro/embed/search
{
"key": "pub_example_key",
"criteria": {"cities": ["madrid"]}
}What you get
A search interface limited to 50 results per page.
Límites
pub_ keys are restricted to the embed endpoints and specific origins.