# Audit California Industrial EPA Compliance

**Use case:** 

Monitors California (CA) industrial and regulated sites via the US EPA ECHO REST API, returning Clean Air/Water/RCRA compliance statuses, inspection counts, quarters in violation, and ESG compliance risk scores.

## Input

```json
{
  "states": [
    "CA"
  ],
  "facilityName": "",
  "naicsCode": "",
  "onlyWithViolations": true,
  "minPenaltiesUsd": 0,
  "maxResults": 25
}
```

## Output

```json
{
  "facilityName": {
    "label": "Facility Name",
    "format": "string"
  },
  "registryId": {
    "label": "EPA FRS ID",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "naicsCodes": {
    "label": "NAICS Codes",
    "format": "string"
  },
  "complianceStatus": {
    "label": "Compliance Status",
    "format": "string"
  },
  "quartersInViolation": {
    "label": "Quarters in Violation",
    "format": "integer"
  },
  "formalEnforcementActions": {
    "label": "Enforcement Actions",
    "format": "integer"
  },
  "totalPenaltiesUsd": {
    "label": "Total Penalties ($)",
    "format": "number"
  },
  "inspectionCount": {
    "label": "Inspections",
    "format": "integer"
  },
  "esgComplianceRiskScore": {
    "label": "ESG Risk Score (0-100)",
    "format": "integer"
  },
  "dfrUrl": {
    "label": "EPA DFR Report",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The US EPA Industrial Violations & ESG Compliance Leads Scraper Actor is ready to run with the inputs already set for "Audit California Industrial EPA Compliance". [Sign up or log in](https://console.apify.com/create-task-from-example/1GnjWXldFlPjp4men) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Audit California Industrial EPA Compliance" task

The US EPA Industrial Violations & ESG Compliance Leads Scraper Actor will start running based on the input automatically. You can also change all the input fields, like US States Filter (2-letter codes, e.g. TX, LA, OH, PA, CA), only facilities with non-compliance / violations, and more, to match your specific use case.

### 3. Receive the "Audit California Industrial EPA Compliance" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as facility name, EPA FRS ID, city, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Audit California Industrial EPA Compliance" task via API](https://apify.com/grimbles/us-epa-compliance-violations-leads.md).

## FAQ

### What California facilities appear in this EPA ECHO task?

The California Industrial EPA Compliance task returns active California facilities with 1+ quarters of non-compliance across Air, Water, or RCRA programs.

### Can I also include compliant California facilities for benchmarking?

Set onlyWithViolations to false in the duplicated task input to include compliant facilities alongside violating plants.

### How can I connect California EPA data to an ESG AI agent?

Run this task via Apify MCP Server or call the Run Actor task API from n8n, LangGraph, or Python pipelines.

### Does the California EPA ECHO task include geographic coordinates?

Whenever published by EPA FRS/ECHO, latitude, longitude, street, city, county, and postalCode are included in every output item.

## About this Actor

This example demonstrates how to use [US EPA Industrial Violations & ESG Compliance Leads Scraper](https://apify.com/grimbles/us-epa-compliance-violations-leads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/grimbles/us-epa-compliance-violations-leads.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/grimbles/us-epa-compliance-violations-leads.md

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`).
