Mercado tradicional
Comparables de un aviso
Inmuebles cercanos parecidos al aviso, con una puntuación de parecido de 0 a 100 y las razones que la explican.
GET
/
v1
/
listings
/
{id}
/
comparables
Comparables de un aviso
curl --request GET \
--url https://api.inmodata.builker.com/v1/listings/{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/listings/{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/listings/{id}/comparables"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"items": [
{
"distance_m": 123,
"listing": {
"business_type": "<string>",
"city_slug": "<string>",
"country_code": "<string>",
"currency": "<string>",
"external_id": "<string>",
"first_seen_date": "<string>",
"id": "<string>",
"last_seen_date": "<string>",
"photo_count": 123,
"property_type": "<string>",
"source_name": "<string>",
"admin_price": 123,
"antiquity_years": -1,
"area_m2": 123,
"bathrooms": -1,
"city_display_name": "<string>",
"cover_photo_url": "<string>",
"fingerprint_hash": "<string>",
"garages": -1,
"h3_res8": "<string>",
"latitude": 123,
"locality_name": "<string>",
"longitude": 123,
"neighborhood": "<string>",
"rent_price": 123,
"rent_price_per_m2": 123,
"rooms": -1,
"sale_price": 123,
"sale_price_per_m2": 123,
"source_scraped_at": "2023-11-07T05:31:56Z",
"stratum": -1,
"title": "<string>",
"url": "<string>"
},
"match_breakdown": {},
"match_quality": "<string>",
"match_reasons": [
"<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
Comparables de un aviso
curl --request GET \
--url https://api.inmodata.builker.com/v1/listings/{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/listings/{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/listings/{id}/comparables"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"items": [
{
"distance_m": 123,
"listing": {
"business_type": "<string>",
"city_slug": "<string>",
"country_code": "<string>",
"currency": "<string>",
"external_id": "<string>",
"first_seen_date": "<string>",
"id": "<string>",
"last_seen_date": "<string>",
"photo_count": 123,
"property_type": "<string>",
"source_name": "<string>",
"admin_price": 123,
"antiquity_years": -1,
"area_m2": 123,
"bathrooms": -1,
"city_display_name": "<string>",
"cover_photo_url": "<string>",
"fingerprint_hash": "<string>",
"garages": -1,
"h3_res8": "<string>",
"latitude": 123,
"locality_name": "<string>",
"longitude": 123,
"neighborhood": "<string>",
"rent_price": 123,
"rent_price_per_m2": 123,
"rooms": -1,
"sale_price": 123,
"sale_price_per_m2": 123,
"source_scraped_at": "2023-11-07T05:31:56Z",
"stratum": -1,
"title": "<string>",
"url": "<string>"
},
"match_breakdown": {},
"match_quality": "<string>",
"match_reasons": [
"<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"
}