MicroburbsMicroburbs
Free sandbox: try any request below on the sample suburbs, no signup. For every suburb, create an API key.
Classic docs
Microburbs Property Data API
LGA - Crime

Road crashes - councils (LGA) [Data Explorer (legacy)]

GET/v1/lga/{lga_name}/crime/data-explorer-road-crashes5¢ per call

Legacy Data Explorer figures for a council (LGA): 22 fields on road crashes, each with its latest value, its own as_of date and its rank among comparable areas.

Coverage: Council (lga) level; 1,562 values; latest periods 2020-12-31 to 2020-12-31. Current to 2020-12-31. Full description, field list and method: /v1/datasets/data-explorer-crime-disadvantage-road-crashes-lga.

Part of the Data Explorer (legacy) collection: figures served as last built. Each field carries its own as_of; several link to the maintained field that replaces them (superseded_by).

Authorization

Request

The only values you send. Fields under Responses below are what comes back — you never pass those.

Path parameters

lga_namestringrequired

Council (LGA) name exactly as /v1/lga/list returns it, e.g. `Lake Macquarie`.

Query parameters

fieldsstringoptional

Comma-separated subset of: bicyclists_involved_in_crashes, drivers_involved_in_crashes, fatalities_from_crashes, females_involved_in_crashes, heavy_vehicles_involved_in_crashes, injuries_and_fatalities_from_crashes, males_involved_in_crashes, motorcycles_involved_in_crashes, non_serious_injuries_from_crashes, not_injured_from_crashes, old_drivers_involved_in_crashes, old_pedestrians_involved_in_crashes, passengers_involved_in_crashes, pedestrians_involved_in_crashes, pillions_involved_in_crashes, public_vehicles_involved_in_crashes, serious_injuries_from_crashes, total_crashes, unknown_individual_involved_in_crashes, unlicenced_involved_in_crashes, vehicles_involved_in_crashes, young_drivers_involved_in_crashes. Omit for all.

historybooleanoptional

Also return every earlier period of each field (oldest first).

not sent · default false

Responses

Successful Response

application/json
DatasetFiguresfields returned to you
datasetstringalways returned

Dataset slug; describe it with /v1/datasets/{slug}.

collectionstringalways returned

Always data-explorer: the legacy Data Explorer figures, served as last built.

levelstringalways returned

suburb, lga, postcode, sa2, sa3 or electorate.

areastringalways returned

Canonical name (or postcode) of the area answered.

as_ofstring · datealways returned

Latest `as_of` among the fields returned (excluding forecasts).

modelledbooleanalways returned

True when the figures are scores or estimates from a model.

fieldsarray of FigureFieldalways returned

Every requested field held for the area. Fields with no value for it are left out.

GET/v1/lga/{lga_name}/crime/data-explorer-road-crashes
cURL
curl --request GET \
  --url 'https://api.microburbs.com.au/v1/lga/Lake%20Macquarie/crime/data-explorer-road-crashes' \
  --header 'Authorization: Bearer test'
Example Responses
{
  "data": {
    "dataset": "data-explorer-crime-disadvantage-road-crashes-lga",
    "collection": "data-explorer",
    "level": "lga",
    "area": "Port Phillip",
    "as_of": "2020-12-31",
    "modelled": false,
    "fields": [
      {
        "field": "bicyclists_involved_in_crashes",
        "name": "Bicyclists involved in crashes",
        "unit": "residents per incident",
        "as_of": "2020-12-31",
        "value": 2760,
        "rank": 3,
        "areas": 28,
        "forecast": false,
        "name_inferred": false,
        "see_also": []
      },
      {
        "field": "drivers_involved_in_crashes",
        "name": "Drivers involved in crashes",
        "unit": "residents per incident",
        "as_of": "2020-12-31",
        "value": 791,
        "rank": 15,
        "areas": 28,
        "forecast": false,
        "name_inferred": false,
        "see_also": []
      },
      {
        "field": "fatalities_from_crashes",
        "name": "Fatalities from crashes",
        "unit": "residents per incident",
        "as_of": "2020-12-31",
        "value": 102000,
        "rank": 18,
        "areas": 28,
        "forecast": false,
        "name_inferred": false,
        "see_also": []
      }
    ]
  }
}
Successful Response200
application/json