Platform

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.The most complete property index in Europe: a deduplicated, cleaned property graph.

How the graph is built

Parcel Zoning · REST API

Zoning and buildable area of a parcel by cadastral reference

GEThttps://platform.casafari.com/v1/parcel-zoning/es/parcels/{cadastral_ref}
API key5 tokens a call1 parameter

Send Authorization: Bearer $CASAFARI_API_KEY: a platform API key (cf_sk_...) from the console, or an OAuth access token; X-API-Key carries the key too. See platform API keys. Costs 5 tokens a call (1 token = EUR 0.04).

Over MCP: parcel-zoning_lookup (equivalent). See MCP and REST compared.

Description

Costs 5 tokens a call. cadastral_ref is a Catastro reference such as 9872023DF2897S (14 or 20 characters), or Bizkaia's form 48.085.1022.07019 (the dots are optional). When the parcel's zone is not known, rules is null and candidate_rules says what each possible zone of the municipality would allow: possibilities, not the answer. A figure the sources do not give is null, never 0. sources[] names every dataset used with its licence; show that attribution. A parcel outside the coverage answers 404 not_found, not billed.

Path parameters

cadastral_refstringrequired

Example request

Placeholders only: replace the token and the values with your own.

curl
curl "https://platform.casafari.com/v1/parcel-zoning/es/parcels/<cadastral_ref>" \
  -H "Authorization: Bearer $CASAFARI_API_KEY"

Responses

200 Success.

Type: object.

Errors

Every error is an application/problem+json body (RFC 9457) with type (a page that explains it), title, status, detail (what to do), instance, code and request_id (what to quote to support). A 402 carries an upgrade_url, a 429 a Retry-After header. The codes each status can carry:

Tip: add .md to any URL to read it as Markdown.