Key facts
- The API contains about 7,285 drug-related accident records.
- Illinois accounts for 72.1% of the listed state coverage.
- California accounts for 27.9% of the listed state coverage.
- Chicago accounts for 72.1% of the records.
- Coverage shares are based on 4,000 sampled rows.
Quick start
- 1. Create an account and generate an API key on the developer platform.
- 2. Send it as a Bearer token in the
Authorizationheader. - 3. Query by place, radius or date (the example searches Chicago).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/drug-related-accident/download?format=geojsonAdd ®ion_slug=… to limit to one place. Formats: csv, geojson, parquet.
Sample records
Real records from the data, trimmed to the main fields.
| City | Date | Injured | Latitude | Longitude |
|---|---|---|---|---|
| New York City | 2026-11-14 | 2 | 40.624 | -74.02 |
| New York City | 2026-10-17 | 1 | 40.647 | -74.013 |
| New York City | 2026-10-16 | 0 | 40.718 | -73.792 |
| New York City | 2026-09-30 | 2 | 40.814 | -73.931 |
| New York City | 2026-09-16 | 0 | 40.658 | -73.946 |
| New York City | 2026-09-05 | 0 | 40.719 | -74.012 |
| New York City | 2026-08-16 | 1 | 40.655 | -73.953 |
| New York City | 2026-07-27 | 0 | 40.71 | -73.949 |
| New York City | 2026-07-21 | 2 | 40.732 | -74 |
| New York City | 2026-07-19 | 0 | 40.644 | -73.891 |
Overview
The API brings together records of crashes connected to drug use, including source descriptions, recorded contributing factors, and the numbers of people injured or killed. Records come from city and county open-data portals.
Developers, researchers, and data buyers can use the records to map incidents, examine crash patterns, and combine accident details with location context.
Coverage
The dataset covers the United States, with records listed for Illinois and California. Chicago accounts for 72.1% of the records and San Francisco for 27.9%.
The API contains about 7,285 records. Coverage shares are based on 4,000 sampled rows.
Fields
Each record includes its source, date, year, latitude, longitude, description, contributing factor, people injured, people killed, and settlement class. Month is available for 98% of records; category, weather condition, and road condition are each available for 49%.
Records also include geographic and environmental context such as nearby population, tree canopy, flood zone, elevation, and climate group. Median household income is available for 92% of records, and median home value for 80%.
sourceSource datasetdateDate of the recordyearYearlatitudeLatitudelongitudeLongitudedescriptionDescription from the sourcecontributing_factorRecorded contributing factorpersons_injuredPeople injuredpersons_killedPeople killedmonthMonthcategoryRecord categoryweather_conditionWeather at the timeroad_conditionRoad surface conditionsettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)nlcd_tree_canopy_pctTree cover (%)flood_zoneFlood riskelevation_mHeight above sea level (m)climate_groupClimate groupacs_median_household_income_usdTypical household income (USD (2024 dollars))acs_median_home_value_usdTypical home value (USD)
Queries
Filter records by region, radius, date, or selected fields. Stream results for live queries, or use a bulk download when you need a whole dataset.
Available formats are JSON, GeoJSON, CSV, and Parquet. Access requires an API key; a free tier is available, with paid plans for higher limits and bulk downloads.
Use cases
Map reported crashes and compare incident patterns between Chicago and San Francisco. Analyze injury and fatality counts alongside recorded contributing factors.
Study how crash records vary by road or weather condition where those fields are present. Combine incident locations with population, flood-zone, elevation, or neighborhood socioeconomic context.
Pricing
The API offers a free tier and paid plans for higher limits and bulk downloads. An API key is required for access; specific prices are not stated here.
Choose JSON, GeoJSON, CSV, or Parquet according to your application or analysis workflow.
Frequently asked questions
Is there an API for drug-related accident data in Chicago?
Yes. The Drug Related Accident API includes records for Chicago, which accounts for 72.1% of the records. The data includes incident dates, coordinates, descriptions, contributing factors, and counts of people injured or killed.
Does the API include drug-related accident data for California?
Yes. California accounts for 27.9% of the records, with San Francisco listed in the city coverage. Records can include location, date, contributing factor, and injury and fatality details.
How many drug-related accident records are available?
The API contains about 7,285 records. Coverage shares are based on a sample of 4,000 rows, and the listed state shares are Illinois and California.
What fields does the Drug Related Accident API return?
Records include source, date, year, coordinates, description, contributing factor, people injured, people killed, and settlement class. Additional fields include weather, road condition, population, tree canopy, flood zone, elevation, climate group, and area-level income and home value.
Can I filter accident records by location or date?
Yes. Queries can be filtered by region, radius, date, or selected fields. The API covers Illinois and California, with Chicago and San Francisco listed among its cities.
How often is the accident data updated?
A refresh frequency is not specified. The records are sourced from city and county open-data portals, so consult the API's available data or source details when you need to confirm the currency of a particular record.
What formats are available for the accident data?
The API provides JSON, GeoJSON, CSV, and Parquet. These formats support application queries as well as mapping and data-analysis workflows.
Can I download the full accident dataset?
Bulk downloads are available on paid plans. The API also has a free tier, and an API key is required for access. Specific prices and plan limits are not stated here.
Start building with the Drug Related Accident API
Free to try. Paid plans raise limits and unlock bulk downloads.