Look up a public water system's Safe Drinking Water Act (SDWA) profile and violation summary via EPA ECHO's SDW REST service

domain: echo.epa.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Call the getsystems endpoint (SDW Rest Services) with output=JSON and a query parameter such as p_ws_state or p_pwsid to validate the system and obtain a query ID (QID)
  2. Pass the returned QID to get_qid to paginate through the matching water system records
  3. Use qcolumns to select specific fields (violation counts, population served, system type) rather than pulling all default columns
  4. For bulk export, call get_download with the QID to receive a CSV of matching systems
  5. Cross-reference the PWSID returned against the ECHO facility search UI (mediaSelected=sdwa) to sanity-check results

Known gotchas

Related routes

Search EPA's SDWIS Federal Reporting Services for a public water system's violation and enforcement report
sdwis.epa.gov · 5 steps · unrated
Query EPA Envirofacts Safe Drinking Water Information System (SDWIS) for public water system violations by contaminant
enviro.epa.gov · 6 steps · unrated
Query EPA Envirofacts' RESTful Data Service API directly against SDWIS tables for public water system and violation data
enviro.epa.gov · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans