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.
/facilitiesEmergency 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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
lat | query | No | number | Latitude of the search centre. Required with lng and radius. |
lng | query | No | number | Longitude of the search centre. Required with lat and radius. |
radius | query | No | number | Search radius in kilometres. Required with lat and lng. |
state | query | No | string | Lowercase state code. Note that three Australian Federal Police facilities in the Indian Ocean Territories carry no state and are returned only by radius search. |
class | query | No | string | Facility class, as a short alias or the full source string. |
limit | query | No | integer |
Responses
| Status | Description |
|---|---|
200 | Matching facilities |
400 | Neither lane supplied, or a parameter out of range |
401 | Missing or invalid API key |
429 | Rate limit exceeded |
curl "https://dataquoll.io/api/v1/facilities" \ -H "Authorization: Bearer YOUR_API_KEY"