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
Property - Transport

Western Australia road crash locations, last five years nearby

GET/v1/properties/{gnaf_id}/layers/road-crash-locations-wa/nearby10¢ per call

132,876 reported road crashes on Western Australian roads from 2021 to 2025, as map points with severity, crash type, road, date, time and the bikes, trucks, motorcycles and pedestrians involved.

Coverage: Western Australia, 132,876 crashes from 2021 to 2025: 785 fatal, 6,701 hospital, 32,420 medical, 61,733 property damage major, 31,237 property damage minor. Current to 2026-11-19. Full description, field list and method: /v1/datasets/road-crash-locations-wa.

GeoJSON: every point feature within radius_m of the address, nearest first, with its distance.

Authorization

Request

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

Path parameters

gnaf_idstringrequired

GNAF address id, e.g. `GANSW704074813` (resolve an address with /v1/geocode/address).

Query parameters

radius_mintegeroptional

Search radius in metres, 1 to 2000.

fieldsstringoptional

Comma-separated subset of: acc_id, road_no, road_name, common_road_name, cway, slk, intersection_no, intersection_desc, crash_date, crash_time, accident_type, severity, event_nature, event_type, total_bike_involved, total_truck_involved, total_heavy_truck_involved, total_motor_cycle_involved, total_other_vehicles_involved, total_pedestrians_involved. Omit for all.

limitintegeroptional

Features per page, 1 to 500 (default 200).

offsetintegeroptional

Features to skip, for the next page (`next_offset`).

Responses

Successful Response

application/json
DatasetLayerfields returned to you
datasetstringalways returned

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

geometry_typestringalways returned

point, line or polygon.

areastringalways returned

The suburb answered, or the GNAF id the search is centred on.

radius_mintegermay be null

Nearby calls: the search radius in metres. Null for suburb calls.

as_ofstring · datealways returned

Date the dataset is current to.

modelledbooleanalways returned

True when the features are modelled estimates.

totalintegeralways returned

Features matching, across every page.

limitintegeralways returned

Page size used.

offsetintegeralways returned

Features skipped before this page.

next_offsetintegermay be null

Offset of the next page; null on the last page.

geojsonobjectalways returned
GET/v1/properties/{gnaf_id}/layers/road-crash-locations-wa/nearby
cURL
curl --request GET \
  --url 'https://api.microburbs.com.au/v1/properties/GANSW704074813/layers/road-crash-locations-wa/nearby' \
  --header 'Authorization: Bearer test'
Example Responses
{
  "data": {
    "dataset": "road-crash-locations-wa",
    "geometry_type": "point",
    "area": "GAWA_721661611",
    "radius_m": 2000,
    "as_of": "2026-11-19",
    "modelled": false,
    "total": 2311,
    "limit": 3,
    "offset": 0,
    "next_offset": 3,
    "geojson": {
      "type": "FeatureCollection",
      "features": [
        {
          "type": "Feature",
          "id": "11175196",
          "geometry": {
            "type": "Point",
            "coordinates": [
              115.823909,
              -31.955908
            ]
          },
          "properties": {
            "acc_id": 11175196,
            "road_no": "1270004",
            "road_name": "Rokeby Rd",
            "common_road_name": "Rokeby Rd",
            "cway": "S",
            "slk": 0.33,
            "crash_date": "12/08/2024",
            "crash_time": 1820,
            "accident_type": "Midblock",
            "severity": "PDO Major",
            "event_nature": "Sideswipe Same Dirn",
            "event_type": "Involving Parking",
            "total_bike_involved": 0,
            "total_truck_involved": 0,
            "total_heavy_truck_involved": 0,
            "total_motor_cycle_involved": 0,
            "total_other_vehicles_involved": 1,
            "total_pedestrians_involved": 0,
            "distance_m": 32.1
          }
        },
        {
          "type": "Feature",
          "id": "11444269",
          "geometry": {
            "type": "Point",
            "coordinates": [
              115.823913,
              -31.955469
            ]
          },
          "properties": {
            "acc_id": 11444269,
            "road_no": "1270004",
            "road_name": "Rokeby Rd",
            "common_road_name": "Rokeby Rd",
            "cway": "S",
            "slk": 0.38,
            "intersection_no": "058627",
            "intersection_desc": "Rokeby Rd & Duke St",
            "crash_date": "22/10/2025",
            "crash_time": 1520,
            "accident_type": "Intersection",
            "severity": "PDO Major",
            "event_nature": "Right Turn Thru",
            "total_bike_involved": 0,
            "total_truck_involved": 0,
            "total_heavy_truck_involved": 0,
            "total_motor_cycle_involved": 0,
            "total_other_vehicles_involved": 2,
            "total_pedestrians_involved": 0,
            "distance_m": 44.5
          }
        },
        {
          "type": "Feature",
          "id": "10400213",
          "geometry": {
            "type": "Point",
            "coordinates": [
              115.823903,
              -31.95642
            ]
          },
          "properties": {
            "acc_id": 10400213,
            "road_no": "1270004",
            "road_name": "Rokeby Rd",
            "common_road_name": "Rokeby Rd",
            "cway": "S",
            "slk": 0.27,
            "intersection_no": "058626",
            "intersection_desc": "Rokeby Rd & Nicholson Rd",
            "crash_date": "20/02/2021",
            "crash_time": 630,
            "accident_type": "Intersection",
            "severity": "PDO Major",
            "event_nature": "Right Turn Thru",
            "total_bike_involved": 0,
            "total_truck_involved": 0,
            "total_heavy_truck_involved": 0,
            "total_motor_cycle_involved": 0,
            "total_other_vehicles_involved": 2,
            "total_pedestrians_involved": 0,
            "distance_m": 76.8
          }
        }
      ]
    }
  }
}
Successful Response200
application/json