Suburb - Crime
Crime — breakdown by type
GET
/v1/suburbs/{suburb_name}/crime/breakdown10¢ per callPer-crime-type rates (predicted incidents per 100,000 residents per year) for the suburb vs national medians.
Price: 10¢ per call.
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
suburb_namestringrequiredQuery parameters
None — this endpoint accepts no query parameters. Call the path above with your bearer token and nothing else.
Responses
Successful Response
application/json
CrimeBreakdownfields returned to you
area_namestringalways returnedSuburb (SAL) name.
area_levelstringalways returnedAlways 'suburb' for these endpoints.
unitstringalways returnedUnit of every rate / national_median value — always 'predicted incidents per 100,000 residents per year'.
breakdownarray of CrimeBreakdownRowalways returnedOne row per crime type, sorted by rate descending.
GET
/v1/suburbs/{suburb_name}/crime/breakdowncURL
curl --request GET \
--url 'https://api.microburbs.com.au/v1/suburbs/Belmont%20North/crime/breakdown' \
--header 'Authorization: Bearer test'Example Responses
{
"data": {
"area_level": "suburb",
"area_name": "Belmont North",
"breakdown": [
{
"diff_pct": 12,
"label": "Property",
"national_median": 898,
"rate": 1008,
"type": "property",
"verdict": "Above average"
},
{
"diff_pct": -12,
"label": "Drugs",
"national_median": 409,
"rate": 358,
"type": "drugs",
"verdict": "Below average"
}
],
"unit": "predicted incidents per 100,000 residents per year"
}
}Successful Response200
application/json
