Distance to CBD
/v1/suburbs/{suburb_name}/lifestyle/cbd3¢ per callShown in the suburb report as the 'Distance to {City} CBD' table row in the Lifestyle section.
Straight-line distance to the nearest city and to the nearest capital, in km.
Both, because they answer different questions and are often nowhere near
each other: Belmont North is 14 km from Newcastle and 108 km from Sydney.
nearest_city is usually what a buyer means by "how far is town".
The top-level city / distance_km fields are DEPRECATED. They still
describe the CAPITAL, unchanged, so existing callers are unaffected —
read capital_city or nearest_city instead.
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.
Query parameters
Responses
Successful Response
area_namestringalways returnedSuburb (SAL) name.
area_levelstringalways returnedAlways 'suburb' for these endpoints.
nearest_cityobjectmay be nullA named city and the straight-line distance to it.
capital_cityobjectmay be nullA named city and the straight-line distance to it.
citystringmay be nullDEPRECATED — the CAPITAL's name. Use `capital_city.name`.
distance_kmnumberalways returnedDEPRECATED — distance to the CAPITAL, not to the nearest city. Use `capital_city.distance_km`, or `nearest_city.distance_km`.
About this data
What this is
How far the suburb is from town: the straight-line distance in km to the nearest city of any size, and to the nearest state or territory capital.
What people use it for
- Buyers: compare commutes and how regional a suburb is.
- Investors: filter suburbs by distance from a capital.
- AI assistants: answer "how far is X from the city".
Tips
nearest_city is usually what a buyer means by "how far is town": Belmont North is 14 km from Newcastle but 108 km from Sydney. Read capital_city or nearest_city; the top-level city and distance_km fields are deprecated. To rank suburbs by distance, use /v1/suburbs/finder/search.
/v1/suburbs/{suburb_name}/lifestyle/cbdcurl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/lifestyle/cbd' \
--header 'Authorization: Bearer test'{
"data": {
"area_level": "suburb",
"area_name": "Belmont North",
"capital_city": {
"distance_km": 108,
"name": "Sydney"
},
"city": "Sydney",
"distance_km": 108,
"nearest_city": {
"distance_km": 14,
"name": "Newcastle"
}
}
}