Public housing — by SA1
/v1/suburbs/{suburb_name}/shapes/public-housing-sa120¢ per callShown in the suburb report as the 'Public housing' card and map layer in the Risks section.
SA1 polygons in the suburb with their 2021 public-housing share (only SA1s above 0%).
Exact suburb identifier required. Exact official suburb name (SAL), e.g. Burwood (NSW) — many suburbs carry a state suffix. If starting from free text or an unverified bare name, first call GET /v1/geocode/suburb?q=<text>, then use the exact data[].area_name it returns. Suburb data endpoints do not guess a state or typo-correct names.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
suburb_namestringrequiredExact official suburb name (SAL), e.g. `Burwood (NSW)` — many suburbs carry a state suffix. If starting from free text or an unverified bare name, first call `GET /v1/geocode/suburb?q=<text>`, then use the exact `data[].area_name` it returns. Suburb data endpoints do not guess a state or typo-correct names.
Query parameters
geojsonbooleanoptionalWhen false, geometry is dropped — every Feature keeps its `properties` but its `geometry` is null. Use it to fetch the counts and per-feature attributes without the coordinates (default true — response unchanged).
Responses
Successful Response
area_namestringalways returnedCanonical suburb (SAL) name.
area_levelstringalways returnedAlways 'suburb'.
countintegeralways returnedNumber of SA1s returned (only SA1s with a non-zero share).
geojsonobjectalways returnedGeoJSON FeatureCollection — one Feature per SA1 whose centroid falls inside the suburb and whose 2021 public-housing share is > 0. Properties: `sa1` (SA1 code), `public_housing_pct` (0–100). Geometry is null on every Feature when the request passes `?geojson=false`.
About this data
What this is
The pockets of public housing in a suburb: each SA1 (a small statistical area of a few hundred homes) with its 2021 share of public housing, as GeoJSON polygons. Only SA1s with some public housing are returned.
What people use it for
- Buyers and investors: see where public housing is concentrated within a suburb, not just the suburb average.
- Property apps: shade a suburb map by public-housing share.
- Councils and housing researchers: map social housing at a fine scale.
Tips
Shares are as at 2021. An SA1 is included when its centre falls inside the suburb, so edge slivers are dropped. For whether a specific address is near public housing use /v1/properties/{gnaf_id}/risks/public-housing.
/v1/suburbs/{suburb_name}/shapes/public-housing-sa1curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/shapes/public-housing-sa1' \
--header 'Authorization: Bearer test'{
"data": {
"area_level": "suburb",
"area_name": "Belmont North",
"count": 7,
"geojson": {
"features": [
{
"geometry": {
"coordinates": [
[
[
151.66,
-32.99
],
[
151.67,
-32.99
],
[
151.67,
-33
],
[
151.66,
-32.99
]
]
],
"type": "Polygon"
},
"properties": {
"sa1": "11102130801",
"public_housing_pct": 36.9
},
"type": "Feature"
}
],
"type": "FeatureCollection"
}
}
}