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
Suburb - Area Statistics

Number of bedrooms (detailed)

GET/v1/suburbs/{suburb_name}/area-stats/bedrooms-detailed5¢ per call

Number of bedrooms: counts and shares for all 23 categories in every suburb.

Coverage: About 600 suburbs and localities across Australia, in all states and territories (suburbs with fewer than 50 residents are left out); one snapshot at 10 August 2021. Current to 2021-08-10. Full description, field list and method: /v1/datasets/bedrooms-detailed.

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_namestringrequired

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.

Query parameters

fieldsstringoptional

Comma-separated subset of: total_dwellings, in_scope_dwellings, none_includes_studio_apartments_or_bedsitters_count, none_includes_studio_apartments_or_bedsitters_pct, 1_bedroom_count, 1_bedroom_pct, 2_bedrooms_count, 2_bedrooms_pct, 3_bedrooms_count, 3_bedrooms_pct, 4_bedrooms_count, 4_bedrooms_pct, 5_bedrooms_count, 5_bedrooms_pct, 6_bedrooms_count, 6_bedrooms_pct, 7_bedrooms_count, 7_bedrooms_pct, 8_bedrooms_count, 8_bedrooms_pct, 9_bedrooms_count, 9_bedrooms_pct, 10_bedrooms_count, 10_bedrooms_pct, 11_bedrooms_count, 11_bedrooms_pct, 12_bedrooms_count, 12_bedrooms_pct, 13_bedrooms_count, 13_bedrooms_pct, 14_bedrooms_count, 14_bedrooms_pct, 15_bedrooms_count, 15_bedrooms_pct, 20_bedrooms_count, 20_bedrooms_pct, 22_bedrooms_count, 22_bedrooms_pct, 24_bedrooms_count, 24_bedrooms_pct, 25_bedrooms_count, 25_bedrooms_pct, 28_bedrooms_count, 28_bedrooms_pct, 30_or_more_bedrooms_count, 30_or_more_bedrooms_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/suburbs/{suburb_name}/area-stats/bedrooms-detailed
cURL
curl --request GET \
  --url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/area-stats/bedrooms-detailed' \
  --header 'Authorization: Bearer test'
Example Responses
{
  "data": {
    "dataset": "bedrooms-detailed",
    "level": "suburb",
    "area": "Bondi",
    "period_type": "snapshot",
    "as_of": "2021-08-10",
    "modelled": false,
    "fields": [
      {
        "field": "total_dwellings",
        "name": "Total dwellings",
        "unit": "dwellings",
        "values": [
          {
            "period": "2021-08-10",
            "period_start": "2021-08-10",
            "value": 5369
          }
        ]
      },
      {
        "field": "in_scope_dwellings",
        "name": "Occupied private dwellings",
        "unit": "dwellings",
        "values": [
          {
            "period": "2021-08-10",
            "period_start": "2021-08-10",
            "value": 4776
          }
        ]
      },
      {
        "field": "none_includes_studio_apartments_or_bedsitters_count",
        "name": "None (includes studio apartments or bedsitters): dwellings",
        "unit": "dwellings",
        "values": [
          {
            "period": "2021-08-10",
            "period_start": "2021-08-10",
            "value": 113
          }
        ]
      }
    ]
  }
}
Successful Response200
application/json