Religion by age
/v1/suburbs/{suburb_name}/area-stats/religion-by-age5¢ per callResidents of each religious affiliation (detailed) split by ten-year age band, for every suburb and for Australia.
Coverage: About 13,000 suburbs and localities across Australia, plus Australia as a whole; a group with too few residents for a reliable figure is left out for that suburb. One snapshot at 10 August 2021. Current to 2021-08-10. Full description, field list and method: /v1/datasets/religion-by-age.
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
fieldsstringoptionalComma-separated field slugs, e.g. all_total, all_age_0_9_count, all_age_0_9_pct, all_age_10_19_count. Omit for all 3473. Every field is listed at `/v1/datasets/religion-by-age`.
fromstringoptionalFirst period to include: 2020, 2020-Q3, 2020-07 or 2020-07-01.
tostringoptionalLast period to include, same formats as `from`.
Responses
Successful Response
datasetstringalways returnedDataset slug; describe it with /v1/datasets/{slug}.
levelstringalways returnedsuburb, lga or block.
areastringalways returnedCanonical name (or mesh-block code) of the area answered.
period_typestringalways returnedsnapshot, year, financial_year, quarter or month.
as_ofstring · datealways returnedDate the dataset is current to. Values are never withheld for age; check this instead.
modelledbooleanalways returnedTrue when the figures are estimates from a model rather than counts or measurements.
fieldsarray of DatasetFieldSeriesalways returned/v1/suburbs/{suburb_name}/area-stats/religion-by-agecurl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/area-stats/religion-by-age' \
--header 'Authorization: Bearer test'{}