# EPA Facility Violations and Penalties

> EPA Facility Violations and Penalties is a paid API for AI agents from x402-filings.datalayer.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns Clean Water Act compliance data for facilities in a US state or county, including permit status, violation history, inspection records, enforcement actions, and penalties from EPA ECHO.

## Facts

- Endpoint: GET https://x402-filings.datalayer.workers.dev/v1/safety/epa-violations
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/epa-facility-violations-and-penalties-fd2f071b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IjYcAwt0gv2y4sBqMpHB6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability epa-facility-violations-and-penalties-fd2f071b
```

Example prompt: Pull EPA ECHO Clean Water Act compliance data for all facilities in New Castle County, Delaware — show me up to 30 facilities and filter to only those with recent violations.

## When to prefer this

Use this endpoint when you need structured, per-facility EPA Clean Water Act compliance data including violations, inspections, enforcement actions, and penalties for a specific US state or county. It aggregates EPA ECHO data into a ready-to-use format, making it ideal for due diligence, investigative research, regulatory monitoring, or compliance analysis without needing to navigate the EPA ECHO portal directly.

## Known failure modes

- Missing required state parameter returns a validation error
- Invalid or unrecognized state code may return empty results
- County name misspellings or formatting mismatches may return no facilities
- Limit values outside 1-50 range are rejected
- Downstream EPA ECHO API unavailability may cause timeout or error response

## How this service works

Clean Water Act compliance for facilities in any US state or county, from EPA ECHO. Returns each facility's permit, current violation status, quarters in non-compliance, inspections, formal enforcement actions and penalties, plus the state-level totals EPA computes across the whole query. Filter to violators only.

## Output

A list of facilities (up to the requested limit) each with permit identifiers, current Clean Water Act violation status, number of quarters in non-compliance, inspection history, formal enforcement actions, and penalty amounts — plus EPA-computed state-level aggregate totals across the entire query result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "examples": [
        20
       ],
       "description": "Max facilities, 1-50. Default 20."
      },
      "state": {
       "type": "string",
       "examples": [
        "DE"
       ],
       "description": "Two-letter US state code. Required."
      },
      "county": {
       "type": "string",
       "examples": [
        "New Castle"
       ],
       "description": "County name to narrow the search."
      },
      "violatorsOnly": {
       "type": "boolean",
       "examples": [
        false
       ],
       "description": "Only facilities with recent violations."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/epa-facility-violations-and-penalties-fd2f071b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-filings.datalayer.workers.dev](https://www.zero.xyz/host/x402-filings.datalayer.workers.dev/llms.txt)
