EPA ECHO CWA Facilities Scraper icon

Lead generation · Other

EPA ECHO CWA Facilities Scraper — State Rosters

Search EPA ECHO's Clean Water Act facility registry by state and export clean, flat rows — name, address, registry ID, county, EPA region, permit status — without hand-implementing ECHO's undocumented two-call search-then-download protocol.

Free Apify credit covers a first run. No credit card to try.

What this Actor scrapes

EPA's ECHO (Enforcement and Compliance History Online) publishes every Clean Water Act–regulated facility, but pulling a full state roster means correctly handling ECHO's undocumented two-call protocol — a JSON search call that returns a query ID, then a single CSV download call that streams the entire result set at once with no server-side pagination. This Actor runs both calls, branches correctly on a match, a zero-match, or a rejected search, and flattens every facility — name, address, registry ID, county, EPA region, permit status — into one billable row.

What we handle for you

  • 🧭 The two-call protocol, done right — one JSON search call, one CSV download call, exactly as ECHO expects. No guessed query params.
  • 🧱 Zero matches is a clean success, not a failure — a narrow state/name combination finishes SUCCEEDED with a status message, never a false FAILED run.
  • 🛡️ We rotate browser fingerprints (curl-cffi impersonation — Chrome/Firefox/Safari) on every request.
  • 🔁 Retries with exponential backoff on 429 / 5xx, honouring Retry-After — up to 5 attempts per call.
  • 🧊 Clean, typed dataset rows — Pydantic-validated, one malformed CSV row skipped and logged, never an aborted run.
  • 💰 Pay-Per-Event pricing — you only pay for results that hit your dataset.

Use cases

  • ESG and environmental due diligence — pull every CWA-regulated facility in a state before a site acquisition or portfolio review.
  • Compliance monitoring — track permit status (e.g. Effective, Administratively Continued) across a jurisdiction.
  • Market research — size the number of regulated dischargers by state or county.
  • Lead generation for environmental consultancies and permit-renewal services.

Input

Paste this into the Apify Console, or send it as the run input over the API. Proxy settings are on by default; you rarely need to touch them.

FieldTypeRequiredWhat it does
state string yes Required 2-letter US state code, e.g. RI. ECHO rejects an unfiltered query, so a state is mandatory. Normalized to uppercase.
facilityName string no Optional substring match against the facility name, e.g. hospital. Leave blank to return every CWA-regulated facility in the state.
maxResults integer no Stop once this many facility rows have been emitted. Each row is one billed result event. ECHO returns the full result set in a single download, so this caps rows client-side after parsing.
{
  "state": "RI",
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}

Output

One row per result, schema-validated before it is written. Export JSON, CSV, Excel or XML from the run, or read it over the API.

facility_namesource_idstreet_addresscitystateregistry_idcountyepa_regionpermit_status_desc

{
  "facility_name": "ACME MANUFACTURING CO",
  "source_id": "RI0001234",
  "street_address": "123 INDUSTRIAL DR",
  "city": "PROVIDENCE",
  "state": "RI",
  "registry_id": "110000123456",
  "epa_system": "CWA",
  "statute": "NPDES",
  "county": "PROVIDENCE",
  "epa_region": "01",
  "permit_status_desc": "Effective",
  "scraped_at": "2026-08-25T12:00:00+00:00"
}

Pricing

EventPriceWhen
Actor start$0.20Once per run, covers warm-up and proxy session setup.
Result emitted$0.0030Per result written to the dataset.

You pay only for results that land. Cap any run with maxTotalChargeUsd. See pricing & billing for worked examples.

Limitations

  • Clean Water Act (CWA) facilities only — Air (CAA), RCRA, and Safe Drinking Water Act programs are separate ECHO products, out of scope for v1.
  • No violation/inspection/penalty history — this Actor returns current facility and permit status, not enforcement records.
  • No county-level query filter — ECHO silently no-ops unrecognized filter params, so county narrowing isn't offered; county remains in the output.
  • Large states (e.g. California, ~30,000+ rows) return a correspondingly large CSV in one response — use maxResults and facilityName to narrow.

FAQ

Do I need an API key?
No. EPA ECHO's CWA REST service is public and keyless — no auth, no account required.
Why is `state` required?
ECHO rejects a completely unfiltered query. A 2-letter state code is the minimum viable filter and keeps result sets to a sane size.
What happens if my filters match nothing?
The run finishes successfully with zero rows and a status message describing what was searched — a narrow state/name combination legitimately returning no facilities is not an error.
Is this current or historical data?
ECHO serves current-state data only. There is no point-in-time snapshot or historical query in v1.

Ready to run it?

Open the listing on Apify, paste the input above, and watch rows land. If it ever breaks, it is our problem before it is yours.

Related Actors

Teams that run this also run