Suburb - Ethnicity
Country-of-birth breakdown
GET
/v1/suburbs/{suburb_name}/ethnicity/birthplace3¢ per callCountry-of-birth breakdown from the ABS census.
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[EthnicityRow]fields returned to you
Array of:
area_namestringalways returnedSuburb (SAL) name.
area_levelstringalways returnedAlways 'suburb'.
proportionnumbermay be nullShare of the suburb identifying with this category (0–1).
ancestrystringmay be nullOnly on /ethnicity/ancestry.
birthplacestringmay be nullOnly on /ethnicity/birthplace.
GET
/v1/suburbs/{suburb_name}/ethnicity/birthplacecURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/ethnicity/birthplace' \
--header 'Authorization: Bearer test'Example Responses
{
"data": [
{
"area_name": "Belmont North",
"area_level": "suburb",
"proportion": 0.916,
"country": "Australia"
},
{
"area_name": "Belmont North",
"area_level": "suburb",
"proportion": 0.0185,
"country": "England"
},
{
"area_name": "Belmont North",
"area_level": "suburb",
"proportion": 0.00931,
"country": "New Zealand"
}
]
}Successful Response200
application/json
