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
SA2 - Crime

Road crashes - SA2 areas [Data Explorer (legacy)]

GET/v1/sa2/{sa2_name}/crime/data-explorer-road-crashes5¢ per call

Legacy Data Explorer figures for a SA2: 12 fields on road crashes, each with its latest value, its own as_of date and its rank among comparable areas.

Coverage: Sa2 level; 6,384 values; latest periods 2021-12-31 to 2021-12-31. Current to 2021-12-31. Full description, field list and method: /v1/datasets/data-explorer-crime-disadvantage-road-crashes-sa2.

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

sa2_namestringrequired

Statistical Area Level 2 (2021) name exactly as published, e.g. `St Kilda - Central` or `Fortitude Valley`.

Query parameters

fieldsstringoptional

Comma-separated subset of: bicycle_involved_in_crashes, bus_involved_in_crashes, car_involved_in_crashes, fatalities_from_crashes, hospitalised_from_crashes, injured_and_killed_from_crashes, medically_treated_injuries_from_crashes, minor_injury_from_crashes, motorcycle_involved_in_crashes, other_involved_in_crashes, pedestrians_involved_in_crashes, truck_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/sa2/{sa2_name}/crime/data-explorer-road-crashes
cURL
curl --request GET \
  --url 'https://api.microburbs.com.au/v1/sa2/Fortitude%20Valley/crime/data-explorer-road-crashes' \
  --header 'Authorization: Bearer test'
Example Responses
{
  "data": {
    "dataset": "data-explorer-crime-disadvantage-road-crashes-sa2",
    "collection": "data-explorer",
    "level": "sa2",
    "area": "Fortitude Valley",
    "as_of": "2021-12-31",
    "modelled": false,
    "fields": [
      {
        "field": "bicycle_involved_in_crashes",
        "name": "Bicycle involved in crashes",
        "unit": "residents per incident",
        "as_of": "2021-12-31",
        "value": 1360,
        "rank": 43,
        "areas": 130,
        "forecast": false,
        "name_inferred": false,
        "see_also": []
      },
      {
        "field": "bus_involved_in_crashes",
        "name": "Bus involved in crashes",
        "unit": "residents per incident",
        "as_of": "2021-12-31",
        "value": 9530,
        "rank": 116,
        "areas": 129,
        "forecast": false,
        "name_inferred": false,
        "see_also": []
      },
      {
        "field": "car_involved_in_crashes",
        "name": "Car involved in crashes",
        "unit": "residents per incident",
        "as_of": "2021-12-31",
        "value": 78.1,
        "rank": 10,
        "areas": 130,
        "forecast": false,
        "name_inferred": false,
        "see_also": []
      }
    ]
  }
}
Successful Response200
application/json