Suburb - Shapes
Mesh-block polygons
GET
/v1/suburbs/{suburb_name}/shapes/mesh-blocks20¢ per callABS 2021 mesh-block polygons covering the suburb (GeoJSON FeatureCollection, MB code per feature).
Price: 20¢ 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
SuburbMeshBlocksfields returned to you
area_namestringalways returnedCanonical ABS SAL name.
area_levelstringalways returnedAlways 'suburb'.
countintegeralways returnedNumber of mesh blocks returned.
geojsonobjectalways returnedGeoJSON FeatureCollection — one simplified polygon Feature per mesh block. Properties: `mb` (ABS MB_CODE21).
GET
/v1/suburbs/{suburb_name}/shapes/mesh-blockscURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/shapes/mesh-blocks' \
--header 'Authorization: Bearer test'Example Responses
{
"data": {
"area_level": "suburb",
"area_name": "Belmont North",
"count": 85,
"geojson": {
"features": [
{
"geometry": {
"coordinates": [
[
[
151.66,
-32.99
],
[
151.67,
-32.99
],
[
151.67,
-33
],
[
151.66,
-32.99
]
]
],
"type": "Polygon"
},
"properties": {
"mb": "10693740000"
},
"type": "Feature"
}
],
"type": "FeatureCollection"
}
}
}Successful Response200
application/json
