Neighbouring suburb boundaries
/v1/suburbs/{suburb_name}/shapes/neighbours15¢ per callNeighbouring suburbs as a GeoJSON FeatureCollection — each with its boundary polygon and distance in km.
Exact suburb identifier required. Exact ABS Suburb and Locality (SAL) name, 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.
Price: 15¢ per call.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
suburb_namestringrequiredExact ABS Suburb and Locality (SAL) name, 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 ABS SAL name of the subject suburb.
area_levelstringalways returnedAlways 'suburb'.
countintegeralways returnedNumber of neighbouring suburbs returned.
geojsonobjectalways returnedGeoJSON FeatureCollection — one Feature per neighbouring suburb. Properties: `suburb` (SAL name), `sa3`, `dist_km` (centroid distance in km). Geometry is null on every Feature when the request passes `?geojson=false`.
/v1/suburbs/{suburb_name}/shapes/neighbourscurl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/shapes/neighbours' \
--header 'Authorization: Bearer test'{
"data": {
"area_level": "suburb",
"area_name": "Belmont North",
"count": 2,
"geojson": {
"features": [
{
"geometry": {
"coordinates": [
[
[
151.65,
-33.02
],
[
151.66,
-33.02
],
[
151.66,
-33.03
],
[
151.65,
-33.02
]
]
],
"type": "Polygon"
},
"properties": {
"suburb": "Belmont (NSW)",
"sa3": "Lake Macquarie - East",
"dist_km": 1.2
},
"type": "Feature"
}
],
"type": "FeatureCollection"
}
}
}