Suburb - Ethnicity
All ethnicity — bundle
GET
/v1/suburbs/{suburb_name}/ethnicity/all6¢ per callPrice: 6¢ 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
EthnicityAllfields returned to you
ancestryarray of EthnicityRowmay be nullbirthplacearray of EthnicityRowmay be nullGET
/v1/suburbs/{suburb_name}/ethnicity/allcURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/ethnicity/all' \
--header 'Authorization: Bearer test'Example Responses
{
"data": {
"ancestry": [
{
"ancestry": "Australians",
"area_level": "suburb",
"area_name": "Belmont North",
"proportion": 0.926304347826087
}
],
"birthplace": [
{
"ancestry": "Australians",
"area_level": "suburb",
"area_name": "Belmont North",
"proportion": 0.926304347826087
}
]
}
}Successful Response200
application/json
