EPA Drinking Water Scraper avatar

EPA Drinking Water Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
EPA Drinking Water Scraper

EPA Drinking Water Scraper

Extract drinking water system data from the EPA's Safe Drinking Water Information System (SDWIS) — the most comprehensive public database of drinking water systems and their regulatory compliance in the United States.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Professional Edge

Professional Edge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

EPA Safe Drinking Water (SDWIS) Scraper

Extract drinking water system data from the EPA's Safe Drinking Water Information System (SDWIS) — the most comprehensive public database of drinking water systems and their regulatory compliance in the United States. This Actor wraps the official EPA Envirofacts REST API to deliver structured data on over 433,000 public water systems, their violations, and enforcement actions.

SDWIS is the authoritative source for water quality compliance monitoring, environmental due diligence, public health research, and infrastructure investment analysis. Every public water system in the US is tracked by the EPA under the Safe Drinking Water Act. This Actor makes that data instantly accessible in JSON, CSV, or Excel format.

Key Features

FeatureDescription
Three datasetsWater Systems (registry), Violations (compliance issues), Enforcement Actions
State filteringFilter by any US state abbreviation (NY, CA, FL, etc.)
433,000+ water systemsEvery public water system in the United States
Violation trackingHealth-based and monitoring violations with contaminant details
No authenticationUses the free public EPA Envirofacts API — no API key needed
Automatic paginationHandles large result sets across multiple API pages

What Data Can You Extract?

Water Systems Dataset

FieldDescription
pwsidPublic Water System ID
pwsNameSystem name
stateCodeUS state abbreviation
cityNameCity served
zipCodeZIP code
populationServedCountPopulation served by the system
serviceConnectionsCountNumber of service connections
ownerTypeCodeOwner type (Federal, State, Local, Private)
gwSwCodeWater source type (Ground Water, Surface Water)
addressLine1System address

Violations Dataset

FieldDescription
pwsidPublic Water System ID
violationCodeViolation type code
violationCategoryCodeMCL, Monitoring, Treatment Technique, etc.
isHealthBasedIndWhether the violation is health-based
contaminantCodeContaminant involved
complPerBeginDateCompliance period start
complPerEndDateCompliance period end

Enforcement Actions Dataset

FieldDescription
pwsidPublic Water System ID
enforcementIdEnforcement action identifier
enforcementDateDate of enforcement
enforcementActionTypeCodeType of enforcement action

How to Scrape EPA Drinking Water Data

  1. Go to this Actor's page on the Apify Store
  2. Click "Start" to open the input form
  3. Set your filters:
    • Select a Data Type: Water Systems, Violations, or Enforcement Actions
    • Enter a State Code (e.g., NY for New York) — this field is required
    • Set Max Results (default: 500; set to 0 for all records)
  4. Click "Start" to run the Actor
  5. Download your data in JSON, CSV, or Excel format from the Dataset tab

Input Example

{
"dataType": "waterSystems",
"state": "CA",
"maxResults": 1000
}

Output Example

{
"pwsid": "CA0103002",
"pwsName": "EAST BAY MUNICIPAL UTILITY DISTRICT",
"stateCode": "CA",
"cityName": "OAKLAND",
"populationServedCount": 1400000,
"serviceConnectionsCount": 395000,
"ownerTypeCode": "L",
"gwSwCode": "SW",
"addressLine1": "375 11TH STREET"
}

Pricing

This Actor uses pay-per-result pricing:

EventPrice
Actor start$0.00005
Per result$0.002

The EPA API is free and public. You only pay for Apify compute resources plus the per-result fee above. A typical run of 1,000 records costs approximately $2.00 in Actor fees plus minimal compute costs.

Use Cases

  • Environmental Consulting: Identify water systems with violations for compliance advisory services
  • Real Estate Due Diligence: Check drinking water quality data for properties and communities
  • Water Treatment Sales: Find water systems by size, source type, and location for targeted outreach
  • Public Health Research: Analyze violation patterns, contaminant exposure, and enforcement trends
  • Infrastructure Investment: Evaluate water system capacity and compliance for infrastructure funding decisions
  • Journalism & Investigations: Data-driven reporting on drinking water safety (like the Flint water crisis)

Integrations

Connect this Actor to your existing workflows:

  • Export to Google Sheets for collaborative analysis
  • Send results to Slack or email for automated alerts
  • Feed into Zapier, Make, or n8n for custom automation
  • Use the Apify API to integrate directly with your application

FAQ

Q: How current is the data? A: The EPA updates the SDWIS database on a quarterly basis. Data reflects the latest reporting from state primacy agencies.

Q: What types of water systems are included? A: All public water systems regulated under the Safe Drinking Water Act: community water systems, non-transient non-community systems, and transient non-community systems.

Q: What are health-based violations? A: Violations of Maximum Contaminant Levels (MCLs) or Treatment Technique requirements — these indicate potential health risks from the water supply.

Q: Can I get data for all states at once? A: The state filter is required due to API design. Run the Actor multiple times with different state codes to collect nationwide data.

This Actor accesses publicly available data from the EPA Envirofacts API, a free public service provided by the US Environmental Protection Agency. The data is in the public domain and freely available for any use.

This Actor does not bypass any authentication, does not violate any terms of service, and respects rate limits on the EPA API. The Actor is provided as-is without warranty. Users are responsible for ensuring their use of the data complies with applicable laws and regulations.

For questions or support, please open an issue on this Actor's page.