Suburb - Risks
Heritage share of properties
GET
/v1/suburbs/{suburb_name}/risks/heritage-share5¢ per callShare of the suburb's properties inside a heritage polygon.
Price: 5¢ per call.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
suburb_namestringrequiredQuery parameters
None — this endpoint accepts no query parameters. Call the path above with your bearer token and nothing else.
Responses
Successful Response
application/json
HeritageSharefields returned to you
area_namestringalways returnedCanonical ABS SAL suburb name.
area_levelstringalways returnedAlways 'suburb'.
heritage_pctnumberalways returned% of properties inside a heritage polygon.
value_unitstringalways returnedUnit label ('% of properties').
GET
/v1/suburbs/{suburb_name}/risks/heritage-sharecURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/risks/heritage-share' \
--header 'Authorization: Bearer test'Example Responses
{
"data": {
"area_name": "Belmont North",
"area_level": "suburb",
"heritage_pct": 10.39,
"value_unit": "% of properties"
}
}Successful Response200
application/json
