Microburbs
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
Postcode - Demographics

Postcode profile

GET/v1/postcodes/{postcode}/demographics/profile5¢ per call

One-call profile of a postcode: how many suburbs it covers, population, dwellings, median age and incomes, rents, mortgages, and the mix of houses, flats and renters.

Coverage: All 2,642 postcodes we map to suburbs; population figures as at 2021-08-10. Current to 2021-08-10. Full description, field list and method: /v1/datasets/postcode-profile.

Authorization

Request

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

Path parameters

postcodestringrequired

Four-digit postcode, e.g. `2026`.

Query parameters

fieldsstringoptional

Comma-separated subset of: suburbs_count, population, private_dwellings, occupied_private_dwellings, median_age, average_household_size, median_household_income_weekly, median_personal_income_weekly, median_rent_weekly, median_mortgage_repayment_monthly, rented_share_pct, separate_house_share_pct, flat_apartment_share_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/postcodes/{postcode}/demographics/profile
cURL
curl --request GET \
  --url 'https://api.microburbs.com.au/v1/postcodes/2280/demographics/profile' \
  --header 'Authorization: Bearer test'
Example Responses
{
  "data": {
    "dataset": "postcode-profile",
    "level": "postcode",
    "area": "2000",
    "period_type": "snapshot",
    "as_of": "2021-08-10",
    "modelled": false,
    "fields": [
      {
        "field": "suburbs_count",
        "name": "Suburbs in the postcode",
        "unit": "count",
        "values": [
          {
            "period": "2021-08-10",
            "period_start": "2021-08-10",
            "value": 6
          }
        ]
      },
      {
        "field": "population",
        "name": "Population",
        "unit": "persons",
        "values": [
          {
            "period": "2021-08-10",
            "period_start": "2021-08-10",
            "value": 27936
          }
        ]
      },
      {
        "field": "private_dwellings",
        "name": "Private dwellings",
        "unit": "count",
        "values": [
          {
            "period": "2021-08-10",
            "period_start": "2021-08-10",
            "value": 15345
          }
        ]
      }
    ]
  }
}
Successful Response200
application/json

About this dataset

All 2,642 postcodes we map to suburbs; population figures as at 2021-08-10. Current to 2021-08-10; refreshed at the next national population count.

What it is

The basic facts about a postcode in one call: how many suburbs it contains, how many people live there, how many homes, and the typical age, household income, rent, mortgage repayment and housing mix.

What it shows

Thirteen values per postcode: suburbs_count, population, private and occupied dwellings, median age, average household size, median household and personal income per week, median weekly rent, median monthly mortgage repayment, and the shares of homes that are rented, separate houses, or flats and apartments. Population and housing figures are as at August 2021; suburbs_count is the current number of our suburbs inside the postcode.

Why use it

Postcode is how most customers and forms identify a place, so this is the first lookup behind a postcode search box or a postcode landing page: what is this area, how big and what kind of housing. Pair it with the taxation, income-distribution and age datasets, which give the same postcode year by year.

How it is built

Postcode areas are the national postcode geography built from the 2021 population count; population figures are adjusted slightly by the producer to protect privacy, so very small postcodes can look odd. Shares are only given where the postcode has at least 20 occupied homes. Medians are left out where the source gave none (very small or non-residential postcodes). A postcode can cover several suburbs and a suburb can sit in more than one postcode.

Fields

FieldUnitDescription
suburbs_count
Suburbs in the postcode
countNumber of our suburbs that sit in the postcode.
population
Population
personsUsual resident population of the postcode.
private_dwellings
Private dwellings
countTotal private dwellings in the postcode, occupied or not.
occupied_private_dwellings
Occupied private dwellings
countPrivate dwellings with at least one usual resident.
median_age
Median age
yearsMiddle age of residents.
average_household_size
Average household size
personsAverage number of people per household.
median_household_income_weekly
Median household income (weekly)
$Middle total household income per week, before tax.
median_personal_income_weekly
Median personal income (weekly)
$Middle total personal income per week of residents aged 15 and over, before tax.
median_rent_weekly
Median rent (weekly)
$Middle weekly rent paid by renting households.
median_mortgage_repayment_monthly
Median mortgage repayment (monthly)
$Middle monthly mortgage repayment of households paying off a home.
rented_share_pct
Rented share
%Percent of occupied private dwellings that are rented.
separate_house_share_pct
Separate house share
%Percent of occupied private dwellings that are separate houses.
flat_apartment_share_pct
Flat or apartment share
%Percent of occupied private dwellings that are flats or apartments.