Dataset map layer near an address
/v1/properties/{gnaf_id}/layers/{slug}/nearby10¢ per callGeoJSON: every feature of a map-layer dataset within radius_m of the address, nearest first, with its distance.
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}.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
gnaf_idstringrequiredGNAF address id, e.g. `GANSW704074813` (resolve an address with /v1/geocode/address).
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
radius_mintegeroptionalSearch radius in metres, 1 to the dataset's maximum (2000 unless its docs say otherwise; default 500).
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/properties/{gnaf_id}/layers/{slug}/nearbyslug — set it on the left to send.curl --request GET \
--url 'https://api.microburbs.com.au/v1/properties/GANSW704074813/layers/{slug}/nearby' \
--header 'Authorization: Bearer test'{
"data": {
"geojson": {
"type": "FeatureCollection"
}
}
}