Dataset values for an Suburb
/v1/suburbs/{suburb_name}/datasets/{slug}10¢ per callEvery field of a values dataset for one Suburb, each period with its value.
One route for every dataset of this kind: the slug picks the dataset, and its fields, caveats and an example call are at /v1/datasets/{slug}.
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.
Price: the dataset's tier, basic 3¢, standard 5¢, premium 10¢ per call (price_cents in /v1/datasets/{slug}).
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.
slugstringrequiredDataset slug, from `/v1/datasets` (filter by `kind` and `level`) or the endpoint search. A slug this route does not serve is a 404 and is not billed.
Required — set a value before sending.
Query parameters
fieldsstringoptionalComma-separated field slugs (listed at `/v1/datasets/{slug}`). 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}/datasets/{slug}slug — set it on the left to send.curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/datasets/{slug}' \
--header 'Authorization: Bearer test'{}