Suburb - Hero
Neighbouring suburbs
GET
/v1/suburbs/{suburb_name}/hero/neighbours5¢ per callNearest neighbouring suburbs with distance in km, closest first.
Price: 5¢ per call.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
suburb_namestringrequiredQuery parameters
None — this endpoint accepts no query parameters. Call the path above with your bearer token and nothing else.
Responses
Successful Response
application/json
HeroNeighboursfields returned to you
area_namestringalways returnedSuburb (SAL) name.
area_levelstringalways returnedAlways 'suburb' for these endpoints.
neighboursarray of HeroNeighbourRowalways returnedNeighbouring suburbs ordered by distance (closest first).
GET
/v1/suburbs/{suburb_name}/hero/neighbourscURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/hero/neighbours' \
--header 'Authorization: Bearer test'Example Responses
{
"data": {
"area_level": "suburb",
"area_name": "Belmont North",
"neighbours": [
{
"dist_km": 1,
"sa3": "Lake Macquarie - East",
"sal": "Floraville"
},
{
"dist_km": 1.4,
"sa3": "Lake Macquarie - East",
"sal": "Belmont (NSW)"
}
]
}
}Successful Response200
application/json
