ParseForge Scrapers

EPA Toxic Release Inventory Scraper

parseforge/epa-tri-scraper

Developer toolsAutomationOther

Scrapes EPA TRI facilities, release quantities, and program registrations. Returns each record as a flat row with optional state filtering.

Run this scraper See the API call
Total users
1
Monthly active
0
Total runs
165
Bookmarked
0
Rating
Not rated yet
Last modified
9 days ago

Overview

ParseForge

EPA Toxic Release Inventory Scraper

Scrape EPA Toxic Release Inventory data for facilities, releases, and program registrations, up to a million records per run. Every row returns structured fields like chemical quantities, facility addresses, and compliance IDs. No API key. Export to CSV, JSON, Excel, or XML.

The EPA's Envirofacts and TRI endpoints are scattered across multiple web services, each with different query syntax and paging limits. This actor reads the public TRI data directly, letting you pull facilities, release quantities, and program registrations in one fixed schema. Filter by state to narrow results before they reach your dataset.

Who uses it What they scrape EPA TRI for
Environmental analysts Monitor chemical release trends by facility and geography.
Compliance officers Verify facility registrations and program participation.
Data journalists Build local pollution stories from release quantity data.
Public health researchers Correlate toxic release sites with community health outcomes.

What it does

This Actor collects EPA TRI records by dataset type and optional state filter, and returns each one as a flat row.

  • 🏭 Facilities dataset: 48 fields including facility name, address, NAICS codes, and latitude/longitude.
  • ☣️ Release quantities: 7 fields covering chemical, medium, and total release amounts.
  • πŸ“‹ Program registrations: 50 fields with compliance IDs, program types, and registration dates.
  • πŸ—ΊοΈ State filter: restrict results to a single 2-letter state code like TX or CA.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with EPA TRI data

πŸ“Š Build a state emissions dashboard.

An environmental consultant pulls all release records for TX, filters by chemical, and feeds the CSV into a Tableau dashboard for a client report.

πŸ” Audit facility compliance.

A compliance officer scrapes program registrations for a list of facilities to confirm active permits before an inspection.

πŸ“° Investigate local pollution.

A reporter collects release quantities for a single county and cross-references the data with census tracts to identify exposure hotspots.

πŸ₯ Support public health research.

A university researcher gathers facility locations and release totals to model proximity-based health risk in urban areas.

Why choose this scraper

What you get
No API key Reads public EPA data directly, no registration or token.
Fixed schema Every row follows the same flat structure, ready for analysis.
Up to 1M records Set a high maxItems and collect large datasets in one run.
Three datasets Switch between facilities, releases, and programs from one actor.

How it compares

No other Store actor targets EPA TRI the same way, so the honest comparison is with the alternatives teams actually weigh.

EPA Toxic Release Inventory Scraper Build it in-house By hand
Setup Run it now, zero config Days of engineering None, but hours per pull
When EPA TRI changes Maintained for you You fix it You re-learn the page
Proxies, retries, anti-bot Built in Your problem Browser only
Output Fixed JSON schema, CSV/Excel export Whatever you build Copy-paste
Cost Pay per result Engineering time Analyst hours

Configure the run

Drive the Actor by selecting a dataset and optionally a state code, and filters run as each record is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
  "maxItems": 10,
  "dataset": "facilities"
}

A larger pull:

{
  "maxItems": 200,
  "dataset": "facilities"
}

Pricing

Pay-per-result: $0.0075 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $0.75
1,000 results $7.50
10,000 results $75.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the EPA Toxic Release Inventory Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to EPA TRI through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/epa-tri-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check your state code. It must be a valid 2-letter abbreviation like CA, not 'California'. Also, try increasing the maxItems limit or leaving the state filter blank to confirm data is available.

The run stopped before reaching my maxItems limit.

The actor stops when it has read all available records matching your filter. If you filtered by a small state, the total records may be less than your maxItems setting.

Some fields are empty in my results.

Not every facility reports every field. Empty values mean the EPA did not have that data point for that record. This is expected for optional fields.

I got a timeout error.

The EPA endpoints can be slow for very large requests. Try reducing maxItems or adding a state filter to limit the scope. If the problem persists, retry the run.

The data looks different from the EPA website.

The actor reads from the same public data services that power the EPA's online tools. Small timing differences can occur if the underlying data was updated between your website visit and the scrape.

FAQ

Question Answer
What is the EPA Toxic Release Inventory? The TRI is a public EPA database that tracks the management of certain toxic chemicals that may pose a threat to human health and the environment. Facilities in specific industry sectors must report how much of each chemical they release to the air, water, and land.
Do I need an API key or EPA account? No. This actor reads the publicly available data feeds directly. You do not need to register with the EPA or obtain any credentials.
What datasets can I scrape? You can choose from three datasets: TRI Facilities (48 fields), Release Quantities (7 fields), and EPA Program Registrations (50 fields). Select one per run from the input dropdown.
How do I filter by state? Enter a 2-letter state code like CA, TX, or NY in the State input field. The actor will return only records matching that state. Leave it blank to get all records.
How many records can I get in one run? You can set the maximum records up to 1,000,000 per run. The actor will stop once it reaches your limit or exhausts the available data.
What format does the data export to? You can export your results to CSV, JSON, Excel, or XML directly from the Apify dataset tab after the run completes.
Does this cover the entire United States? Yes. The EPA TRI database includes facilities and releases from all 50 states, the District of Columbia, and U.S. territories. Filtering by state is optional.
Can I get historical TRI data? The actor returns the current data available from the EPA's public endpoints. For specific historical reporting years, check the dataset fields in your results.
What are the release quantity fields? The Release Quantities dataset returns 7 fields, typically including the chemical name, the environmental medium (air, water, land), and the total release amount in pounds.
Is this actor suitable for academic research? Yes. The structured, flat-schema output is ready for statistical analysis and can be exported to formats compatible with R, Python, and other research tools.

Related actors

Browse the full ParseForge collection for more scrapers.

πŸ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by U.S. Environmental Protection Agency. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

Input

FieldTypeWhat it doesDefault
maxItems integer How many records to collect per run. 10
dataset string (3 options) Which EPA dataset to query. facilities
state string Filter by 2-letter state code (e.g. CA, TX, NY). not set

Pricing

from $7.00 per 1,000 results

Charged forWhat it isPrice each
result Single result in the default dataset. $0.007 to $0.0075

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

API

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST Β· run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~epa-tri-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "helloWorld": 123
  }'

Examples

Input that runs as-is.

input.json
{
  "helloWorld": 123
}

Reviews

No reviews yet. Be the first.

Issues

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Related scrapers

Run EPA Toxic Release Inventory Scraper on Apify All scrapers