Suburb - Demographics

Projected voting profile

Projected first-preference shares per party, aggregated across the suburb's microburbs (booth-derived model — not an actual vote).

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

get/v1/suburbs/{suburb_name}/demographics/voting

Request

  • Base URL: https://api.microburbs.com.au
  • URL: https://api.microburbs.com.au/v1/suburbs/{suburb_name}/demographics/voting
  • 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.

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": {
    "lean": "Labor lean",
    "margin_pct": 6.7,
    "n_microburbs": 85,
    "parties": [
      {
        "label": "Labor",
        "party": "ALP",
        "pct": 38.2
      },
      {
        "label": "Liberal",
        "party": "LIB",
        "pct": 31.5
      },
      {
        "label": "Greens",
        "party": "GRN",
        "pct": 11.3
      }
    ],
    "projection": "Federal election held May 2026 (projected — not an actual vote)",
    "runner_up": {
      "label": "Liberal",
      "party": "LIB",
      "pct": 31.5
    },
    "suburb": "Belmont North",
    "winner": {
      "label": "Labor",
      "party": "ALP",
      "pct": 38.2
    }
  }
}

Changes

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