Get one premises
https://platform.casafari.com/v1/claro/premises/{id}Send Authorization: Bearer $CASAFARI_API_KEY: a platform API key or OAuth access token, metered in platform tokens; see platform sign-in and Claro AI. On the platform this is GET https://platform.casafari.com/v1/claro/premises/{id}; GET /v1/premises/{id} is Claro's own path, which the platform adds /claro to. The platform forwards the call to Claro unchanged: Claro's Claro-Version header and its error bodies ({"error":{"code","message"}}, with rate_limited and quota_reached on a 429) pass through.
Over MCP: get_premises (equivalent). MCP and REST compared.
Description
One premises in full by the id a search returned: its data, facts read from its text with the sentence each came from (fact_sources), its coordinates (exact, or approximate: snapped to a ~500 m cell), location figures (with location access), an excerpt, up to 8 photos (photos: Casafari thumbnail URLs; search results carry the first 4, and photo_source names the advertiser and page they come from), and the agency (agency.name) with its listing page as agency.listing_url: its own site, or in Spain and Germany its page on a property portal when it has no site of its own; null when there is none (agency_links lists every agency's page for the premises, earliest first, the agencies' own sites before portal pages; never a US portal's). energy is the energy certificate as the ad advertises it, unverified: not checked against the official register (rating and emissions rating A to G, kWh/m² and kg CO2/m² a year, each null when not stated; null until read); energy.official is the regional register's certificate, only when it is matched on this unit and declares commercial use, with the register and the attribution its licence asks for (else null). status says whether it is still on the market. timeline gives when it was first listed (listed_since, days_listed) and, per live operation, the first and current asking price, the number of price cuts, the change in percent and the asking-price periods (history); null fields are not stated. parcel_zoning (Parcel Zoning; Spain and Germany, where the engine has the region: today Spain: Bizkaia, Catalonia, Madrid, Valencian Community; Germany: Hamburg, NRW; GET /v1/parcel-zoning/coverage has the current list): the zoning of the parcel the premises stands on, found by its exact pin or, when the pin is approximate, by its street and number as the parcel's official address with the agency's pin within 150 m of it (matched_by: pin or address) from the official cadastre (ALKIS in Germany) and the municipal plan (a Bebauungsplan in Germany): land_class, zone, the plan's rules and buildable_m2 (the parcel's area times the plan's density, GFZ in Germany; the parcel is not the premises), candidate_rules when the parcel's zone is not mapped (possible zones with what each would allow: conditions, never facts), flags (in Germany fits_surroundings for §34 BauGB land, where no figures apply, and plan_not_digitised when the plan's figures are only in its scanned PDF) and sources, whose attribution must be shown; null when there is no answer (outside those regions, no exact pin and no single house number, an address the cadastre does not have or names on several parcels, a pin too far from the address's parcel, or no parcel). cadastre (Spain, Catastro's common regime: not Navarra or the Basque Country): the official cadastre's record of the parcel a premises stands on, found by its exact pin or else by its street and number within 250 m of the agency's pin (match), each figure the register's beside the property's own as advertised: level (unit when the parcel has one registered unit and the figures are its own; parcel when it has several and the figures are the whole building's, never the premises'), parcel_area_m2 (land, not the premises' size), registered_units, uses and official_use (uso principal), built_area_m2 (register and advertised), year_built (from, to), floor or floors (register and advertised), and source (Dirección General del Catastro), whose attribution must be shown; a null is not stated. Where the register and the advertised value differ, give both and never say which is right. No cadastral reference and no owner data. null when there is no answer (no parcel contains the pin, or the address names no house number or no one parcel).
Path parameters
idstringrequiredQuery parameters
insightsstringinsights: the page's charts as data.1segmentsstringassessmentstringsite_assessment first in insights (see the get_premises tool's assessment).1langstringen deExample request
Placeholders only: replace the token and the values with your own.
curl "https://platform.casafari.com/v1/claro/premises/<id>" \
-H "Authorization: Bearer $CASAFARI_API_KEY"Responses
200 Get one premises
No body.
400 Invalid request
Type: object.
Show the response shape (3 fields)
errorobject2 properties
codestringrequiredmessagestringrequired401 Missing or invalid key
Type: object.
Show the response shape (3 fields)
errorobject2 properties
codestringrequiredmessagestringrequired403 No access
Type: object.
Show the response shape (3 fields)
errorobject2 properties
codestringrequiredmessagestringrequired429 Rate limited
Type: object.
Show the response shape (3 fields)
errorobject2 properties
codestringrequiredmessagestringrequired