Crime in Western Australia - suburbs [Data Explorer (legacy)]
/v1/suburbs/{suburb_name}/crime/data-explorer-crime-western-australia5¢ per callLegacy Data Explorer figures for a suburb: 66 fields on crime in western australia, each with its latest value, its own as_of date and its rank among comparable areas.
Coverage: Suburb level; 113,058 values; latest periods 2022-12-01 to 2022-12-01. Current to 2022-12-01. Full description, field list and method: /v1/datasets/data-explorer-crime-disadvantage-crime-western-australia.
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).
Exact suburb identifier required. Exact official suburb name (SAL), e.g. Burwood (NSW) — many suburbs carry a state suffix. If starting from free text or an unverified bare name, first call GET /v1/geocode/suburb?q=<text>, then use the exact data[].area_name it returns. Suburb data endpoints do not guess a state or typo-correct names.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
suburb_namestringrequiredExact official suburb name (SAL), e.g. `Burwood (NSW)` — many suburbs carry a state suffix. If starting from free text or an unverified bare name, first call `GET /v1/geocode/suburb?q=<text>`, then use the exact `data[].area_name` it returns. Suburb data endpoints do not guess a state or typo-correct names.
Query parameters
fieldsstringoptionalComma-separated subset of: arson_causing_bushfire, arson_causing_damage_by_fire, arson_total, assault_police_officer, attempted_conspiracy_to_murder, breach_of_family_violence_restraint_order, breach_of_non_family_violence_restraint_order, breach_of_police_order, breach_of_violence_restraint_order_total, burglary_of_dwelling, burglary_of_non_dwelling, burglary_total, common_family_assault, common_non_family_assault, credit_card_fraud, criminal_property_damage, deprivation_of_liberty_total, driving_causing_death, family_assault_total, forgery, fraud_not_elsewhere_classified, fraud_related_offences_total, graffiti, historical_sexual_offences_total, homicide_total, kidnapping_child_stealing, manslaughter, murder, non_assaultive_sexual_offences, non_criminal_property_damage, non_family_assault_total, non_kidnapping_deprivation_of_liberty, other_fire_related_offences, possess_stolen_property, possess_weapon_to_cause_fear_family, possess_weapon_to_cause_fear_non_family, property_damage_total, receiving_and_possession_of_stolen_property_total, receiving_stolen_property, recent_non_assaultive_sexual_offences, recent_sexual_assault, recent_sexual_offences_total, regulated_weapons_offences_regulated_weapons_offences, robbery_of_business, robbery_of_non_business, robbery_total, serious_family_assault, serious_non_family_assault, sexual_assault, shoplifting_from_retail_premises, stealing_as_a_servant, stealing_from_dwelling, stealing_from_motor_vehicle_contents_or_parts, stealing_from_other_premises_or_place, stealing_not_elsewhere_classified, stealing_of_motor_vehicle, stealing_total, threatening_behaviour_family, threatening_behaviour_family_total, threatening_behaviour_non_family, threatening_behaviour_non_family_total, total_detected_offences, total_selected_miscellaneous_offences, total_selected_offences_against_person_or_property, total_selected_offences_against_property, total_selected_offences_against_the_person. Omit for all.
historybooleanoptionalAlso return every earlier period of each field (oldest first).
Responses
Successful Response
datasetstringalways returnedDataset slug; describe it with /v1/datasets/{slug}.
collectionstringalways returnedAlways data-explorer: the legacy Data Explorer figures, served as last built.
levelstringalways returnedsuburb, lga, postcode, sa2, sa3 or electorate.
areastringalways returnedCanonical name (or postcode) of the area answered.
as_ofstring · datealways returnedLatest `as_of` among the fields returned (excluding forecasts).
modelledbooleanalways returnedTrue when the figures are scores or estimates from a model.
fieldsarray of FigureFieldalways returnedEvery requested field held for the area. Fields with no value for it are left out.
/v1/suburbs/{suburb_name}/crime/data-explorer-crime-western-australiacurl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/crime/data-explorer-crime-western-australia' \
--header 'Authorization: Bearer test'{
"data": {
"dataset": "data-explorer-crime-disadvantage-crime-western-australia",
"collection": "data-explorer",
"level": "suburb",
"area": "Subiaco",
"as_of": "2022-12-01",
"modelled": false,
"fields": [
{
"field": "arson_causing_bushfire",
"name": "Arson Causing Bushfire",
"unit": "residents per incident",
"as_of": "2022-12-01",
"value": 11700,
"rank": 79,
"areas": 361,
"forecast": false,
"name_inferred": false,
"see_also": []
},
{
"field": "arson_causing_damage_by_fire",
"name": "Arson Causing Damage By Fire",
"unit": "residents per incident",
"as_of": "2022-12-01",
"value": 1880,
"rank": 48,
"areas": 361,
"forecast": false,
"name_inferred": false,
"see_also": []
},
{
"field": "arson_total",
"name": "Arson Total",
"unit": "residents per incident",
"as_of": "2022-12-01",
"value": 1510,
"rank": 52,
"areas": 361,
"forecast": false,
"name_inferred": false,
"see_also": []
}
]
}
}