Property - Schools
Nearby schools
GET
/v1/properties/{gnaf_id}/schools/nearby5¢ per callSchools within ~5km of the property, with rank + student counts.
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
gnaf_idstringrequiredQuery parameters
None — this endpoint accepts no query parameters. Call the path above with your bearer token and nothing else.
Responses
Successful Response
application/json
list[SchoolNearby]fields returned to you
Array of:
idintegermay be nullSchool identifier (MySchool ID).
namestringmay be nullSchool name.
sectorstringmay be nullpublic / private.
school_level_typestringmay be nullPrimary / Secondary / Combined.
distance_mintegermay be nullDistance from the property in metres.
GET
/v1/properties/{gnaf_id}/schools/nearbycURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/properties/GANSW704074813/schools/nearby' \
--header 'Authorization: Bearer test'Example Responses
{
"data": [
{
"distance_m": 612,
"id": 42002,
"name": "Belmont North Public School",
"school_level_type": "Primary",
"sector": "public"
}
]
}Successful Response200
application/json
