Civic records API

Pedestrian Accident API

The Pedestrian Accident API returns records about collisions or incidents involving people walking, with about 70,877 records in its current coverage. Records can include dates, locations, injury counts, road and weather conditions, contributing factors, and contextual information such as land use and flood risk. Use the data for safety analysis, mapping, and research.

Canada · JSON, GeoJSON, CSV, Parquet

POSThttps://api.outerview.ai/v1/stream
curl https://api.outerview.ai/v1/stream \
  -X POST \
  -H "Authorization: Bearer $OUTERVIEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "pedestrian accident",
    "region_id": "21821",
    "limit": 50
  }'

Key facts

  • The Pedestrian Accident API covers about 70,877 records in Canada.
  • Alberta accounts for 61.3% of records, and Ontario accounts for 38.7%.
  • Calgary and Toronto are the listed cities in the coverage.
  • Latitude and longitude are each filled for 87% of records.

Quick start

  1. 1. Create an account and generate an API key on the developer platform.
  2. 2. Send it as a Bearer token in the Authorization header.
  3. 3. Query by place, radius or date (the example searches Calgary).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/pedestrian-accident/download?format=geojson

Add &region_slug=… to limit to one place. Formats: csv, geojson, parquet.

Sample records

Real records from the data, trimmed to the main fields.

10 records
CityDateTypeSubtypeInjuredLatitudeLongitude
Chicago2026-11-26PEDESTRIANNONINCAPACITATING INJURY141.777-87.781
Chicago2026-11-26PEDESTRIANNONINCAPACITATING INJURY241.853-87.622
Chicago2026-11-26PEDESTRIANNONINCAPACITATING INJURY141.75-87.664
Chicago2026-11-26PEDESTRIANNONINCAPACITATING INJURY141.73-87.544
—2026-11-26PEDESTRIANNONINCAPACITATING INJURY141.804-87.585
Chicago2026-11-25PEDESTRIANINCAPACITATING INJURY141.814-87.665
Chicago2026-11-25PEDESTRIANNONINCAPACITATING INJURY141.814-87.704
—2026-11-25PEDESTRIANNO INDICATION OF INJURY041.757-87.554
Chicago2026-11-25PEDESTRIANNONINCAPACITATING INJURY241.878-87.689
Chicago2026-11-25PEDESTRIANREPORTED, NOT EVIDENT141.917-87.727

Pedestrian accident data for analysis

This API brings together pedestrian accident records from city and county open-data portals. The records describe incidents involving pedestrians and may include vehicle, injury, and location details.

Developers, researchers, transport planners, and data buyers can use the data to study pedestrian safety, build maps, and support local analysis.

Coverage in Canada

The dataset contains about 70,877 records, with coverage in Canada. The listed provinces are Alberta and Ontario.

Listed cities are Calgary and Toronto. Alberta accounts for 61.3% of the records and Ontario for 38.7%; Calgary and Toronto have the same respective shares.

Fields in each record

Records can include source, date, year, month, latitude, longitude, description, category, weather condition, road condition, contributing factor, people injured, and people killed. Field completeness varies: source, date, and year are filled for all records; latitude and longitude are each filled for 87%.

Additional context can include population within 1 km, elevation, settlement class, climate group, tree canopy percentage, flood zone, median household income in 2024 dollars, median home value, and land-use categories. Land-use categories are filled for 30% of records.

  • sourceSource dataset
  • dateDate of the record
  • yearYear
  • latitudeLatitude
  • longitudeLongitude
  • descriptionDescription from the source
  • categoryRecord category
  • weather_conditionWeather at the time
  • road_conditionRoad surface condition
  • contributing_factorRecorded contributing factor
  • persons_injuredPeople injured
  • persons_killedPeople killed
  • monthMonth
  • ghsl_pop_1km_2020How many people live here (people)
  • elevation_mHeight above sea level (m)
  • settlement_classCity, town or countryside
  • climate_groupClimate group
  • nlcd_tree_canopy_pctTree cover (%)
  • flood_zoneFlood risk
  • acs_median_household_income_usdTypical household income (USD (2024 dollars))
  • acs_median_home_value_usdTypical home value (USD)
  • land_use_categoriesLand use

Filter and retrieve records

Filter records by region, radius, date, or selected fields to focus analysis on a place, time period, or set of attributes. Location fields support geographic analysis where coordinates are available.

Use streaming for live queries or bulk downloads for whole datasets. Available formats are JSON, GeoJSON, CSV, and Parquet.

What you can build

Map pedestrian incidents and identify locations that merit closer safety review. Compare injury counts and recorded contributing factors across places or time periods.

Study how recorded incidents relate to weather, road conditions, population, elevation, or land use. Build research datasets, support transport planning, or add pedestrian-incident context to civic data products.

Access and plans

Access the API with an API key and choose JSON, GeoJSON, CSV, or Parquet for data workflows.

A free tier is available. Paid plans support higher limits and bulk downloads; pricing is not listed here.

Frequently asked questions

Is there an API for pedestrian accident data in Canada?

Yes. The Pedestrian Accident API provides records from Canada, with listed coverage in Alberta and Ontario. The dataset has about 70,877 records and includes cities such as Calgary and Toronto.

Does the API include pedestrian accidents in Calgary or Toronto?

Yes. Calgary and Toronto are listed as covered cities. Calgary accounts for 61.3% of records and Toronto accounts for 38.7%, according to the coverage information.

What fields does the Pedestrian Accident API return?

Fields can include date, year, location, description, category, weather and road conditions, contributing factor, and people injured or killed. Records can also include population, elevation, climate, flood risk, income, home value, and land-use context.

Can I filter pedestrian accident data by location and date?

Yes. You can filter by region, radius, date, or selected fields. Latitude and longitude are each present in 87% of records, so coordinate-based analysis depends on whether a record has location values.

How often is the pedestrian accident data updated?

The update frequency is not specified in the available dataset information. The data comes from city and county open-data portals, so check the source information for the records you use when update timing matters.

What formats are available for pedestrian accident records?

The API offers JSON, GeoJSON, CSV, and Parquet. These formats support application queries, geographic workflows, tabular analysis, and data processing.

Does every record include coordinates and injury details?

No. Latitude and longitude are each filled for 87% of records. The people-injured and people-killed fields are each filled for 86%, so some records may not include those values.

Can I download the full pedestrian accident dataset?

Bulk downloads are available on paid plans. The API also has a free tier, and paid plans support higher limits and bulk downloads. Available data formats include JSON, GeoJSON, CSV, and Parquet.

Start building with the Pedestrian Accident API

Free to try. Paid plans raise limits and unlock bulk downloads.