Preventa
Proyectos comparables
Proyectos cercanos parecidos, con una puntuación de parecido.
GET
/
v1
/
presale
/
projects
/
{id}
/
comparables
Proyectos comparables
curl --request GET \
--url https://api.inmodata.builker.com/v1/presale/projects/{id}/comparables \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.inmodata.builker.com/v1/presale/projects/{id}/comparables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.inmodata.builker.com/v1/presale/projects/{id}/comparables"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"items": [
{
"distance_km": 123,
"distance_m": 123,
"match_breakdown": {},
"match_quality": "<string>",
"match_reasons": [
"<string>"
],
"project": {
"city_slug": "<string>",
"country_code": "<string>",
"currency": "<string>",
"external_id": "<string>",
"first_seen_date": "<string>",
"id": "<string>",
"last_seen_date": "<string>",
"photo_count": 123,
"source_name": "<string>",
"typology_count": -1,
"avg_price_per_m2": 123,
"city_display_name": "<string>",
"cover_photo_url": "<string>",
"delivery_date_raw": "<string>",
"delivery_horizon": "<string>",
"h3_res8": "<string>",
"housing_condition": "<string>",
"latitude": 123,
"locality_name": "<string>",
"longitude": 123,
"max_area_m2": 123,
"max_bathrooms": -1,
"max_bedrooms": -1,
"max_price": 123,
"min_area_m2": 123,
"min_bedrooms": -1,
"min_price": 123,
"min_price_per_m2": 123,
"months_to_delivery": 123,
"neighborhood": "<string>",
"project_name": "<string>",
"source_scraped_at": "2023-11-07T05:31:56Z",
"url": "<string>",
"zone_slug": "<string>"
},
"score": 123
}
],
"reference_id": "<string>"
}{
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Autorizaciones
Parámetros de consulta
⌘I
Proyectos comparables
curl --request GET \
--url https://api.inmodata.builker.com/v1/presale/projects/{id}/comparables \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.inmodata.builker.com/v1/presale/projects/{id}/comparables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.inmodata.builker.com/v1/presale/projects/{id}/comparables"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"items": [
{
"distance_km": 123,
"distance_m": 123,
"match_breakdown": {},
"match_quality": "<string>",
"match_reasons": [
"<string>"
],
"project": {
"city_slug": "<string>",
"country_code": "<string>",
"currency": "<string>",
"external_id": "<string>",
"first_seen_date": "<string>",
"id": "<string>",
"last_seen_date": "<string>",
"photo_count": 123,
"source_name": "<string>",
"typology_count": -1,
"avg_price_per_m2": 123,
"city_display_name": "<string>",
"cover_photo_url": "<string>",
"delivery_date_raw": "<string>",
"delivery_horizon": "<string>",
"h3_res8": "<string>",
"housing_condition": "<string>",
"latitude": 123,
"locality_name": "<string>",
"longitude": 123,
"max_area_m2": 123,
"max_bathrooms": -1,
"max_bedrooms": -1,
"max_price": 123,
"min_area_m2": 123,
"min_bedrooms": -1,
"min_price": 123,
"min_price_per_m2": 123,
"months_to_delivery": 123,
"neighborhood": "<string>",
"project_name": "<string>",
"source_scraped_at": "2023-11-07T05:31:56Z",
"url": "<string>",
"zone_slug": "<string>"
},
"score": 123
}
],
"reference_id": "<string>"
}{
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}