Table · toxic-releases
Toxic chemical releases by county (EPA Toxics Release Inventory)
Toxic chemicals that industrial facilities reported releasing in every US county and state and the nation, each year since 1987: pounds released to the air, to water, underground and to land on site, and sent off site for disposal, with the number of facilities and reports. Counted for all chemicals and for carcinogens, hazardous air pollutants, persistent bioaccumulative toxics and PFAS.
- Updates
- Yearly
- Coverage
- —
- Current version
- —
- Last published
- —
- Validation
- —
- License
- US Government work
- Commercial use
- Allowed
Preview
Use the API
The examples follow the rows picked above. See the docs for versions, caching and errors.
curl
# All rows (.json or .csv)
curl -s "https://api.pollutiondata.dev/v1/toxic-releases/table/all.json"
# The whole table in one file
curl -sO "https://api.pollutiondata.dev/v1/toxic-releases/download/toxic-releases.csv" Python (polars)
import polars as pl
# All rows
df = pl.read_csv("https://api.pollutiondata.dev/v1/toxic-releases/table/all.csv")
# The whole table
everything = pl.read_parquet("https://api.pollutiondata.dev/v1/toxic-releases/download/toxic-releases.parquet") JavaScript
const res = await fetch("https://api.pollutiondata.dev/v1/toxic-releases/table/all.json");
if (!res.ok) throw new Error((await res.json()).detail); // errors are problem+json
const { meta, rows } = await res.json();
console.log(meta.rows, rows[0]); Downloads
The whole dataset in one file. Parquet keeps the column types and is much smaller.
- toxic-releases.csv CSV
- toxic-releases.parquet Parquet
Schema
Rows are identified by year, location, chemicals.
The rows are also split into one file per value of year.
Tables up to 50,000 rows also have a single table/all file.
| Column | Type | Unit | Can be empty | Description |
|---|---|---|---|---|
| year key partition | year (YYYY) | — | no | Reporting year |
| location key | text | — | no | us-county-<5-digit FIPS>, us-<state>, or usa. Connecticut uses its former counties |
| chemicals key | text | — | no | all, carcinogen, hazardous-air-pollutant, pbt (persistent bioaccumulative toxics and dioxins) or pfas |
| facilities | integer | facilities | no | Facilities with at least one report |
| reports | integer | reports | no | Reports, one per facility and chemical (Form R and Form A) |
| form_a_reports | integer | reports | no | Form A reports: below the reporting amount, so they give no pounds |
| air | number | pounds | no | Released to the air (fugitive and stack) |
| water | number | pounds | no | Discharged to streams and other surface water |
| underground | number | pounds | no | Injected underground on site |
| land | number | pounds | no | Put on land on site (landfills, impoundments, land treatment, other disposal) |
| on_site | number | pounds | no | Air, water, underground and land together |
| off_site | number | pounds | no | Sent off site for disposal or other release |
| total | number | pounds | no | On-site releases plus off-site disposal |
| source_url | text | — | no | The EPA file the row was counted from |
| source_modified | text | — | no | The EPA file's Last-Modified time when it was counted (unchanged means the row is reused) |
Source and license
- Source
- US EPA, Toxics Release Inventory Basic Plus data files
- Publisher
- US Environmental Protection Agency
- License
- US Government work (public domain in the United States) (
LicenseRef-US-Government-Work) - Commercial use
- Allowed
Credit the source with this exact text:
US Environmental Protection Agency, Toxics Release Inventory (TRI) Program, Basic Plus data files. Aggregated by pollutiondata.dev.
Checked every 7 days. If the source hasn't changed in 24 months, the status page flags it as stale.
Endpoints
Every URL for this dataset. To pin the current version, put it after the id:
/v1/toxic-releases@<version>.
The API reference describes each response.
| What | URL |
|---|---|
| Metadata: version, coverage, downloads, validation | /v1/toxic-releases |
| Versions and monthly snapshots | /v1/toxic-releases/versions |
| Partitions | /v1/toxic-releases/locations |
| Rows for one year (JSON) | /v1/toxic-releases/table/{year}.json |
| Rows for one year (CSV) | /v1/toxic-releases/table/{year}.csv |
| All rows in one file (tables up to 50,000 rows) | /v1/toxic-releases/table/all.json |
| Whole dataset (CSV) | /v1/toxic-releases/download/toxic-releases.csv |
| Whole dataset (Parquet) | /v1/toxic-releases/download/toxic-releases.parquet |