Casafari API and MCP Platform: frequently asked questions
Answers to what people and agents ask about the Casafari API and MCP Platform: what it is, where it covers, its products and tools, access, connecting a client, sign-in, limits, worked examples, the data and pricing. Every question has a permalink of its own; every answer links the page that documents it.
What it is
What is Casafari?
Casafari is a real estate data intelligence platform whose data is a deduplicated, cleaned property graph, with one record per property and its full history.
Casafari gathers property advertisements from agency websites and portals and maps each one to a single schema: type, operation, price, area, rooms, features, condition, energy rating and location. It then cleans the values, detects when several agencies and portals are advertising the same property, and merges them into one record per property. That record holds every price change, status change, appearance and removal, each with its date. Residential and commercial properties, for sale and for rent, share one schema and one location tree. Count properties, not advertisements. By Casafari's own count, the graph is the most complete property index in Europe: at least 40% more coverage of deduplicated properties, and 7 times more property advertisements tracked, than any standalone platform or portal (why).
Casafari calls itself the AI agent-native real estate data intelligence platform. AI assistants reach the graph through the self-serve platform at platform.casafari.com, where anyone can sign up; existing Casafari clients also keep the Casafari REST API (which address to use).
What is Casafari MCP?
Casafari MCP lets an AI assistant or agent use Casafari's real estate data through the self-serve platform's remote MCP server, which signs in with OAuth 2.1.
One address for every product:
- https://platform.casafari.com/mcp
Add it once as a connector named Casafari, sign in once, and every product's tools are there, named after their product (comparables_get_comparables, area-insights_get_heatmap, property-sourcing_search); locations_search and account_status are free. In Claude Code: claude mcp add --transport http casafari https://platform.casafari.com/mcp. Assistants such as Claude sign in with OAuth 2.1, no API key is needed, and you pay by usage. Each product is also its own server, https://platform.casafari.com/mcp/<product>, for a connector limited to one product (the list; Connect to the Casafari Platform, All tools).
Already a Casafari client? Sign up the same way; if you have a contract, Casafari sets your account up on Custom. The old gateway, https://mcp.casafari.com/, is the legacy gateway: it still answers, and its servers are moving to the platform.
For code rather than an assistant, see What is the Casafari REST API?. To pick a route, see which address to use and the MCP server URL.
Which address to use
Which address do I use: api.casafari.com or platform.casafari.com (mcp.casafari.com is the legacy gateway)?
New users and every MCP user start at platform.casafari.com, Casafari's self-serve platform; existing Casafari clients keep api.casafari.com for REST, and mcp.casafari.com is the legacy gateway, still answering and moving to the platform.
If you're new to Casafari: use https://platform.casafari.com.
- Assistants connect over MCP at https://platform.casafari.com/mcp, one address for every product; each product is also its own server at
https://platform.casafari.com/mcp/<product>, for example https://platform.casafari.com/mcp/comparables. - Code calls REST at
https://platform.casafari.com/v1/<product>for account, locations, area-insights, property-sourcing, seller-leads, private-sellers, comparables, comparables-transactions, parcel-zoning and claro. High Potential Seller Leads is REST only; every other product has an MCP server.
Sign up yourself, try without a card and pay by usage: how to sign up.
If you're a Casafari client: your existing REST integration keeps https://api.casafari.com, the Legacy API, with your existing login and contract. Nothing changes there: there is no migration and no account linking. New work, Property Sourcing included, can use the platform's routes. For MCP, use the self-serve platform like everyone else: sign up at https://platform.casafari.com/console/, and if you have a contract, Casafari sets your account up on Custom. Details: Existing API customers and what changes for you.
Full URLs: MCP server URL and REST base URL.
For existing Casafari clients
I already have Casafari MCP or API access. Does anything change for me?
For the Casafari REST API, nothing changes; for MCP, the old gateway, mcp.casafari.com, is the legacy gateway (still answering, moving to the platform), and you connect through the self-serve platform's MCP servers like everyone else.
- REST: keep calling
https://api.casafari.com(Legacy API) with your existing login, access tokens and contract. There is no migration and no account linking. - MCP: sign up at https://platform.casafari.com/console/ and connect each product you use, such as https://platform.casafari.com/mcp/comparables (all URLs, Connect to the Casafari Platform). If you have a contract, Casafari sets your platform account up on Custom. Your Casafari REST API login and access tokens are not linked to it.
The self-serve platform's tokens and credits never apply to your REST API contract (quota versus tokens).
More: Existing API customers and which address to use.
Access and sign-up
How do I get an API key and make my first call?
Create an account at https://platform.casafari.com (the Free plan needs no card), then create an API key in the console and send it with your first call.
- Create a key (
cf_sk_…) in the console; it is shown once, so store it at once, and never put it in a URL. - Call
GET https://platform.casafari.com/v1/locations/search?query=Lisbonwith the key in theX-API-Keyheader, or asAuthorization: Bearer <api_key>. Place lookups cost 0 tokens, so this first call is free.
Assistants do not need a key: add a product's MCP server and sign in with OAuth (connecting a client). A Free account has 1 member and 2 API keys; Agent has 1 member and 3 keys; Agency has 5 members and 10 keys (pricing). What the Free plan includes is in the Free plan; the REST reference is in REST API and platform API keys.
Existing Casafari clients keep their login on the Casafari REST API (Existing API customers).
Plans and prices
Is there a free plan for Casafari MCP or the API, and what does it include?
Yes: the Free plan on the Casafari self-serve platform gives 1,000 tokens with no end date: they last until you spend them, and it needs no card.
Every operation costs a fixed number of tokens; some cost less in an AI assistant, over MCP, than over REST. Free includes every self-serve product except Comparables with Transactions, which returns individual registered sale records and is in the paid plans; buying credits unlocks it too. The aggregated registered sale figures — Area Insights sales statistics and the Property Sourcing closing prices — are on Free. A Free account has 1 member, 2 API keys and 2 OAuth clients, and request guards of 2 requests in flight, 6 requests a minute, 50 per rolling 3 hours, 100 a day, 300 per rolling 7 days and 10 different places a day, free calls included, at most 500 tokens per rolling 3 hours, plus 4 Claro AI searches in all.
Once the free tokens are used up, place lookups and account status stay usable, and paid calls answer with a payment link. Free users may buy credits without subscribing, at €0.04 a token from €20, excluding VAT. Or compare the plans.
To start, sign up at platform.casafari.com. For existing Casafari REST API contracts, Casafari publishes no such figures.
Tokens, credits and usage windows
What are tokens on the Casafari platform?
A token is how the Casafari platform counts usage: every call costs a set number of tokens, and some calls cost less in an AI assistant, over MCP, than over the API.
- Place lookups (Location Lookup) and the account status check are free.
- What a REST operation costs is on its page in the REST reference, and the response headers
Casafari-Units-ChargedandCasafari-Units-Remainingsay what a call cost and what is left. - What the common calls cost over the API and in AI assistants, side by side, what the plans include and what a token costs are on Pricing.
- How many tokens a plan lets you use in any 3 hours or 7 days, and what happens when they run out, are on Limits and usage windows.
To see where you stand, ask the assistant to call account_status, or call GET /v1/account.
Do unused tokens on a yearly plan roll over?
Monthly plan: unused tokens don't carry over. Yearly plan: unused tokens stay available until the end of your paid year.
Tokens carried over do not move into a renewed year. The plan's usage windows still apply. See Pricing, Limits and usage windows and the Terms of Use.
Paying and running out of tokens
My AI agent says payment is required or I'm out of tokens. What do I do?
On the self-serve platform, a payment error carries a payment link: a person opens it and pays, or waits for a usage window to refill, then the agent retries.
- Tokens ran out: REST answers
402 payment_requiredwith anupgrade_urland aLinkheader withrel="payment"; a platform MCP server answers a payment error with the same link (error page). - A 3-hour usage window is used up and no credits remain: REST answers
429 usage_limit_reachedwith the refill time, aRetry-Afterheader and anupgrade_urlto buy credits; MCP answers a payment error with the same members. - The spending cap is reached:
402 payment_requiredwith the reasonspending_cap_reached, until the period ends or the cap is raised.
Once a person has paid, the agent polls GET /v1/account/payment-links/{id} about every 5 seconds until the status is completed, then retries.
The agent cannot pay by itself (can an agent pay?); credits top up automatically only if a person turned on auto top-up. Whether an assistant must reconnect after paying is not published. See handling a 402 and credits.
A quota in a Casafari REST API contract is different: see quota versus tokens.
Products and tools
Which Casafari products and tools can I use?
Casafari's products are grouped by what you want to do: find homes, value a home, understand an area, know the agencies and find premises. Every one is on the self-serve platform over REST, and the ones with an MCP server are also available to AI assistants.
- Find homes: Property Sourcing, Private Seller Leads, High Potential Seller Leads and New Market Leads.
- Value a home: Comparables & Valuation, Comparables with Transactions, Cadastre and Parcel Zoning.
- Understand an area: Area Insights.
- Know the agencies: AgencyGraph.
- Find premises: Claro AI.
Every tool and operation is listed in All tools, and MCP and REST compared shows which tools exist over which interface. Each operation costs tokens. Existing Casafari clients keep the Casafari REST API as it is (Existing API customers).
Coverage
Which countries does Casafari cover?
Casafari's API permissions list exactly 16 markets, and the documentation names no others. The market a given tool serves is only what that tool's own description says.
- Andorra (AD)
- United Arab Emirates (AE)
- Austria (AT)
- Belgium (BE)
- Switzerland (CH)
- Germany (DE)
- Spain (ES)
- France (FR)
- Greece (GR)
- Italy (IT)
- Luxembourg (LU)
- Monaco (MC)
- Poland (PL)
- Portugal (PT)
- San Marino (SM)
- United States (US)
The self-serve platform at platform.casafari.com covers the same 16 markets.
Not every tool covers every market: a few name a market in their own description, such as Location Lookup's postcode search, which covers Spain, part of France and parts of Lisbon (Location Lookup, All tools). If the country you need is not on the list, ask Casafari. The documentation publishes no other country count.
See: Casafari API and MCP Platform, Comparables & Valuation, and Location Lookup's GET /v1/locations/search.
For anything not covered here, contact Casafari: https://www.casafari.com/
Connect a client or make a first call
How do I connect Casafari to Claude, ChatGPT, Claude Code or Cursor?
Add Casafari's MCP server, https://platform.casafari.com/mcp, to your client as a connector named Casafari and sign in with OAuth; no API key is needed, and every product's tools are there.
- Claude: open Customize → Connectors, choose + Add and Add custom connector, paste the URL and choose Connect (Claro AI alone is also in the Connectors Directory: Claro AI by Casafari). On Team and Enterprise plans only an organisation owner can add a custom connector, once, for everyone.
- ChatGPT: turn on Developer mode (Apps & Connectors, advanced settings), create a connector with the URL, choose OAuth, then sign in and approve.
- Claude Code: run
claude mcp add --transport http casafari https://platform.casafari.com/mcp, then/mcpand Authenticate. The plugin in casafari/casafari-mcp does the same. - Cursor: choose Add to Cursor in Casafari in the Cursor Directory, or add
"casafari": { "url": "https://platform.casafari.com/mcp" }undermcpServersin~/.cursor/mcp.json.
Sign in or create your self-serve platform account when asked. To check, ask the assistant to call account_status. A connector limited to one product uses that product's own server, https://platform.casafari.com/mcp/<product>. VS Code, Zed and other clients, and the per-product list, are in Connect your assistant and Connect to the Casafari Platform.
How do I run a Casafari playbook in ChatGPT or Claude?
Add a second connector, https://platform.casafari.com/mcp/playbook, beside the Casafari one, the same way (in ChatGPT: Developer mode, create a connector named Playbooks with that URL and OAuth; in Claude: Customize → Connectors → Add custom connector), and sign in once. The one server has every product's tools but does not run playbooks.
Then ask for the outcome in words, for example "Run the seller pitch pack playbook for Spain" or "What would a monthly market report for Lisbon cost?". The assistant calls playbook_plan, which is free and runs nothing: it shows the steps and the most they can cost in tokens, and the run starts only after you agree. A run costs exactly the sum of its steps, charged by each product as any call. If it stops for a payment, a verification or a time limit, the finished steps keep their results and the same run id continues from the next step without billing them again.
A run needs the signed-in connector: with an API key a playbook must finish in one call, so a longer one answers needs_oauth. Every playbook, with what you get, where it runs and its cost, is at Playbooks; each page gives the prompt to type and the same steps as REST calls.
Use cases and worked examples
How do I value a home or find comparables with Casafari?
Request comparables around an address or a point, as in Casafari's example: a 3-bedroom flat near Avenida da Liberdade, Lisbon, with comparables within 1 km.
If you're a Casafari client: use the platform like everyone else (below): POST /v1/comparables/search returns the comparables and the estimated prices in one answer. An existing integration on the Legacy API keeps POST /api/v2/comparables/search and POST /api/v1/valuation/comparables-prices.
If you're new to Casafari: connect your assistant to https://platform.casafari.com/mcp/comparables and ask the same question, or from code call POST https://platform.casafari.com/v1/comparables/search with the same input as the MCP tool.
- The assistant calls
comparables_get_comparableswith a circle. The target point is an address, coordinates or, in Spain only, a cadastral reference. The call also sets the distance in kilometres, operationsale, typeapartmentandbedrooms. - It returns comparables ranked by similarity, with price, area, status, dates and price-change history. It also returns aggregated statistics and fast-sell, fair-market and out-of-market price estimates.
- Set
sold_or_rented_afterto a date to include properties sold or rented since then, or tonullfor active properties only.
Each comparables call costs 25 tokens on either.
See: Comparables & Valuation and What does Comparables & Valuation do?
How do I analyse how prices in an area have moved over time?
Resolve the place to a location id, fetch a price time series from Area Insights, then compute growth and volatility with time-series operations.
If you're a Casafari client: use the platform like everyone else (below); from code, POST /v1/area-insights/time-series returns the series. An existing integration on the Legacy API keeps POST /market-analytics-api/time-series.
If you're new to Casafari: over MCP, on the self-serve platform:
locations_search, on the Area Insights server itself (also on https://platform.casafari.com/mcp/locations): pass the place name and pick thelocation_idyou want (location ids).area-insights_get_time_series_data(https://platform.casafari.com/mcp/area-insights): requesttype_groupapartment,business_typesale,data_pointavg_price_psqmanddate_intervalmonth, with adate_rangeand the location ids. Each point holds one period's value.area-insights_get_time_series_operations: request the same segment with operations such asmean,delta_pct,cagr,stdandcv.
A place lookup costs 0 tokens; over MCP a time series costs 5 tokens and its operations 1 token. Over REST, use https://platform.casafari.com/v1/area-insights, described in https://platform.casafari.com/v1/area-insights/openapi.json, where a time series costs 25 tokens.
Casafari's example question: "How has the asking price per m² of flats in Valencia moved over the last three years?"
See: Area Insights and What is Area Insights?
How do I turn a place name into a location id?
Use a location lookup to turn a place name into location ids, then pass those ids to the operations that need them.
If you're a Casafari client: use Location Lookup on the platform like everyone else (below): GET /v1/locations/search finds places by name or postcode and GET /v1/locations/by-coordinates resolves a point. An existing integration on the Legacy API keeps POST /api/v1/references/locations and its typeahead.
If you're new to Casafari: use Location Lookup on the self-serve platform, over MCP at https://platform.casafari.com/mcp/locations (locations_search finds places by name, locations_get fetches one) or REST at https://platform.casafari.com/v1/locations. locations_search is also on the Area Insights MCP server, so a single Area Insights connector can find ids itself. Searching by name, fetching a place, reading its children and resolving coordinates all cost 0 tokens, for example GET https://platform.casafari.com/v1/locations/search?query=Lisbon. The ids work with the Area Insights tools.
comparables_get_comparablesneeds no id: it takes coordinates, an address or a cadastral reference.
See: Area Insights and References.
For agents and machine readers
Can I read these docs as Markdown, and is there an llms.txt?
Yes: add .md to any page's URL or send Accept: text/markdown, and /llms.txt indexes every page and tool. None of it needs a key.
- /llms.txt is the index, and /llms-full.txt holds the whole reference in one file.
- /tools.json gives every tool's name, title, input schema and output schema.
- You'll also find the API catalog, MCP server card, agent skill, agentic resource manifest and the sitemap at
/sitemap.xml. - Markdown responses are served as
text/markdown, with anx-markdown-tokensheader that estimates their size. - In a browser that supports
navigator.modelContext, pages register these WebMCP tools:search_casafari_mcp_docs,get_casafari_tool_reference,get_casafari_rest_operation,get_casafari_connection_configandopen_casafari_docs_page. - The self-serve platform publishes its own https://platform.casafari.com/llms.txt and https://platform.casafari.com/llms-full.txt, plus an OpenAPI for each product.
See: For AI agents.