Voting
/v1/suburbs/{suburb_name}/demographics/voting10¢ per callShown in the suburb report as the 'Voting' card in the Demographics section.
Projected first-preference shares per party, aggregated across the suburb's mesh blocks (booth-derived model — not an actual vote).
Exact suburb identifier required. Exact official suburb name (SAL), 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.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
suburb_namestringrequiredExact official suburb name (SAL), 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
Responses
Successful Response
suburbstringalways returnedCanonical SAL name.
n_microburbsintegeralways returnedMesh blocks in the aggregate.
projectionstringalways returnedWhat the projection represents (and its provenance).
winnerobjectalways returnedOne party's projected first-preference share.
runner_upobjectalways returnedOne party's projected first-preference share.
margin_pctnumberalways returnedWinner-minus-runner-up margin (pp).
leanstringalways returnedStrong <party> (≥15pp) / <party> lean (≥5pp) / Marginal.
partiesarray of PartyResultalways returnedAll parties polling ≥0.5%, descending.
About this data
What this is
A suburb's projected federal first-preference vote: every party polling at least 0.5%, the leading party and runner-up, the margin, and a one-word lean (strong, lean or marginal). It is built up from our mesh-block model, not a recorded result.
What people use it for
- Researchers and journalists: compare political lean across suburbs on one scale.
- Campaigns and advocacy groups: find marginal suburbs.
- Buyers: add a neighbourhood-character signal to a shortlist.
Tips
A strong lean means a margin of 15 points or more; a lean means 5 points or more; anything closer is marginal. For the result block by block, use /v1/suburbs/{suburb_name}/demographics/voting-map.
/v1/suburbs/{suburb_name}/demographics/votingcurl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/demographics/voting' \
--header 'Authorization: Bearer test'{
"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": "Projected federal first-preference vote at April 2026 polling (modelled, not an actual vote)",
"runner_up": {
"label": "Liberal",
"party": "LIB",
"pct": 31.5
},
"suburb": "Belmont North",
"winner": {
"label": "Labor",
"party": "ALP",
"pct": 38.2
}
}
}