Casafari API and MCP Platform · Schema
ApiSearchComparablesResponseV2
Real Estate DataProperty SourcingValuationMarket AnalyticsCRMReal Estate Software
Properties
| Name | Type | Description |
|---|---|---|
| results | array | Array of found comparable properties. |
| dvf_results | array | Array of found DVF data (Request for geolocated property values). |
| transactional_data | arraynull | |
| statistics | objectnull | Statistics information for the found comparables (for `operation` defined in the request). |
| estimated_prices | objectnull | Estimated prices calculated based on the found comparables (for `operation` defined in the request). |
| casafari_link | stringnull | Link to Comparative Market Analysis page. |
| valuation_id | integernull | Persistent valuation ID used to generate Smart Link or a PDF. Expires in a year. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/casafari/main/json-schema/casafari-api-search-comparables-response-v2-schema.json",
"title": "ApiSearchComparablesResponseV2",
"x-generated": "2026-10-15",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/casafari-api-openapi.json#/components/schemas/ApiSearchComparablesResponseV2",
"properties": {
"results": {
"items": {
"properties": {
"property_id": {
"type": "integer",
"description": "ID of the property."
},
"property_url": {
"type": [
"string",
"null"
],
"description": "URL of the property in the CASAFARI website.",
"readOnly": true
},
"primary_listing_id": {
"type": "integer",
"description": "Primary listing (ad) ID of the property which is defined after the matching into property."
},
"type": {
"type": "string",
"enum": [
"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_building"
],
"description": "Property type, as returned by the [GET /api/v1/references/types](/#operation/api__get__v1__references__types) endpoint."
},
"type_group": {
"type": "string",
"enum": [
"apartment",
"house",
"investment",
"plot",
"other"
],
"description": "Property type group, as returned by the [GET /api/v1/references/types](/#operation/api__get__v1__references__types) endpoint."
},
"coordinates": {
"properties": {
"latitude": {
"type": "number",
"description": "Latitude."
},
"longitude": {
"type": "number",
"description": "Longitude."
}
},
"type": [
"object",
"null"
],
"required": [
"latitude",
"longitude"
],
"description": "Property coordinates."
},
"location": {
"properties": {
"location_id": {
"type": "integer",
"description": "('Location ID, as returned by the [POST /api/v1/references/locations](/#operation/api__post__v1__references__locations) endpoint.',)"
},
"name": {
"type": "string",
"description": "Location name."
},
"administrative_level": {
"type": "string",
"description": "Location administrative level."
},
"zip_codes": {
"items": {
"type": "string"
},
"type": "array",
"description": "The location zip codes.",
"default": []
}
},
"type": "object",
"required": [
"location_id",
"name",
"administrative_level"
],
"description": "Information about property location."
},
"locations_structure": {
"items": {
"properties": {
"location_id": {
"type": "integer",
"description": "('Location ID, as returned by the [POST /api/v1/references/locations](/#operation/api__post__v1__references__locations) endpoint.',)"
},
"name": {
"type": "string",
"description": "Location name."
},
"administrative_level": {
"type": "string",
"description": "Location administrative level."
},
"zip_codes": {
"items": {
"type": "string"
},
"type": "array",
"description": "The location zip codes.",
"default": []
}
},
"type": "object",
"required": [
"location_id",
"name",
"administrative_level"
]
},
"type": "array",
"description": "Information about all the parent locations (including property location) up to the country."
},
"address": {
"type": "string",
"description": "Property address."
},
"zip_code": {
"type": [
"string",
"null"
],
"description": "The location zip code."
},
"distance": {
"type": [
"number",
"null"
],
"description": "Distance in kilometers from target point to the property. Not calculated for search by polygon.",
"readOnly": true
},
"construction_year": {
"type": "integer",
"description": "Construction year."
},
"total_area": {
"type": "integer",
"description": "Total area."
},
"living_area": {
"type": "integer",
"description": "Living area."
},
"plot_area": {
"type": "integer",
"description": "Plot area."
},
"terrace_area": {
"type": "integer",
"description": "Terrace area."
},
"bedrooms": {
"type": [
"integer",
"null"
],
"description": "Number of bedrooms."
},
"rooms": {
"type": "integer",
"description": "Number of rooms."
},
"bathrooms": {
"type": "integer",
"description": "Number of bathrooms."
},
"floor_number": {
"type": [
"integer",
"null"
],
"description": "Exact floor number. Negative values indicate underground floors (e.g. basements)."
},
"condition": {
"type": "string",
"enum": [
"used",
"ruin",
"very-good",
"new",
"other"
],
"description": "Property condition, as returned by the [GET /api/v1/references/conditions](/#operation/api__get__v1__references__conditions) endpoint."
},
"features": {
"properties": {
"floor": {
"type": [
"string",
"null"
],
"enum": [
"no_floor",
"ground",
"middle",
"top"
],
"description": "Floor type."
},
"orientation": {
"type": [
"string",
"null"
],
"enum": [
"exterior",
"interior"
],
"description": "Property view orientation."
},
"view": {
"type": [
"string",
"null"
],
"enum": [
"water",
"landscape",
"city",
"golf",
"park"
],
"description": "View from the property. <br/><strong>This field is deprecated and will be removed in the next major update.</strong><br/><strong>Please, use `views` field instead.</strong>"
},
"views": {
"items": {
"type": "string",
"enum": [
"water",
"landscape",
"city",
"golf",
"park"
]
},
"type": [
"array",
"null"
],
"description": "List of views from the property."
},
"direction": {
"type": [
"string",
"null"
],
"enum": [
"north",
"south",
"east",
"west"
],
"description": "Cardinal direction the property faces. <br/><strong>This field is deprecated and will be removed in the next major update.</strong><br/><strong>Please, use `directions` field instead.</strong>"
},
"directions": {
"items": {
"type": "string",
"enum": [
"north",
"south",
"east",
"west"
]
},
"type": [
"array",
"null"
],
"description": "List of cardinal directions the property faces."
},
"characteristics": {
"items": {
"type": "string",
"enum": [
"balcony",
"elevator",
"no_elevator",
"garage",
"garden",
"parking",
"storage",
"swimming_pool",
"terrace",
"rental_license",
"furniture",
"rented_out",
"life_annuity"
]
},
"type": [
"array",
"null"
],
"description": "Property characteristics."
}
},
"type": "object",
"required": [
"floor",
"orientation",
"view",
"views",
"direction",
"directions",
"characteristics"
],
"description": "Property features, as returned by the [GET /api/v1/references/features](/#operation/api__get__v1__references__features) endpoint."
},
"operations": {
"items": {
"type": "string",
"enum": [
"sale",
"rent"
]
},
"type": "array",
"description": "Operation types for which property is available."
},
"sale_status": {
"type": "string",
"enum": [
"active",
"reserved",
"hold",
"sold",
"none"
],
"description": "Sale status."
},
"sale_currency": {
"type": "string",
"description": "Sale price currency code."
},
"sale_price": {
"type": "integer",
"description": "Sale price, in the currency of the listings (specified by the `sale_currency` field)."
},
"sale_price_base": {
"type": "integer",
"description": "Sale price, in Euros."
},
"sale_price_per_sqm": {
"type": "number",
"description": "Sale price per square meter, in the currency of the listings (specified by the `sale_currency` field)."
},
"sale_price_per_sqm_base": {
"type": "number",
"description": "('Sale price per square meter, in Euros.',)"
},
"rent_status": {
"type": "string",
"enum": [
"active",
"reserved",
"hold",
"rented",
"none"
],
"description": "Rent status."
},
"rent_currency": {
"type": "string",
"description": "Rent price currency code."
},
"rent_price": {
"type": "integer",
"description": "Rent price, in the currency of the listings (specified by the `rent_currency` field)."
},
"rent_price_base": {
"type": "integer",
"description": "Rent price, in Euros."
},
"rent_price_per_sqm": {
"type": "number",
"description": "Rent price per square meter, in the currency of the listings (specified by the `rent_currency` field)."
},
"rent_price_per_sqm_base": {
"type": "number",
"description": "('Rent price per square meter, in Euros.',)"
},
"rent_period": {
"type": "string",
"enum": [
"day",
"week",
"fortnight",
"month",
"year",
"none"
],
"description": "Rent period."
},
"title": {
"type": "string",
"description": "Property title."
},
"description": {
"type": "string",
"description": "Property description."
},
"thumbnails": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of the thumbnail image URLs.",
"readOnly": true
},
"pictures": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of the original picture image URLs.",
"readOnly": true
},
"gross_yield": {
"type": "number",
"description": "Gross yield in percentage."
},
"sold_at": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Date when the property was sold."
},
"rented_at": {
"type": [
"string",
"null"
],
"format": "date",
"description": "Date when the property was rented."
},
"total_sale_price_change": {
"type": "number",
"description": "Total sale price change in percents."
},
"total_rent_price_change": {
"type": "number",
"description": "Total rent price change in percents."
},
"last_sale_price_reduction": {
"type": "number",
"description": "Last sale price reduction in percents."
},
"last_rent_price_reduction": {
"type": "number",
"description": "Last rent price reduction in percents."
},
"sale_price_last_change": {
"properties": {
"change_date": {
"type": "string",
"format": "date",
"description": "Date of the change."
},
"old_value": {
"type": "integer",
"description": "Value before change."
},
"new_value": {
"type": "integer",
"description": "Value after change."
}
},
"type": [
"object",
"null"
],
"required": [
"change_date",
"old_value",
"new_value"
],
"description": "Information about the last change of sale price."
},
"rent_price_last_change": {
"properties": {
"change_date": {
"type": "string",
"format": "date",
"description": "Date of the change."
},
"old_value": {
"type": "integer",
"description": "Value before change."
},
"new_value": {
"type": "integer",
"description": "Value after change."
}
},
"type": [
"object",
"null"
],
"required": [
"change_date",
"old_value",
"new_value"
],
"description": "Information about the last change of rent price."
},
"sale_time_on_market": {
"type": [
"object",
"null"
],
"description": "Information about the property last activity on the sales market.",
"readOnly": true
},
"rent_time_on_market": {
"type": [
"object",
"null"
],
"description": "Information about the property last activity on the rental market.",
"readOnly": true
},
"sale_active_listings_count": {
"type": "integer",
"description": "Number of active listings for this property on the sales market.",
"readOnly": true
},
"rent_active_listings_count": {
"type": "integer",
"description": "Number of active listings for this property on the rental market.",
"readOnly": true
},
"similarity_score": {
"type": "number",
"description": "Similarity score of the property. Value between 0 and 1. Indicates how property parameters are close to the requested ones.",
"readOnly": true
},
"listing_urls": {
"items": {
"type": "string",
"format": "uri"
},
"type": "array",
"description": "Listing urls of the comparable."
},
"is_outlier": {
"type": "boolean",
"description": "Whether the property is considered an outlier based on its price.",
"default": false
},
"is_private_property": {
"type": "boolean",
"description": "Whether the property is listed by a private individual, as opposed to an agent or a professional."
},
"energy_certificate": {
"type": "string",
"description": "Energy certificate classification that attests to the energy efficiency of a property. <br/><strong>This field is deprecated and will be removed in the next major update.</strong><br/><strong>Please, use `energy_rating` field instead.</strong>",
"default": ""
},
"energy_rating": {
"type": "string",
"description": "Energy rating that attests to the energy efficiency of a property.",
"default": ""
},
"ref_numbers": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of reference numbers from listings."
}
},
"type": "object",
"required": [
"property_id",
"primary_listing_id",
"type",
"type_group",
"coordinates",
"location",
"locations_structure",
"address",
"zip_code",
"construction_year",
"total_area",
"living_area",
"plot_area",
"terrace_area",
"bedrooms",
"rooms",
"bathrooms",
"floor_number",
"condition",
"features",
"operations",
"sale_status",
"sale_currency",
"sale_price",
"sale_price_base",
"sale_price_per_sqm",
"sale_price_per_sqm_base",
"rent_status",
"rent_currency",
"rent_price",
"rent_price_base",
"rent_price_per_sqm",
"rent_price_per_sqm_base",
"rent_period",
"title",
"description",
"gross_yield",
"sold_at",
"rented_at",
"total_sale_price_change",
"total_rent_price_change",
"last_sale_price_reduction",
"last_rent_price_reduction",
"sale_price_last_change",
"rent_price_last_change",
"listing_urls",
"is_private_property",
"ref_numbers"
]
},
"type": "array",
"description": "Array of found comparable properties."
},
"dvf_results": {
"items": {
"properties": {
"dvf_reference": {
"type": "integer",
"description": "Reference ID of the DVF property."
},
"coordinates": {
"properties": {
"lat": {
"type": "number",
"description": "Latitude."
},
"lon": {
"type": "number",
"description": "Longitude."
}
},
"type": [
"object",
"null"
],
"required": [
"lat",
"lon"
],
"description": "DVF property coordinates."
},
"distance": {
"type": "number",
"description": "Distance in kilometers from target point to DVF the property. Not calculated for search by polygon.",
"readOnly": true
},
"type": {
"type": "string",
"enum": [
"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_building"
],
"description": "Property type, as returned by the [GET /api/v1/references/types](/#operation/api__get__v1__references__types) endpoint."
},
"type_group": {
"type": "string",
"enum": [
"apartment",
"house",
"investment",
"plot",
"other"
],
"description": "Property type group, as returned by the [GET /api/v1/references/types](/#operation/api__get__v1__references__types) endpoint."
},
"sale_price": {
"type": "integer",
"description": "Sale price, in the original currency."
},
"sale_price_base": {
"type": "integer",
"description": "Sale price, in Euros."
},
"sale_price_psqm": {
"type": "number",
"description": "Sale price per square meter, in the original currency.",
"default": 0
},
"sale_price_psqm_base": {
"type": "number",
"description": "Sale price per square meter, in Euros.",
"default": 0
},
"sold_at": {
"type": [
"string",
"null"
],
"description": "Date when the property was sold.",
"readOnly": true
},
"total_area": {
"type": "integer",
"description": "Total area."
},
"plot_area": {
"type": "integer",
"description": "Plot area."
},
"rooms": {
"type": "integer",
"description": "Number of rooms."
},
"bedrooms": {
"type": "integer",
"description": "Number of bedrooms."
},
"address": {
"type": "string",
"description": "Property address."
},
"location": {
"properties": {
"location_id": {
"type": "integer",
"description": "('Location ID, as returned by the [POST /api/v1/references/locations](/#operation/api__post__v1__references__locations) endpoint.',)"
},
"name": {
"type": "string",
"description": "Location name."
},
"administrative_level": {
"type": "string",
"description": "Location administrative level."
},
"zip_codes": {
"items": {
"type": "string"
},
"type": "array",
"description": "The location zip codes.",
"default": []
}
},
"type": "object",
"required": [
"location_id",
"name",
"administrative_level"
],
"description": "Information about DVF property location."
},
"locations_structure": {
"items": {
"properties": {
"location_id": {
"type": "integer",
"description": "('Location ID, as returned by the [POST /api/v1/references/locations](/#operation/api__post__v1__references__locations) endpoint.',)"
},
"name": {
"type": "string",
"description": "Location name."
},
"administrative_level": {
"type": "string",
"description": "Location administrative level."
},
"zip_codes": {
"items": {
"type": "string"
},
"type": "array",
"description": "The location zip codes.",
"default": []
}
},
"type": "object",
"required": [
"location_id",
"name",
"administrative_level"
]
},
"type": "array",
"description": "Information about all the parent locations (including DVF property location) up to the country."
},
"sale_status": {
"type": "string",
"enum": [
"active",
"reserved",
"hold",
"sold",
"none"
],
"description": "Sale status.",
"default": "sold"
},
"thumbnails": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of the thumbnail image URLs.",
"default": [],
"readOnly": true
}
},
"type": "object",
"required": [
"dvf_reference",
"coordinates",
"type",
"type_group",
"sale_price",
"sale_price_base",
"total_area",
"plot_area",
"rooms",
"bedrooms",
"address",
"location",
"locations_structure"
]
},
"type": "array",
"description": "Array of found DVF data (Request for geolocated property values)."
},
"transactional_data": {
"items": {
"properties": {
"id": {
"type": "integer"
},
"reference": {
"type": [
"string",
"null"
]
},
"cadastral_reference": {
"type": [
"string",
"null"
]
},
"rooms": {
"type": [
"integer",
"null"
]
},
"bedrooms": {
"type": [
"integer",
"null"
]
},
"bathrooms": {
"type": [
"integer",
"null"
]
},
"coordinates": {
"properties": {
"lat": {
"type": "number",
"description": "Latitude."
},
"lon": {
"type": "number",
"description": "Longitude."
}
},
"type": "object",
"required": [
"lat",
"lon"
]
},
"total_area": {
"type": [
"number",
"null"
]
},
"plot_area": {
"type": [
"number",
"null"
]
},
"address": {
"type": [
"string",
"null"
]
},
"source_typology": {
"type": [
"string",
"null"
]
},
"source_annexes": {
"type": [
"string",
"null"
],
"description": "Additional raw source data (if present), describing annexes (such as parking, storage, etc) included in the transaction price."
},
"type": {
"type": "string",
"enum": [
"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_building"
]
# --- truncated at 32 KB (40 KB total) ---
# Full source: https://artifacts.apis.io/casafari/json-schema/casafari-api-search-comparables-response-v2-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/casafari-api-search-comparables-response-v2"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.