EPA Envirofacts Facilities Scraper avatar

EPA Envirofacts Facilities Scraper

Pricing

from $7.50 / 1,000 results

Go to Apify Store
EPA Envirofacts Facilities Scraper

EPA Envirofacts Facilities Scraper

Scrapes EPA-regulated facility records from seven Envirofacts tables including TRI, RCRA, NPDES, and FRS. Returns each facility as a flat row with registry IDs and location, filterable by state, city, ZIP, and NAICS code.

Pricing

from $7.50 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Share

ParseForge

EPA Envirofacts Facilities Scraper

Scrape EPA-regulated facility data from Envirofacts by table, state, city, ZIP, or NAICS code, up to a million per run. Every facility comes with its registry ID, location, and program-specific details. No API key required. Export to CSV, JSON, Excel, or XML.

The EPA's Envirofacts database holds compliance and permit records for every regulated facility in the United States, but its web API returns paginated XML and requires you to learn a separate query language for each program system. This Actor reads facility data directly from seven core Envirofacts tables, including the master FRS registry, TRI toxics, RCRA hazardous waste, and drinking water systems, and returns each match in one flat, consistent schema. Filter by state, city, ZIP code, or NAICS industry code to pull exactly the facilities you need.

Who uses itWhat they scrape EPA Envirofacts for
Environmental consultantsPull all TRI or RCRA facilities in a state for a Phase I environmental site assessment.
Compliance officersMonitor which facilities in a city hold active NPDES water discharge permits.
Data journalistsDownload the master FRS registry for a ZIP code to map industrial activity near residential areas.
Academic researchersCollect SDWIS water system data across multiple states for a drinking water quality study.

What it does

This Actor collects EPA facility records from a selected Envirofacts table and returns each facility as a flat row with its registry identifiers, location, and program-specific attributes.

  • ๐Ÿญ Seven facility tables: FRS master registry, TRI toxics, RCRA hazardous waste, ICIS Air, NPDES water discharge, SDWIS drinking water, and FRS program linkages.
  • ๐Ÿ—บ๏ธ Geographic filters: narrow results by two-letter state code, city name, or ZIP code before the run starts.
  • ๐Ÿท๏ธ Industry filter: restrict facilities to a single NAICS code so only a specific sector reaches your dataset.
  • ๐Ÿ“Š Flat row output: every facility returns as one row, regardless of which table you query, ready for analysis.

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

What you can do with EPA Envirofacts data

๐Ÿ—บ๏ธ Map regulated facilities in a state.

An environmental consultant selects the FRS Facility Site table, sets the state filter to 'TX', and downloads every registered facility to overlay on a project map.

๐Ÿ“‹ Audit toxic chemical releases by industry.

A compliance officer queries the TRI Facility table with a NAICS code for chemical manufacturing and a city filter to review local toxic release reports.

๐Ÿ’ง Inventory drinking water systems.

A public health researcher scrapes the SDWIS Water System table for several ZIP codes to build a dataset of active public water systems and their compliance status.

๐Ÿญ Track hazardous waste handlers.

A waste management analyst pulls the RCRA Facility table for an entire state to identify active hazardous waste generators and transporters.

Why choose this scraper

What you get
No API keyQueries the public Envirofacts REST endpoint directly with no registration or token.
Fixed schemaEvery facility from every table returns in one consistent flat structure.
Large pullsCollect up to 1,000,000 facilities in a single run with automatic pagination.
Program coverageCovers TRI, RCRA, NPDES, ICIS Air, SDWIS, and the master FRS registry.

How it compares

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

EPA Envirofacts Facilities ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When EPA Envirofacts changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor from a selected Envirofacts table and optional state, city, ZIP, and NAICS filters, alone or together, and filters run as each facility is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10
}

A larger pull:

{
"maxItems": 200
}

Pricing

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

Results collectedApproximate cost
100 results$0.85
1,000 results$8.50
10,000 results$85.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 Envirofacts Facilities 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 Envirofacts 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-envirofacts-facilities-scraper"

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

Troubleshooting

Why am I getting no results?

Check that your state code is a valid two-letter USPS abbreviation and that your city name matches the EPA's spelling. Try removing filters one at a time to see which one is too restrictive.

The run finished but returned fewer facilities than my maxItems setting.

This is expected when your filters match fewer facilities than the limit you set. The Actor stops when the API returns no more rows. Try broadening your filters or removing them entirely.

I got an error about an invalid table name.

Select one of the seven tables from the dropdown in the input editor. The table name must match exactly, including the schema prefix like 'frs.frs_facility_site'.

The dataset columns are different from what I expected.

Each Envirofacts table returns a different set of columns. Check the EPA's Envirofacts data model documentation for the table you selected to see which fields are available.

My NAICS code filter is not working.

Enter the full six-digit NAICS code. Partial codes are not supported by the Envirofacts API. Verify your code against the official NAICS directory at census.gov.

FAQ

QuestionAnswer
What is the FRS Facility Site table?It is the EPA's master Facility Registry Service table. It contains a unique identifier and location for every regulated facility, acting as the central index that links to program-specific tables like TRI and RCRA.
Do I need an EPA API key or account?No. This Actor queries the public Envirofacts REST API, which does not require registration, an API key, or OAuth.
Can I filter by state and city at the same time?Yes. You can combine the state, city, ZIP, and NAICS filters in a single run. The Actor forwards them as URL path parameters to the Envirofacts API.
What does the TRI Facility table return?It returns facilities that report to the Toxics Release Inventory, including their TRI IDs, location, and the parent company name as registered in the TRI program.
How many facilities can I collect in one run?You can set the maximum up to 1,000,000 facilities. The Actor handles pagination automatically until it reaches your limit or exhausts the results.
What is a NAICS code and how do I use it?NAICS is the North American Industry Classification System. Enter a six-digit code in the input to restrict results to facilities in that industry, such as 325199 for organic chemical manufacturing.
Which table should I use for water pollution permits?Use the NPDES Facility table. It returns facilities with National Pollutant Discharge Elimination System permits that regulate point-source water discharges.
Can I get RCRA hazardous waste handler data?Yes. Select the RCRA Facility table to pull hazardous waste generators, transporters, and treatment, storage, and disposal facilities.
What export formats are supported?You can export your dataset to CSV, JSON, Excel, or XML from the Apify platform after the run completes.
Does this Actor scrape the EPA website or use the API?It calls the official Envirofacts REST API directly. It does not scrape the EPA website or parse HTML pages.

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.