# Where do I create a Casafari API key, and can I revoke it?

> **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).

Create a Casafari API key in the self-serve platform's console at https://platform.casafari.com/console; the key, starting `cf_sk_`, is shown only once, so store it immediately.

Free allows 2 API keys and Agent 5. How to revoke or rotate a key, and whether keys expire, are not published yet; Casafari can answer (https://www.casafari.com/).

Once you have the key:

- Keep it in your server's environment or a secret store ([keeping a key safe](https://developers.casafari.com/docs/faq/keep-api-key-safe)).
- Send it in the `X-API-Key` header or as `Authorization: Bearer <api_key>`, never in a URL.
- Try it with a free call: `GET https://platform.casafari.com/v1/locations/search?query=Lisbon` costs 0 units ([first REST call](https://developers.casafari.com/docs/faq/first-rest-call)).

The console also creates OAuth clients: see [API key or OAuth client?](https://developers.casafari.com/docs/faq/api-key-or-oauth-client).

Existing Casafari clients don't use these keys: the account owner creates API clients in Settings → API Clients on https://docs.api.casafari.com/ ([existing API reference](https://developers.casafari.com/docs/faq/existing-api-reference)).

## Related questions

- [How do I authenticate with the Casafari REST API?](https://developers.casafari.com/docs/faq/rest-authentication)
- [Do I need an API key for Casafari MCP?](https://developers.casafari.com/docs/faq/api-key)
- [Should I use an API key or an OAuth client for the Casafari REST API?](https://developers.casafari.com/docs/faq/api-key-or-oauth-client)
- [How do I get an OAuth access token for the Casafari REST API with client credentials?](https://developers.casafari.com/docs/faq/oauth-client-credentials-rest)
- [Where should I keep my Casafari API key, and can I paste it into an AI assistant?](https://developers.casafari.com/docs/faq/keep-api-key-safe)

All questions: https://developers.casafari.com/docs/faq#create-api-key
