US EPA Facility Compliance & Violations API

US facilities regulated by the EPA with their air, water, waste and drinking-water compliance status, quarters in violation, inspections, formal enforcement actions and penalties over five years.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usPlaces, 21 fieldsv1.0

Data from echodata.epa.gov/echo/echo_rest_services.get_facilities

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Stateoptional
Two-letter state code, such as NJ.
Example: NJ
Cityoptional
City name.
Example: Newark
Zipoptional
Five-digit ZIP code.
Example: 07102
Facility nameoptional
Words in the facility name (3 characters or more).
Example: refinery
Programoptional
Limit to one law: air, water, waste or drinking_water.
Minimum quarters in violationoptional
Only facilities in violation in at least this many of the last 12 quarters (1 to 12).
Example: 3

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/epa-facility-compliance/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/epa-facility-compliance/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"state":"NJ"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

statetext
Two-letter state code, such as NJ.
example: NJ
citytext
City name.
example: Newark
ziptext
Five-digit ZIP code.
example: 07102
facility_nametext
Words in the facility name (3 characters or more).
example: refinery
programtext
Limit to one law: air, water, waste or drinking_water.
example: airone of: air, water, waste, drinking_water
min_quarters_in_violationnumber
Only facilities in violation in at least this many of the last 12 quarters (1 to 12).
example: 3

What's in each record

21 fields: 20 here, 1 technical one under Technical details.

Basics

  • Facility name

    Example #45 SOUTH PLAZA PHASE #1

  • Industry (NAICS) codes

    Example 321920

  • Programs

    Environmental programs the facility is regulated under.

    Example Drinking water (SDWA)

  • Air compliance status

    Clean Air Act compliance status.

  • Water compliance status

    Clean Water Act compliance status.

    Example Violation Identified

  • Waste compliance status

    Hazardous waste (RCRA) compliance status.

  • Drinking water compliance status

    Safe Drinking Water Act compliance status.

    Example No Violation Identified

  • Quarters in noncompliance

    Quarters in noncompliance in the last 12.

    Example 10

  • Inspections 5yr

    Inspections in the last five years.

    Example 0

  • Formal actions 5yr

    Formal enforcement actions in the last five years.

    Example 3

Prices

  • Total penalties 5yr

    Penalties in the last five years, in US dollars.

    Example $0.00

  • Currency

    Currency of the penalties (USD).

    Example USD

Location

  • Street address

    Example 1 COMMERCE DR

  • City

    Example BARRINGTON

  • State code

    Example NJ

  • ZIP code

    Example 08007

  • Latitude

    Example 40.858896

  • Longitude

    Example -74.547292

Dates

  • Last inspection date

    Example Mar 11, 2025

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Registry ID registry_idEPA registry id of the facility.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
registry_idtextRegistry ID (hidden)3 of 3
facility_nametextFacility name3 of 3
streettextStreet address2 of 3
citytextCity2 of 3
statetextState code3 of 3
ziptextZIP code2 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
naics_codeslistIndustry (NAICS) codes1 of 3
programslistPrograms3 of 3
air_compliance_statustextAir compliance status0 of 3
water_compliance_statustextWater compliance status2 of 3
waste_compliance_statustextWaste compliance status0 of 3
drinking_water_compliance_statustextDrinking water compliance status1 of 3
quarters_in_noncompliancenumberQuarters in noncompliance3 of 3
inspections_5yrnumberInspections 5yr3 of 3
last_inspection_datedateLast inspection date1 of 3
formal_actions_5yrnumberFormal actions 5yr3 of 3
total_penalties_5yrmoneyTotal penalties 5yr3 of 3
currencytextCurrency3 of 3
echo_urllinkEcho link3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordFacility nameIndustry (NAICS) codesProgramsAir compliance statusWater compliance statusWaste compliance statusDrinking water compliance statusQuarters in noncomplianceInspections 5yrFormal actions 5yrTotal penalties 5yrCurrencyStreet addressCityState codeZIP codeLatitudeLongitudeLast inspection dateEcho link
1#45 SOUTH PLAZA PHASE #1—Drinking water (SDWA)———No Violation Identified1003$0.00USD——NJ—40.858896-74.547292—echo.epa.gov/detailed-facility-report?fid=110051212228
21 COMMERCE DRIVE @ BARRINGTON BUSINESS CENTER321920Water (Clean Water Act)—Violation Identified——1000$0.00USD1 COMMERCE DRBARRINGTONNJ0800739.86484-75.04249—echo.epa.gov/detailed-facility-report?fid=110046281732
3101 ALEXANDER AVE NJ LLC—Water (Clean Water Act)—Violation Identified——1220$0.00USD101 ALEXANDER AVEPEQUANNOCK TWPNJ0744440.95737-74.28974Mar 11, 2025echo.epa.gov/detailed-facility-report?fid=110060547733

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Built on EPA ECHO (public domain). ECHO refreshes weekly, and the counts are the last five years as ECHO reports them.
  • Needs at least one filter (state, city, zip, facility name or minimum quarters in violation); whole-country searches are refused by ECHO as too broad.
  • At most 10,000 facilities per run; the source lists 500 per page and we read it about two pages a second.
  • Compliance status is empty for laws that do not apply to a facility. Many small facilities have no street, NAICS code or coordinates.
  • Penalties are US dollars and cover federal, state and local actions ECHO has recorded; a facility in violation is not a finding of wrongdoing.

Version history

A run uses the live version unless the request names another one with version.