Get one building by id: both names, the address, the position, the developer, the build year, the neighbourhood and a public housing flag. The building id comes from the autocomplete endpoint or from the building of a listing. An unknown id answers 404.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
string
Required
Building id from the id field of a building autocomplete result.
1234567890
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"id": 66551,
"name": "Imperial Kennedy",
"type": "building",
"address": "68, Belcher's Street",
"name_zh": "Imperial Kennedy",
"latitude": 22.282676,
"longitude": 114.12869,
"built_year": 2016,
"neighbourhood": "Kennedy Town",
"neighbourhood_id": 41,
"neighbourhood_zh": "\u5805\u5c3c\u5730\u57ce"
},
"meta": {
"billable": true,
"endpoint_family": "building"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
HTTP 404
The listing, building or agency does not exist or is no longer online. This response is not billable.
HTTP 422
A parameter is missing or invalid. This response is not billable.
HTTP 503
Spacious HK is temporarily unavailable, or its answer did not match the request, for example another page or an ignored filter. Retry the request. This response is not billable.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.