Dataset map layer in a suburb
/v1/suburbs/{suburb_name}/layers/{slug}10¢ per callGeoJSON: every feature of a map-layer dataset in or crossing the suburb, with all its attributes, a page at a time.
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.
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.
limitintegeroptionalFeatures per page, 1 to the dataset's maximum (500 unless its docs say otherwise; default 200).
offsetintegeroptionalFeatures to skip, for the next page (`next_offset`).
Responses
Successful Response
datasetstringalways returnedDataset slug; describe it with /v1/datasets/{slug}.
geometry_typestringalways returnedpoint, line or polygon.
areastringalways returnedThe suburb answered, or the GNAF id the search is centred on.
radius_mintegermay be nullNearby calls: the search radius in metres. Null for suburb calls.
as_ofstring · datealways returnedDate the dataset is current to.
modelledbooleanalways returnedTrue when the features are modelled estimates.
totalintegeralways returnedFeatures matching, across every page.
limitintegeralways returnedPage size used.
offsetintegeralways returnedFeatures skipped before this page.
next_offsetintegermay be nullOffset of the next page; null on the last page.
geojsonobjectalways returned/v1/suburbs/{suburb_name}/layers/{slug}slug — set it on the left to send.curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/layers/{slug}' \
--header 'Authorization: Bearer test'{
"data": {
"geojson": {
"type": "FeatureCollection"
}
}
}