# EPA ECHO Environmental Violations & Enforcement Alerts (`radiant_opuntia/epa-echo-enforcement-alerts`) Actor

Get alerts when US facilities receive new EPA environmental penalties (Clean Air, Clean Water, RCRA, drinking water). Filter by state, facility name, program, major facilities, penalty size. Totals, inspections, compliance status, permit IDs. 'Only new' mode. No API key.

- **URL**: https://apify.com/radiant_opuntia/epa-echo-enforcement-alerts.md
- **Developed by:** [GovData Feeds](https://apify.com/radiant_opuntia) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

**Get US facilities with new environmental penalties from EPA ECHO as clean rows, with penalty date and amount, location, compliance status and permit IDs, plus new-penalty alerts.**

**Rate your experience:** if you have used this Actor, you can tell us how it went on the [reviews page](https://apify.com/radiant_opuntia/epa-echo-enforcement-alerts/reviews). Honest feedback of any kind helps us improve it.

### What it does and who it is for

This Actor reads the EPA's public **ECHO (Enforcement and Compliance History Online)** REST services (no key) and returns one flat record per **facility** with its **most recent penalty**: **facility name and address, latitude and longitude, date and amount of the latest penalty, total penalties, number of penalties and formal actions, last inspection, significant-noncomplier flag, compliance status, major-facility flag, Clean Air, Clean Water, hazardous waste and drinking water permit IDs, and a link to the facility's official ECHO report**.

Filter by state, facility name keyword, program (air, water discharge, hazardous waste, drinking water), major facilities only, significant noncomplier only, penalty date window and minimum penalty amount. Turn on **Only new** for alerts that fire when a facility gets a new penalty.

#### Use cases

- **EHS and compliance teams:** watch peers, suppliers and acquisition targets for new penalties.
- **Environmental law firms and consultants:** find recently penalized facilities.
- **Insurers, lenders and ESG analysts:** monitor enforcement against portfolio companies and counterparties.
- **Journalists and watchdog groups:** spot big penalties and repeat violators by state or industry.
- **AI agents:** answer "which major Texas facilities got an EPA penalty over $50,000 this month?".

### Why use this instead of the free official site or API

The underlying data is public and the official sources are free. What this Actor adds is convenience: ECHO's multi-step query becomes one input and one flat table.

| What you need | Official site / API | This Actor |
|---|---|---|
| Querying ECHO | The REST services need a query call that returns a query ID, then paged result calls | One input; the Actor runs the steps and pages through the results |
| Penalty window | The penalty-year parameter behaves in whole years | You give a number of days or a start date; the Actor filters on the exact latest-penalty date |
| Facility report links | Link built from the registry ID | `url` on every row |
| New penalties only | Compare facility penalty dates yourself | **Only new** mode returns a facility again when its latest penalty date or penalty count changes |

If you only need a single lookup now and then, the official site is fine. If you want the same data on a schedule, as flat rows you can feed to a spreadsheet, CRM or agent, this saves the glue work.

### Data fields

| Field | Type | What it contains |
|---|---|---|
| `facilityName` | text | Facility name. |
| `registryId` | text | EPA Facility Registry Service ID. |
| `address` | text | Street address. |
| `city` | text | City. |
| `state` | text | State. |
| `zip` | text | ZIP code. |
| `county` | text | County. |
| `latitude` | number | Latitude. |
| `longitude` | number | Longitude. |
| `lastPenaltyDate` | date | Date of the facility's most recent penalty. |
| `lastPenaltyAmount` | integer | Amount of the most recent penalty in USD (can be 0 when not yet entered). |
| `totalPenalties` | integer | Total penalties assessed in USD over the period ECHO covers. |
| `penaltyCount` | integer | Number of penalties. |
| `formalActionCount` | integer | Number of formal enforcement actions. |
| `lastFormalActionDate` | date | Date of the last formal enforcement action. |
| `inspectionCount` | integer | Number of inspections. |
| `lastInspectionDate` | date | Date of the last inspection. |
| `significantNoncomplier` | boolean | Whether the facility is flagged as a Significant Non-Complier / High Priority Violator. |
| `complianceStatus` | text | Compliance status as reported in ECHO. |
| `majorFacility` | boolean | Whether EPA designates it a major facility. |
| `airPermitIds` | text | Clean Air Act IDs, joined with semicolons. |
| `waterPermitIds` | text | Clean Water Act (NPDES) permit IDs, joined with semicolons. |
| `hazardousWasteIds` | text | RCRA hazardous waste IDs. |
| `drinkingWaterIds` | text | Safe Drinking Water Act system IDs. |
| `airPermitTypes` | text | Air permit types. |
| `waterPermitTypes` | text | Water permit types. |
| `hazardousWasteTypes` | text | Hazardous waste types. |
| `drinkingWaterTypes` | text | Drinking water types. |
| `url` | text | Link to the facility's ECHO detailed facility report. |
| `source` | text | Source of the data. |
| `scrapedAt` | datetime | When the Actor collected the record (UTC). |

Fields a source does not publish are `null`.

### "New since yesterday" alerts

Turn on **Only new** and the Actor remembers what it has already returned, so each scheduled run delivers only records you have not seen before.

1. Open the Actor in Apify Console and set the input, with **Only new since last run** switched on and a fixed alert name (`stateKey`). Example input:

```json
{
  "states": ["TX", "LA"],
  "majorOnly": true,
  "penaltyWithinDays": 30,
  "minLastPenaltyAmount": 10000,
  "maxResults": 500,
  "onlyNew": true,
  "stateKey": "gulf-coast-penalties"
}
```

2. Click **Save as task**, then open **Schedules**, create a schedule (for example the cron expression `0 7 * * *` for every day at 7:00 in the time zone you pick) and add the task to it.
3. Under the task's **Integrations**, send the results to Slack, email, Google Sheets, a webhook or your own system.

ECHO is refreshed weekly, so a weekly schedule with a window of 14 days or more is a good fit.

The first run returns everything that matches your window (every matching facility whose latest penalty falls in the window); later runs return only unseen records. Use a different alert name for each task so each keeps its own memory. A run with nothing new returns no results.

### Cost per run

This Actor uses **pay-per-result pricing: $3.00 per 1,000 results ($0.003 per result)**, with the Apify platform fee included. You are charged for the records a run returns and nothing is added on top for platform usage. A run that finds nothing new returns no results, so it has no per-result charge. The **Max results** input caps what a run can return (and so what it can cost).

**Worked example:** a weekly alert that returns 25 facilities costs 25 × $0.003 = $0.075 per run. Pulling 4,000 facilities costs 4 × $3.00 = $12.00.

The pricing is configured in Apify Console; the Pricing tab on this page is the authoritative source if it ever differs from this text.

### Example input and output

The output below comes from real test runs of this Actor. Email addresses are masked and very long text is shortened here; the Actor returns the full values.

Input used for the example:

```json
{
  "states": ["TX", "LA"],
  "majorOnly": true,
  "penaltyWithinDays": 45,
  "minLastPenaltyAmount": 10000,
  "onlyNew": true,
  "stateKey": "gulf-coast-penalties",
  "maxResults": 3
}
```

Output (the first 2 records of a test run):

```json
[
  {
    "facilityName": "HOLLYWOOD ROAD WASTEWATER TREATMENT PLANT",
    "registryId": "110000502313",
    "address": "3700 S.E. LOOP 335",
    "city": "AMARILLO",
    "state": "TX",
    "zip": "79118",
    "county": "RANDALL",
    "latitude": 35.055389,
    "longitude": -101.769444,
    "lastPenaltyDate": "2026-09-29",
    "lastPenaltyAmount": 330260,
    "totalPenalties": 374885,
    "penaltyCount": 2,
    "formalActionCount": 3,
    "lastFormalActionDate": "2026-09-29",
    "inspectionCount": 3,
    "lastInspectionDate": "2025-09-25",
    "significantNoncomplier": false,
    "complianceStatus": "Violation Identified",
    "majorFacility": true,
    "airPermitIds": null,
    "waterPermitIds": "TX0025810; TXR05M342",
    "hazardousWasteIds": null,
    "drinkingWaterIds": null,
    "airPermitTypes": null,
    "waterPermitTypes": "Major, Non-M",
    "hazardousWasteTypes": null,
    "drinkingWaterTypes": null,
    "url": "https://echo.epa.gov/detailed-facility-report?fid=110000502313",
    "source": "EPA ECHO",
    "scrapedAt": "2026-10-23T12:46:03.521Z"
  },
  {
    "facilityName": "CITY OF KILGORE WASTEWATER TREATMENT PLANT",
    "registryId": "110034275193",
    "address": "2701 ANGELINE ST",
    "city": "KILGORE",
    "state": "TX",
    "zip": "75662",
    "county": "GREGG",
    "latitude": 32.39761,
    "longitude": -94.850397,
    "lastPenaltyDate": "2026-09-29",
    "lastPenaltyAmount": 75025,
    "totalPenalties": 75025,
    "penaltyCount": 1,
    "formalActionCount": 2,
    "lastFormalActionDate": "2026-09-29",
    "inspectionCount": 5,
    "lastInspectionDate": "2025-04-11",
    "significantNoncomplier": false,
    "complianceStatus": "Violation Identified",
    "majorFacility": true,
    "airPermitIds": null,
    "waterPermitIds": "TX0026557; TXR05CV73; TXR05FL85; TXR15456S",
    "hazardousWasteIds": null,
    "drinkingWaterIds": "TX0920003",
    "airPermitTypes": null,
    "waterPermitTypes": "Major, Non-M",
    "hazardousWasteTypes": null,
    "drinkingWaterTypes": "Community water system",
    "url": "https://echo.epa.gov/detailed-facility-report?fid=110034275193",
    "source": "EPA ECHO",
    "scrapedAt": "2026-10-23T12:46:03.530Z"
  }
]
```

### Limits worth knowing

- **ECHO is refreshed weekly** and states report penalties with a lag, so a penalty often shows up weeks after the settlement date.
- Records are facility-level, not individual court cases, and each shows the latest penalty plus lifetime totals.
- `lastPenaltyAmount` can be 0 when the agency has not entered the amount yet. Use the minimum penalty filter to hide those.
- Compliance data is reported by states and can be incomplete or contain errors; check the linked ECHO report.
- Running for the whole US with a long look-back returns many facilities. Add a state or major-only, and use **Max results** (newest penalty first).

### FAQ

#### Do I need an API key?

No. The ECHO REST services are public.

#### Is this every EPA enforcement case?

No. It covers facilities with a recorded penalty that ECHO tracks across the Clean Air Act, Clean Water Act, RCRA and Safe Drinking Water Act. It is facility-level, not a list of court cases.

#### What does Only new remember?

The facility ID with its latest penalty date and penalty count, per alert name. A facility comes back when it gets a new penalty.

#### Does it include violations and inspections?

It includes the last inspection date, inspection count, compliance status and significant-noncomplier flag. Detailed violation lists are on the linked ECHO report.

#### Why is a penalty amount 0?

Some records have a penalty date but no amount entered yet.

### Related Actors

More Actors from GovData Feeds, all on Apify:

- [sam-gov-opportunities-alerts](https://apify.com/radiant_opuntia/sam-gov-opportunities-alerts): New SAM.gov federal contract opportunities and bid alerts
- [grants-gov-alerts](https://apify.com/radiant_opuntia/grants-gov-alerts): US federal grant opportunities (Grants.gov): ceilings, deadlines, eligibility
- [sec-form-d-alerts](https://apify.com/radiant_opuntia/sec-form-d-alerts): SEC Form D filings: companies that just raised money
- [usaspending-awards-alerts](https://apify.com/radiant_opuntia/usaspending-awards-alerts): New federal contract, grant and loan awards (USAspending)
- [sec-form4-insider-alerts](https://apify.com/radiant_opuntia/sec-form4-insider-alerts): SEC Form 4 insider buys and sells, one row per transaction
- [fda-recall-alerts](https://apify.com/radiant_opuntia/fda-recall-alerts): FDA food, drug and medical device recalls
- [fda-compliance-alerts](https://apify.com/radiant_opuntia/fda-compliance-alerts): FDA 510(k) clearances, MAUDE adverse events and warning letters
- [cpsc-recall-alerts](https://apify.com/radiant_opuntia/cpsc-recall-alerts): CPSC consumer product safety recalls
- [us-building-permits-alerts](https://apify.com/radiant_opuntia/us-building-permits-alerts): New building permits from nine city open-data portals
- [clinical-trials-alerts](https://apify.com/radiant_opuntia/clinical-trials-alerts): New ClinicalTrials.gov studies by condition, sponsor and phase
- [federal-register-alerts](https://apify.com/radiant_opuntia/federal-register-alerts): Federal Register rules, proposed rules and notices
- [contractor-license-alerts](https://apify.com/radiant_opuntia/contractor-license-alerts): New contractor licenses in WA, OR and NY with bond and insurance
- [ofac-sanctions-alerts](https://apify.com/radiant_opuntia/ofac-sanctions-alerts): OFAC sanctions screening and change alerts
- [new-business-registrations-alerts](https://apify.com/radiant_opuntia/new-business-registrations-alerts): New LLC and corporation registrations (NY, CO, OR, CT)
- [restaurant-inspections-alerts](https://apify.com/radiant_opuntia/restaurant-inspections-alerts): Restaurant health inspections from seven US jurisdictions
- [code-violations-alerts](https://apify.com/radiant_opuntia/code-violations-alerts): Building, housing and property code violations from six cities

*Data comes from the US EPA (ECHO), a US government source. This Actor is not affiliated with or endorsed by the EPA. Facility compliance data may be incomplete or contain errors reported by states; check the official ECHO report before relying on it. Not legal advice.*

# Actor input Schema

## `states` (type: `array`):

Two-letter US state / territory codes, e.g. 'TX', 'LA'. Leave empty for the whole US (use a short look back).

## `keyword` (type: `string`):

Part of the facility name, e.g. 'refinery', 'chemical', 'city of'. Leave empty for all.

## `medium` (type: `string`):

Only facilities regulated under this program (a facility can have several).

## `majorOnly` (type: `boolean`):

Only EPA-designated major facilities (large emitters, dischargers and generators).

## `significantNoncomplierOnly` (type: `boolean`):

Only facilities currently flagged as a Significant Non-Complier / High Priority Violator.

## `penaltyWithinDays` (type: `integer`):

Only facilities whose most recent penalty date is within the last N days. ECHO is refreshed weekly, so use 14 or more for a weekly alert. Ignored if a start date is set.

## `startDate` (type: `string`):

YYYY-MM-DD. Only facilities whose last penalty is on or after this date. Overrides the look back.

## `minLastPenaltyAmount` (type: `integer`):

Only facilities whose latest penalty is at least this many dollars. 0 = any.

## `onlyNew` (type: `boolean`):

Skip penalties already returned by a previous run with the same alert name. A facility is returned again if it receives a new penalty.

## `stateKey` (type: `string`):

Name this alert so each saved search tracks its own history, e.g. 'texas-big-penalties'. Leave empty to derive it from the search.

## `maxResults` (type: `integer`):

Maximum number of facilities to return in one run (newest penalty first).

## Actor input object example

```json
{
  "states": [],
  "keyword": "",
  "medium": "all",
  "majorOnly": false,
  "significantNoncomplierOnly": false,
  "penaltyWithinDays": 30,
  "startDate": "",
  "minLastPenaltyAmount": 0,
  "onlyNew": false,
  "stateKey": "",
  "maxResults": 50
}
```

# Actor output Schema

## `results` (type: `string`):

All facility penalty records returned by this run (flat JSON items in the default dataset).

## `runSummary` (type: `string`):

Counts of items pushed and items skipped as already seen (only-new mode).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keyword": "",
    "medium": "all",
    "majorOnly": false,
    "significantNoncomplierOnly": false,
    "penaltyWithinDays": 30,
    "startDate": "",
    "minLastPenaltyAmount": 0,
    "onlyNew": false,
    "stateKey": "",
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("radiant_opuntia/epa-echo-enforcement-alerts").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keyword": "",
    "medium": "all",
    "majorOnly": False,
    "significantNoncomplierOnly": False,
    "penaltyWithinDays": 30,
    "startDate": "",
    "minLastPenaltyAmount": 0,
    "onlyNew": False,
    "stateKey": "",
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("radiant_opuntia/epa-echo-enforcement-alerts").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keyword": "",
  "medium": "all",
  "majorOnly": false,
  "significantNoncomplierOnly": false,
  "penaltyWithinDays": 30,
  "startDate": "",
  "minLastPenaltyAmount": 0,
  "onlyNew": false,
  "stateKey": "",
  "maxResults": 50
}' |
apify call radiant_opuntia/epa-echo-enforcement-alerts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,radiant_opuntia/epa-echo-enforcement-alerts"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Z9dtx47cngqPfuJwg/builds/OhuRMvpwS5SNNIDkH/openapi.json
