Suburb - Lifestyle
Nearest beach + hospital
GET
/v1/suburbs/{suburb_name}/lifestyle/landmarks5¢ per callNearest beach and hospital with straight-line distances (null = none within ~50 km).
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
LifestyleLandmarksfields returned to you
area_namestringalways returnedSuburb (SAL) name.
area_levelstringalways returnedAlways 'suburb' for these endpoints.
nearest_beachobjectmay be nullA named landmark with straight-line distance.
nearest_hospitalobjectmay be nullA named landmark with straight-line distance.
GET
/v1/suburbs/{suburb_name}/lifestyle/landmarkscURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/lifestyle/landmarks' \
--header 'Authorization: Bearer test'Example Responses
{
"data": {
"area_level": "suburb",
"area_name": "Belmont North",
"nearest_beach": {
"dist_km": 1.5,
"name": "Redhead Beach, NSW"
},
"nearest_hospital": {
"dist_km": 1.4,
"name": "Narla Village"
}
}
}Successful Response200
application/json
