Suburb - Shapes

Hazard-overlay polygons by layer

Hazard polygons for one layer, clipped to the suburb boundary (empty collection = hazard not present).

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: 20¢ per call.

get/v1/suburbs/{suburb_name}/shapes/hazards

Request

  • Base URL: https://api.microburbs.com.au
  • URL: https://api.microburbs.com.au/v1/suburbs/{suburb_name}/shapes/hazards
  • Auth: HTTP bearer

Path parameters

suburb_namestring required
Example:Belmont North

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.

Query parameters

layer'bushfire' | 'flood' | 'heritage' | 'erosion' | 'landslide' | 'acid-sulfate' required

Hazard layer to return.

Example:flood
geojsonboolean

When 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).

Response

Successful Response

availableboolean nullable

false on no-data responses. Omitted on success — branch on data !== null if you want a single discriminator.

reasonstring nullable

Machine-readable slug naming the no-data condition (e.g. no_avm_for_GANSW704074813). Stable per endpoint. Omitted on success.

messagestring nullable

Human-readable explanation. Omitted on success.

Example response

{
  "data": {
    "area_level": "suburb",
    "area_name": "Belmont North",
    "count": 36,
    "geojson": {
      "features": [
        {
          "geometry": {
            "coordinates": [
              [
                [
                  151.66,
                  -32.99
                ],
                [
                  151.67,
                  -32.99
                ],
                [
                  151.67,
                  -33
                ],
                [
                  151.66,
                  -32.99
                ]
              ]
            ],
            "type": "Polygon"
          },
          "properties": {
            "category": "High Potential Bushfire Intensity"
          },
          "type": "Feature"
        }
      ],
      "type": "FeatureCollection"
    },
    "layer": "bushfire"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.