sdwis.violations
mock data$0.002 / callSearch Drinking Water Violations
Search EPA SDWIS for drinking water violations by state and violation type. Returns violation code, health-based flag (MCL/Treatment Technique), contaminant code, compliance status, measured value, compliance period, return-to-compliance date, and public notification tier. Filter by health_based=true to focus on Maximum Contaminant Level (MCL) and Treatment Technique (TT) violations that directly endanger public health. Violation categories: MCL, TT, MRDL, MR, MON, RPT, PN. Use sdwis.water.enforcement to get enforcement actions associated with a PWSID from violations. Data source: EPA SDWIS Federal Reporting Services, US Gov public domain.
Input schema
Maximum number of violations to return (1–100, default 20)
State or primacy agency code (e.g. CA, TX). Two-letter abbreviation. Omit for all states.
Violation category: MCL (Maximum Contaminant Level), TT (Treatment Technique), MRDL (Disinfectant), MR (Monitoring/Reporting), MON (Monitoring), RPT (Reporting), PN (Public Notification), OTHER
If true, return only health-based violations (MCL, TT, MRDL). If false or omitted, return all.
Call via REST
curl -X POST https://unifyapi.pro/api/call/sdwis.violations \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"limit":0,"state":"<state>","category":"<category>","health_based":"<health_based>"}'