Microburbs
Suburb - Demographics

Projected voting profile

GET/v1/suburbs/{suburb_name}/demographics/voting10¢ per call

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

Price: 10¢ per call.

Authorization

Request

The only values you send. Fields under Responses below are what comes back — you never pass those.

Path parameters

suburb_namestringrequired

Query parameters

None — this endpoint accepts no query parameters. Call the path above with your bearer token and nothing else.

Responses

Successful Response

application/json
SuburbVotingfields returned to you
suburbstringalways returned

Canonical SAL name.

n_microburbsintegeralways returned

Microburbs in the aggregate.

projectionstringalways returned

What the projection represents (and its provenance).

winnerobjectalways returned

One party's projected first-preference share.

runner_upobjectalways returned

One party's projected first-preference share.

margin_pctnumberalways returned

Winner-minus-runner-up margin (pp).

leanstringalways returned

Strong <party> (≥15pp) / <party> lean (≥5pp) / Marginal.

partiesarray of PartyResultalways returned

All parties polling ≥0.5%, descending.

GET/v1/suburbs/{suburb_name}/demographics/voting
cURL
curl --request GET \
  --url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/demographics/voting' \
  --header 'Authorization: Bearer test'
Example Responses
{
  "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
    }
  }
}
Successful Response200
application/json