market-analytics-api---distributions

Bedrooms Distribution

Returns property distribution based on the number of bedrooms.<br>Each distribution unit includes the bedroom count, number of matching properties, and related analysis.

post/market-analytics-api/distributions/bedrooms

Request

  • Base URL: https://api.casafari.com
  • URL: https://api.casafari.com/market-analytics-api/distributions/bedrooms
  • Auth: HTTP bearer

Request body

typesMarketAnalyticsApiExternalApartmentAndHouseEstateTypeEnum[] required

The list of property types by type groups:<br/><strong>apartment: </strong>["apartment", "studio", "duplex", "penthouse", "dachgeschosswohnung", "etagenwohnung", "erdgeschosswohnung"]<br/><strong>house: </strong>["country_house", "house", "palace", "townhouse", "villa", "country_estate", "chalet", "bungalow", "family_house", "reihenhaus", "reihenendhaus", "reihenmittelhaus", "einfamilienhaus", "zweifamilienhaus", "landwirtschaftliche_betriebe"]<br/><strong>development: </strong>["apartment_development", "house_development"]<br/><br/><i>Note that you can select multiple types only from one property type group.</i><br><br><span style="color:red">The list of property types specific to certain countries</span>:<br/><strong>apartment:</strong><br/>○ dachgeschosswohnung: <strong>Germany</strong><br/>○ etagenwohnung: <strong>Germany</strong><br/>○ erdgeschosswohnung: <strong>Germany</strong><br/><strong>house:</strong><br/>○ family_house: <strong>Germany</strong><br/>○ reihenhaus: <strong>Germany</strong><br/>○ reihenendhaus: <strong>Germany</strong><br/>○ reihenmittelhaus: <strong>Germany</strong><br/>○ einfamilienhaus: <strong>Germany</strong><br/>○ zweifamilienhaus: <strong>Germany</strong><br/>○ landwirtschaftliche_betriebe: <strong>Germany</strong>

business_type'sale' | 'rent' required
conditionsMarketAnalyticsApiExternalConditionEnum[]

Property conditions, as returned by the GET /api/v1/references/conditions endpoint.

privateboolean

Whether the property is listed by a private individual, as opposed to an agent or a professional.

bankboolean

Whether the property is owned by the bank.

auctionboolean

Whether the property is the subject of an auction.

exclude_outliersboolean

Exclude properties that are significantly underpriced or overpriced compared to similar properties.

Response

Successful Response

bedroomsstring required

The number of bedrooms in the properties that participated in the distribution.

properties_countinteger required

The number of properties that participated in the distribution.

average_pricenumber required

Average price of properties with a specific number of bedrooms.

average_price_per_sqmnumber required

Average price per square meter of properties with a specific number of bedrooms.

Changes

No recorded changes to this operation across all 1 revision of this API.