Civic records API

Hazardous Materials API

The Hazardous Materials API returns service-request records about dangerous substances, including chemical spills, with about 132,000 records. Records include dates, locations, descriptions, categories and statuses, plus agency and neighborhood context. Developers and data buyers can use the records to map reported incidents, analyze patterns and combine incident data with local environmental and demographic attributes.

United States, 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": "hazardous materials",
    "region_id": "133147",
    "limit": 50
  }'

Key facts

  • The API contains about 132,000 hazardous-material service-request records.
  • San Francisco accounts for 96.5% of the stated city coverage.
  • The stated country coverage includes the United States and Canada.
  • Records include latitude and longitude for location-based analysis.

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 San Francisco).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/hazardous-materials/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
CityDateTypeStatusSubtypeLatitudeLongitude
New York City2026-11-25Hazardous MaterialIn ProgressChemical Spill40.72-73.76
San Francisco2026-11-24General RequestClosed—37.723-122.394
New York City2026-11-24Hazardous MaterialIn ProgressChemical Spill40.656-73.746
Dallas2026-11-24Chemical Spill Urgent - DWUIn Progress—32.785-96.694
Dallas2026-11-23Chemical Spill Urgent - DWUClosed—32.909-96.882
New York City2026-11-23Hazardous MaterialIn ProgressChemical Spill40.77-73.965
Dallas2026-11-23Chemical Spill Urgent - DWUIn Progress—32.902-96.887
New York City2026-11-23Hazardous MaterialIn ProgressChemical Spill40.74-73.928
New York City2026-11-23Hazardous MaterialIn ProgressChemical Spill40.662-73.913
New York City2026-11-22Hazardous MaterialIn ProgressChemical Spill40.658-74.001

Overview

This API brings together city and county open-data portal records about hazardous materials, such as chemical spills and other dangerous-substance requests. The records represent service requests, not a complete inventory of hazardous materials.

Developers, researchers and public-sector teams can use the data to build incident maps, monitor request statuses and study how reports relate to local conditions.

Coverage

The dataset contains about 132,000 records from the United States and Canada. Coverage is concentrated in California and San Francisco; Oakland and San Diego are also represented, along with Calgary in Alberta.

Sample records also include New York City and Dallas. The published coverage figures identify San Francisco as the dominant city, so coverage should not be treated as evenly distributed across places.

Fields

Each record includes its source, date, year, latitude, longitude, description, category, subtype, status, city, closing date, agency and department. These fields support filtering, mapping and tracking the state of a service request.

Additional fields describe settlement class, nearby population, tree canopy, flood zone, elevation and climate group. Median household income and median home value provide further local context; climate group and these income and home-value fields are not populated for every record.

  • sourceSource dataset
  • dateDate of the record
  • yearYear
  • latitudeLatitude
  • longitudeLongitude
  • descriptionDescription from the source
  • categoryRecord category
  • subtypeRecord subtype
  • statusCurrent status
  • cityCity
  • closed_atDate closed
  • agencyAgency
  • departmentDepartment
  • settlement_classCity, town or countryside
  • ghsl_pop_1km_2020How many people live here (people)
  • nlcd_tree_canopy_pctTree cover (%)
  • flood_zoneFlood risk
  • elevation_mHeight above sea level (m)
  • climate_groupClimate group
  • acs_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 to focus on relevant incidents and locations. Spatial coordinates support map-oriented analysis, while dates and statuses help distinguish newer, open and closed requests.

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

Use cases

Build maps of reported chemical spills and other hazardous-material service requests, using coordinates and request status to show where reports are concentrated and which remain in progress.

Analyze incident trends by date, category, subtype or city; compare reports across agencies; and add flood, elevation, canopy, population or climate context to risk research. Public-sector teams can also use the records to support service-request monitoring and local planning.

Pricing

The API supports JSON, GeoJSON, CSV and Parquet. An API key is required to access the data.

A free tier is available. Paid plans provide higher limits and bulk downloads; pricing details are not stated here.

Frequently asked questions

Is there an API for hazardous-material incidents?

Yes. The Hazardous Materials API provides service-request records about hazardous substances, including chemical spills. It combines records from city and county open-data portals and includes dates, locations, descriptions, categories and statuses for analyzing reported incidents.

Does the API include hazardous-material reports in San Francisco?

Yes. San Francisco is the largest city in the stated coverage, accounting for 96.5% of the city distribution. Oakland and San Diego are also listed, while sample records show examples from New York City and Dallas.

How often is hazardous-material data updated?

A specific update schedule is not stated. The records come from city and county open-data portals, so availability and update timing may depend on those sources. Check the record dates and statuses when building an analysis that depends on how current a report is.

Can I filter hazardous-material records by location or date?

Yes. The API supports filtering by region, radius and date, as well as selecting fields. Records include city and latitude and longitude, which can support geographic analysis. The data is concentrated in San Francisco, so coverage varies by location.

What fields does the Hazardous Materials API return?

Records include source, date, year, latitude, longitude, description, category, subtype, status, city, closed date, agency and department. Additional context includes flood zone, elevation, tree canopy, population and other local attributes. Some context fields are not filled for every record.

Does this API show whether a hazardous-material request is open or closed?

Yes. Records include a status field and a closed_at field. Sample records show statuses such as In Progress and Closed, so developers can distinguish requests that are ongoing from those recorded as closed.

What formats are available for hazardous-material data?

The available formats are JSON, GeoJSON, CSV and Parquet. GeoJSON can be useful for geographic workflows, while CSV and Parquet support data analysis. Use streaming for live queries or bulk downloads for whole datasets.

Is the hazardous-material data a complete inventory of dangerous substances?

No. The API contains service-request records from city and county open-data portals, such as reports about chemical spills. It should be understood as reported service requests rather than a comprehensive inventory of hazardous substances or storage locations.

Start building with the Hazardous Materials API

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