State and territory boundaries nearby
/v1/properties/{gnaf_id}/layers/state-boundaries/nearby10¢ per callEach state and territory (and the other territories) as a map polygon.
Coverage: Australia: 8 states and territories plus the other territories, 9 shapes. Current to 2026-11-19. Full description, field list and method: /v1/datasets/state-boundaries.
GeoJSON: every polygon feature within radius_m of the address, nearest first, with its distance.
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).
Query parameters
radius_mintegeroptionalSearch radius in metres, 1 to 2000.
fieldsstringoptionalComma-separated subset of: state_id, state_name, state. Omit for all.
limitintegeroptionalFeatures per page, 1 to 500 (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/state-boundaries/nearbycurl --request GET \
--url 'https://api.microburbs.com.au/v1/properties/GANSW704074813/layers/state-boundaries/nearby' \
--header 'Authorization: Bearer test'{
"data": {
"dataset": "state-boundaries",
"geometry_type": "polygon",
"area": "GANSW704074813",
"radius_m": 2000,
"as_of": "2026-11-19",
"modelled": false,
"total": 1,
"limit": 3,
"offset": 0,
"geojson": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": "1",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
150.05219,
-37.263625
],
[
150.052163,
-37.263646
],
[
150.052089,
-37.263681
]
]
],
[
[
[
150.051369,
-37.26314
],
[
150.051397,
-37.26317
],
[
150.051367,
-37.263193
]
]
],
[
[
[
150.052222,
-37.262178
],
[
150.05223,
-37.262161
],
[
150.052267,
-37.26215
]
]
]
]
},
"properties": {
"state_id": "1",
"state_name": "NEW SOUTH WALES",
"state": "NSW",
"distance_m": 0
}
}
]
}
}
}