API reference

Emergency facilities

Where responders come from: police, ambulance, fire and SES facility locations nationally, searchable by radius. Base URL https://dataquoll.io/api/v1.

GET/facilities

Emergency service facility locations

Where responders come from: the locations of police, ambulance, metropolitan fire, rural and country fire, and SES facilities across Australia, from Geoscience Australia under CC BY 4.0. A static reference layer, not a live feed. Two lanes, and at least one is required. Either a radius search (lat, lng and radius together) or a filter (state and/or class). A bare call is rejected rather than returning all 8,888 facilities. Address columns derived from G-NAF are deliberately not collected, because they carry a separate licence to the rest of the dataset.

Parameters

NameInRequiredTypeDescription
latqueryNonumberLatitude of the search centre. Required with lng and radius.
lngqueryNonumberLongitude of the search centre. Required with lat and radius.
radiusqueryNonumberSearch radius in kilometres. Required with lat and lng.
statequeryNostringLowercase state code. Note that three Australian Federal Police facilities in the Indian Ocean Territories carry no state and are returned only by radius search.
classqueryNostringFacility class, as a short alias or the full source string.
limitqueryNointeger

Responses

StatusDescription
200Matching facilities
400Neither lane supplied, or a parameter out of range
401Missing or invalid API key
429Rate limit exceeded
Request
curl "https://dataquoll.io/api/v1/facilities" \
  -H "Authorization: Bearer YOUR_API_KEY"