Get property by ID (v1)
GET
https://api.casafari.com/api/v1/properties/search/{property_id}Bearer token3 parameters
Send Authorization: Bearer $CASAFARI_TOKEN; see how to get a token.
Over MCP: no tool does this. MCP and REST compared.
Description
Returns a property object.
Path parameters
property_idstringrequiredQuery parameters
limitintegerNumber of results to return per page.
offsetintegerOffset from which to start the search. Maximum value is 50000.
Example request
Placeholders only: replace the token and the values with your own.
curl "https://api.casafari.com/api/v1/properties/search/<property_id>" \
-H "Authorization: Bearer $CASAFARI_TOKEN"Responses
200 OK
Type: object[].
Show the response shape (177 fields)
countintegernextstring (uri)nullablepreviousstring (uri)nullableresultsobject64 properties
property_idintegerrequiredID of the property.
primary_listing_idintegerrequiredPrimary listing (ad) ID of the property which is defined after the matching into property.
typestringrequiredProperty type, as returned by the GET /api/v1/references/types endpoint.
40 allowed values
apartment studio duplex penthouse dachgeschosswohnung etagenwohnung erdgeschosswohnung country_house house palace townhouse villa country_estate chalet bungalow family_house reihenhaus reihenendhaus reihenmittelhaus einfamilienhaus zweifamilienhaus landwirtschaftliche_betriebe retail office industrial warehouse hotel other_commercial restaurant werkstatt plot urban_plot rural_plot room other garage parking apartment_building office_building mix_use_buildingtype_groupstringrequiredProperty type group, as returned by the GET /api/v1/references/types endpoint.
operationsstring[]requiredOperation types for which property is available.
sale rentlocationobjectrequiredInformation about property location.
4 properties
location_idintegerrequiredLocation ID, as returned by the POST /api/v1/references/locations endpoint.
namestringrequiredLocation name.
administrative_levelstringrequiredLocation administrative level.
zip_codesstring[]The location zip codes.
default []
locations_structureobject[]requiredInformation about all the parent locations (including property location) up to the country.
4 properties
location_idintegerrequiredLocation ID, as returned by the POST /api/v1/references/locations endpoint.
namestringrequiredLocation name.
administrative_levelstringrequiredLocation administrative level.
zip_codesstring[]The location zip codes.
default []
coordinatesobjectrequiredProperty coordinates.
2 properties
latitudenumberrequiredLatitude.
longitudenumberrequiredLongitude.
total_areaintegerrequiredTotal area.
living_areaintegerrequiredLiving area.
plot_areaintegerrequiredPlot area.
terrace_areaintegerrequiredTerrace area.
bathroomsintegerrequiredNumber of bathrooms.
bedroomsintegerrequiredNumber of bedrooms.
roomsintegerrequiredNumber of rooms.
number_of_parkingsintegernullableNumber of parking spaces.
floor_numberintegerrequiredExact floor number. Negative values indicate underground floors (e.g. basements).
rent_currencystringrequiredRent price currency code.
rent_periodstringrequiredRent period.
day week fortnight month year nonerent_priceintegerrequiredCurrent rent price, in the currency of the listings (specified by the
rent_currency field).rent_statusstringrequiredCurrent rent status of the property.
active reserved hold rented nonesale_currencystringrequiredSale price currency code.
sale_priceintegerrequiredCurrent sale price, in the currency of the listings (specified by the
sale_currency field).sale_statusstringrequiredCurrent sale status of the property.
active reserved hold sold noneis_private_propertybooleanrequiredWhether the property is listed by a private individual, as opposed to an agent or a professional.
featuresobjectrequiredProperty features, as returned by the GET /api/v1/references/features endpoint.
7 properties
floorstringrequiredFloor type.
no_floor ground middle toporientationstringrequiredProperty view orientation.
exterior interiorviewstringrequiredView from the property. This field is deprecated and will be removed in the next major update. Please, use
views field instead.water landscape city golf parkviewsstring[]requiredList of views from the property.
water landscape city golf parkdirectionstringrequiredCardinal direction the property faces. This field is deprecated and will be removed in the next major update. Please, use
directions field instead.north south east westdirectionsstring[]requiredList of cardinal directions the property faces.
north south east westcharacteristicsstring[]requiredProperty characteristics.
balcony elevator no_elevator garage garden parking storage swimming_pool terrace rental_license furniture rented_out life_annuityconditionstringrequiredProperty condition, as returned by the GET /api/v1/references/conditions endpoint.
used ruin very-good new othersale_time_on_marketobjectrequiredInformation about the property last activity on the sales market.
4 properties
date_startstring (date)requiredStart date of activity on the market.
date_endstring (date)requiredEnd date of activity on the market.
days_on_marketintegerrequiredNumber of days property was / is on the market.
has_untracked_periodbooleanrequiredWhether the property was already on the market when it started being tracked.
rent_time_on_marketobjectrequiredInformation about the property last activity on the rental market.
4 properties
date_startstring (date)requiredStart date of activity on the market.
date_endstring (date)requiredEnd date of activity on the market.
days_on_marketintegerrequiredNumber of days property was / is on the market.
has_untracked_periodbooleanrequiredWhether the property was already on the market when it started being tracked.
listingsobject[]requiredThe list of listings related to the property.
41 properties
listing_idintegerrequiredID of the listing (ad).
total_areaintegerrequiredTotal area.
plot_areaintegerrequiredPlot area.
terrace_areaintegerrequiredTerrace area.
bedroomsintegerrequiredNumber of bedrooms.
bathroomsintegerrequiredNumber of bathrooms.
roomsintegerrequiredNumber of rooms.
sale_statusstringrequiredCurrent sale status of the listing.
active reserved hold sold nonesale_currencystringrequiredSale price currency code.
sale_priceintegerrequiredCurrent sale price, in the currency of the listing (specified by the
sale_currency field).sale_price_baseintegerrequiredCurrent sale price, in Euros.
rent_statusstringrequiredCurrent rent status of the listing.
active reserved hold rented nonerent_currencystringrequiredRent price currency code.
rent_priceintegerrequiredCurrent rent price, in the currency of the listing (specified by the
rent_currency field).rent_price_baseintegerrequiredCurrent rent price, in Euros.
agency_legal_idstringrequiredAgency legal identifier specified on the source. Only for France and its overseas territories(DROM and COM).
agencystringrequiredThe company that manages the listing.
listing_urlstringnullableURL of the listing. Available only for currently active listings.
listing_old_urlstringnullableOld URL of the listing. Available only for currently inactive listings.
descriptionstringrequiredProperty description.
listing_uidstringrequiredUnique ID of the listing on the source site.
construction_yearintegerrequiredConstruction year.
source_namestringrequiredThe name of the source where the listing is displayed.
contacts_infoobjectrequiredInformation about listing contacts.
3 properties
namestringrequiredThe owner name. Only for FSBO listings.
emailstring (email)requiredThe email contact.
phonestringrequiredThe phone contact.
energy_certificatestringrequiredEnergy certificate classification that attests to the energy efficiency of a property. This field is deprecated and will be removed in the next major update. Please, use
energy_rating field instead.energy_ratingstringrequiredEnergy rating that attests to the energy efficiency of a property.
heating_typestringrequiredType of heating.
ceiling_labelstringrequiredCeiling height in meters. Available only for Germany.
commissionnumberrequiredCommission percentage. Available only for Germany.
min_rent_areaintegerrequiredMinimum rental area in square meters (mainly applicable to commercial properties). Available only for Germany.
companiesobject[]requiredCompanies to which the listing belongs.
2 properties
namestringrequiredCompany name.
casafari_connect_onbooleanrequiredWhether the company is connected to Casafari Connect.
created_atstring (date)requiredThe datetime when the listing was added.
floor_numberintegerrequiredExact floor number. Negative values indicate underground floors (e.g. basements).
is_privatebooleanrequiredWhether the listing is listed by a private individual, as opposed to an agent or a professional.
casafari_connectbooleanrequiredWhether the company is connected to Casafari Connect.
thumbnailsstring[]List of the thumbnail image URLs.
picturesstring[]List of the original picture image URLs.
ref_numbersstring[]List of reference numbers.
is_private_propertybooleanrequiredWhether the listing is listed by a private individual, as opposed to an agent or a professional.
is_auction_propertybooleanrequiredWhether the listing is an auction property.
is_bank_propertybooleanrequiredWhether the listing is a bank property.
historyobject[]List of sale and rent price history data. This field is deprecated and will be removed in the next major update. Please, use
sale_price_history and rent_price_history field instead.default []
5 properties
sale_priceintegerrequiredSale price, in the currency of the listings (specified by the
sale_currency field).sale_currencystringrequiredSale price currency code.
rent_priceintegerrequiredRent price, in the currency of the listings (specified by the
rent_currency field).rent_currencystringrequiredRent price currency code.
changed_atstring (date)requiredDate when the estate was last updated.
sale_price_historyobject[]List of sale price history data.
default []
4 properties
date_startstring (date)requiredStart date when the change was applied.
date_endstring (date)requiredEnd date when the change was applied.
sale_price_oldintegerrequiredOld sale price, in the currency of the listings.
sale_price_newintegerrequiredNew sale price, in the currency of the listings.
rent_price_historyobject[]List of rent price history data.
default []
4 properties
date_startstring (date)requiredStart date when the change was applied.
date_endstring (date)requiredEnd date when the change was applied.
rent_price_oldintegerrequiredOld rent price, in the currency of the listings.
rent_price_newintegerrequiredNew rent price, in the currency of the listings.
sale_status_historyobject[]List of sale status history data.
default []
4 properties
date_startstring (date)requiredStart date when the change was applied.
date_endstring (date)requiredEnd date when the change was applied.
sale_status_oldstringrequiredOld sale status, in the currency of the listings.
sale_status_newstringrequiredNew sale status, in the currency of the listings.
rent_status_historyobject[]List of rent status history data.
default []
4 properties
date_startstring (date)requiredStart date when the change was applied.
date_endstring (date)requiredEnd date when the change was applied.
rent_status_oldstringrequiredOld rent status, in the currency of the listings.
rent_status_newstringrequiredNew rent status, in the currency of the listings.
property_urlstringnullableURL of the property in the CASAFARI website.
addressstringrequiredProperty address.
zip_codestringrequiredThe location zip code.
distancenumbernullableDistance in kilometers from target point to the property.Available only when the
custom_location_boundary.circle field is defined in the request.descriptionstringrequiredProperty description.
construction_yearintegerrequiredConstruction year.
rent_price_baseintegerrequiredCurrent rent price, in Euros.
rent_price_per_sqmnumberrequiredCurrent rent price per square meter, in the currency of the listings (specified by the
rent_currency field).rent_price_per_sqm_basenumberrequiredCurrent rent price per square meter, in Euros.
sale_price_baseintegerrequiredCurrent sale price, in Euros.
sale_price_per_sqmnumberrequiredCurrent sale price per square meter, in the currency of the listings (specified by the
sale_currency field).sale_price_per_sqm_basenumberrequiredCurrent sale price per square meter, in Euros.
is_auction_propertybooleanrequiredWhether the property is an auction property.
is_bank_propertybooleanrequiredWhether the property is a bank property.
changed_atstring (date)requiredThe date and time when the property was last updated.
sale_price_last_changeobjectrequiredInformation about the last change of sale price.
3 properties
change_datestring (date)requiredDate of the change.
old_valueintegerrequiredValue before change.
new_valueintegerrequiredValue after change.
rent_price_last_changeobjectrequiredInformation about the last change of rent price.
3 properties
change_datestring (date)requiredDate of the change.
old_valueintegerrequiredValue before change.
new_valueintegerrequiredValue after change.
thumbnailsstring[]List of the thumbnail image URLs.
picturesstring[]List of the original picture image URLs.
gross_yieldnumberrequiredGross yield in percentage.
titlestringrequiredProperty title.
energy_certificatestringrequiredEnergy certificate classification that attests to the energy efficiency of a property. This field is deprecated and will be removed in the next major update. Please, use
energy_rating field instead.energy_ratingstringrequiredEnergy rating that attests to the energy efficiency of a property.
ceiling_labelstringrequiredCeiling height in meters. Available only for Germany.
min_rent_areaintegerrequiredMinimum rental area in square meters (mainly applicable to commercial properties). Available only for Germany.
ref_numbersstring[]List of reference numbers from listings.
casafari_connectbooleanrequiredWhether the company is connected to Casafari Connect.
source_floor_numbersinteger[]List of property floor numbers based on listings data. Negative values indicate underground floors (e.g. basements).
default []
retail_dataobjectnullableRetail-related attributes of the property. Null for non-commercial properties or if the retail data is not available.
6 properties
facade_measurementsobjectrequiredFacade measurements of the commercial property (height, length, surface in meters).
3 properties
heightnumberrequiredFacade height in meters.
lengthnumberrequiredFacade length in meters.
surfacenumberrequiredFacade surface area in square meters.
transfer_price_rangeobjectrequiredPrice range if the property is available for transfer.
2 properties
gteintegerrequiredLower bound of the transfer price range.
lteintegerrequiredUpper bound of the transfer price range.
is_street_levelbooleanrequiredWhether the commercial entrance is situated at the street level, without having to go upstairs/downstairs to reach it.
number_of_floorsintegerrequiredThe number of commercial property floors.
number_of_premisesintegerrequiredThe number of property usable rooms/premises.
possible_business_typesstring[]requiredWhat kind of business can/did run in this commercial property (e.g. cafe, restaurant, grocery store, dental clinic).
401 Unauthorized
Type: object.
Show the response shape (1 fields)
detailstringDescription of the error encountered.
403 Forbidden
Type: object.
Show the response shape (1 fields)
detailstringDescription of the error encountered.
404 Not Found
Type: object.
Show the response shape (1 fields)
errorsobjectDescription of the errors encountered.