MicroburbsMicroburbs
Free sandbox: try any request below on the sample suburbs, no signup. For every suburb, create an API key.
Classic docs
Microburbs Property Data API
LGA - Area Statistics

Address five years ago, by state

GET/v1/lga/{lga_name}/area-stats/address-five-years-ago-by-state5¢ per call

Where 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.

Authorization

Request

The only values you send. Fields under Responses below are what comes back — you never pass those.

Path parameters

lga_namestringrequired

Council (LGA) name exactly as /v1/lga/list returns it, e.g. `Lake Macquarie`.

Query parameters

fieldsstringoptional

Comma-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.

fromstringoptional

First period to include: 2020, 2020-Q3, 2020-07 or 2020-07-01.

tostringoptional

Last period to include, same formats as `from`.

Responses

Successful Response

application/json
DatasetValuesfields returned to you
datasetstringalways returned

Dataset slug; describe it with /v1/datasets/{slug}.

levelstringalways returned

suburb, lga or block.

areastringalways returned

Canonical name (or mesh-block code) of the area answered.

period_typestringalways returned

snapshot, year, financial_year, quarter or month.

as_ofstring · datealways returned

Date the dataset is current to. Values are never withheld for age; check this instead.

modelledbooleanalways returned

True when the figures are estimates from a model rather than counts or measurements.

fieldsarray of DatasetFieldSeriesalways returned
GET/v1/lga/{lga_name}/area-stats/address-five-years-ago-by-state
cURL
curl --request GET \
  --url 'https://api.microburbs.com.au/v1/lga/Lake%20Macquarie/area-stats/address-five-years-ago-by-state' \
  --header 'Authorization: Bearer test'
Example Responses
{
  "data": {
    "dataset": "address-five-years-ago-by-state",
    "level": "lga",
    "area": "Port Phillip",
    "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": 97765
          }
        ]
      },
      {
        "field": "same_address_count",
        "name": "Same address as in 2021",
        "unit": "persons",
        "values": [
          {
            "period": "2021-08-10",
            "period_start": "2021-08-10",
            "value": 39654
          }
        ]
      },
      {
        "field": "same_address_pct",
        "name": "Same address as in 2021, share",
        "unit": "%",
        "values": [
          {
            "period": "2021-08-10",
            "period_start": "2021-08-10",
            "value": 40.56
          }
        ]
      }
    ]
  }
}
Successful Response200
application/json