Buildings
POST
buildings
Returns information about the building at the specified location.
Request#
curl -X POST 'https://api.pricehubble.com/api/v1/buildings' \
-H 'content-type: application/json' \
-H 'Authorization: Bearer 74126eab0a9048d993bda4b1b55ae074' \
-d '{
"location": {
"address": {
"street": "Brandschenkestrasse",
"houseNumber": "30",
"postCode": "8001",
"city": "Zürich"
}
},
"countryCode": "CH"
}'
Field | Description | Type | Remarks |
---|---|---|---|
location | Location of the building | Location | Currently address is required and coordinates have no effect |
countryCode | ISO country code | string | Only CH is supported |
Response#
{
"buildingYear": 1981,
"landArea": 1635,
"livingArea": 9144
}
Field | Description | Type | Remarks |
---|---|---|---|
buildingYear | Building's year of construction | integer | |
landArea | Land area associated with the building, in m2 | integer | |
livingArea | Living area within the building, in m2 | integer |