Address five years ago, by state
/v1/suburbs/{suburb_name}/area-stats/address-five-years-ago-by-state5¢ per callWhere residents lived five years earlier: same address, the same local area, elsewhere in the same state, another state (interstate arrivals, by the state they came from) or overseas, for every suburb and council area.
Coverage: About 10,900 suburbs and localities and 545 council areas across Australia, plus Australia as a whole; areas with too few people for a reliable figure are left out of that part. One snapshot at 10 August 2021. Current to 2021-08-10. Full description, field list and method: /v1/datasets/address-five-years-ago-by-state.
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 subset of: total_aged_5_plus, same_address_count, same_address_pct, moved_within_area_count, moved_within_area_pct, moved_within_state_count, moved_within_state_pct, interstate_arrivals_count, interstate_arrivals_pct, from_nsw_count, from_nsw_pct, from_vic_count, from_vic_pct, from_qld_count, from_qld_pct, from_sa_count, from_sa_pct, from_wa_count, from_wa_pct, from_tas_count, from_tas_pct, from_nt_count, from_nt_pct, from_act_count, from_act_pct, from_other_territories_count, from_other_territories_pct, from_overseas_count, from_overseas_pct, not_stated_count, not_stated_pct. Omit for all.
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/address-five-years-ago-by-statecurl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/area-stats/address-five-years-ago-by-state' \
--header 'Authorization: Bearer test'{
"data": {
"dataset": "address-five-years-ago-by-state",
"level": "suburb",
"area": "St Kilda (Vic.)",
"period_type": "snapshot",
"as_of": "2021-08-10",
"modelled": false,
"fields": [
{
"field": "total_aged_5_plus",
"name": "Residents aged 5 and over",
"unit": "persons",
"values": [
{
"period": "2021-08-10",
"period_start": "2021-08-10",
"value": 18941
}
]
},
{
"field": "same_address_count",
"name": "Same address as in 2021",
"unit": "persons",
"values": [
{
"period": "2021-08-10",
"period_start": "2021-08-10",
"value": 6358
}
]
},
{
"field": "same_address_pct",
"name": "Same address as in 2021, share",
"unit": "%",
"values": [
{
"period": "2021-08-10",
"period_start": "2021-08-10",
"value": 33.57
}
]
}
]
}
}