Microburbs
Live sandbox. Send any request below against one sample suburb and property — no signup needed. For full coverage, create an API key.
Classic docs
Microburbs Property Data API
Suburb - Lifestyle

Distance to the nearest city and to the nearest capital

GET/v1/suburbs/{suburb_name}/lifestyle/cbd3¢ per call

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 ABS Suburb and Locality (SAL) name, 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.

Price: 3¢ per call.

Authorization

Request

The only values you send. Fields under Responses below are what comes back — you never pass those.

Path parameters

suburb_namestringrequired

Exact ABS Suburb and Locality (SAL) name, 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

None — this endpoint accepts no query parameters. Call the path above with your bearer token and nothing else.

Responses

Successful Response

application/json
LifestyleCbdfields returned to you
area_namestringalways returned

Suburb (SAL) name.

area_levelstringalways returned

Always 'suburb' for these endpoints.

nearest_cityobjectmay be null

A named city and the straight-line distance to it.

capital_cityobjectmay be null

A named city and the straight-line distance to it.

citystringmay be null

DEPRECATED — the CAPITAL's name. Use `capital_city.name`.

distance_kmnumberalways returned

DEPRECATED — distance to the CAPITAL, not to the nearest city. Use `capital_city.distance_km`, or `nearest_city.distance_km`.

GET/v1/suburbs/{suburb_name}/lifestyle/cbd
cURL
curl --request GET \
  --url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/lifestyle/cbd' \
  --header 'Authorization: Bearer test'
Example Responses
{
  "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"
    }
  }
}
Successful Response200
application/json