Suburb - Demographics
Age-bracket breakdown
GET
/v1/suburbs/{suburb_name}/demographics/age3¢ per callPopulation by age bracket and gender.
Price: 3¢ 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
list[DemographicRow]fields returned to you
Array of:
area_namestringalways returnedSuburb (SAL) name.
area_levelstringalways returnedAlways 'suburb'.
proportionnumbermay be nullShare of the suburb in this bracket (0–1).
age_bracketstringmay be nullOnly on /demographics/age.
genderstringmay be nullOnly on /demographics/age — 'males' / 'females' / 'persons'.
income_bracketstringmay be nullOnly on /demographics/income.
median_incomeintegermay be nullOnly on /demographics/income.
GET
/v1/suburbs/{suburb_name}/demographics/agecURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/demographics/age' \
--header 'Authorization: Bearer test'Example Responses
{
"data": [
{
"area_name": "Belmont North",
"area_level": "suburb",
"age_bracket": "0-4",
"gender": "females",
"proportion": 0.0272
},
{
"area_name": "Belmont North",
"area_level": "suburb",
"age_bracket": "0-4",
"gender": "males",
"proportion": 0.0275
},
{
"area_name": "Belmont North",
"area_level": "suburb",
"age_bracket": "0-4",
"gender": "persons",
"proportion": 0.0545
}
]
}Successful Response200
application/json
