POIs / amenities in the suburb (pubs, cafes, gyms, schools, …)
/v1/suburbs/{suburb_name}/lifestyle/pois25¢ per callEvery named venue / amenity in the suburb as GeoJSON Point features, plus a per-category count.
Each point carries name, a broad category (Restaurant / Cafe, Shopping,
Health, Entertainment, Sport & Fitness, Education, …) and a finer subtype
(e.g. pub, bar, cafe, restaurant, gym, supermarket, school,
pharmacy). This is the endpoint for "what / how many subtype, and read real venue names from name. The top-level
categories array gives the broad-category counts without walking the list.
Price: 25¢ 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
Responses
Successful Response
area_namestringalways returnedSuburb (SAL) name.
area_levelstringalways returnedAlways 'suburb' for these endpoints.
countintegeralways returnedTotal POI features returned.
categoriesarray of PoiCategoryCountalways returnedPer-category counts, largest first.
poisobjectalways returnedGeoJSON FeatureCollection of POI points.
/v1/suburbs/{suburb_name}/lifestyle/poiscurl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/lifestyle/pois' \
--header 'Authorization: Bearer test'{
"data": {
"area_level": "suburb",
"area_name": "Belmont North",
"categories": [
{
"category": "Shopping",
"count": 32
},
{
"category": "Sport & Fitness",
"count": 26
}
],
"count": 177,
"pois": {
"features": [
{
"geometry": {
"coordinates": [
151.66231,
-33.02463
],
"type": "Point"
},
"properties": {
"name": "Ampol Foodary",
"category": "Shopping",
"subtype": "newsagent",
"dim": "convenience"
},
"type": "Feature"
}
],
"type": "FeatureCollection"
}
}
}