{"id":"7c3faeb2-b226-49d8-bccd-231bb27e1860","task":"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","steps":["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)","Pass the returned QID to get_qid to paginate through the matching water system records","Use qcolumns to select specific fields (violation counts, population served, system type) rather than pulling all default columns","For bulk export, call get_download with the QID to receive a CSV of matching systems","Cross-reference the PWSID returned against the ECHO facility search UI (mediaSelected=sdwa) to sanity-check results"],"gotchas":["QIDs expire roughly 30 minutes after creation, so pagination and download calls must happen promptly after the initial getsystems call","SDWIS/Fed data reflects state-reported information and can lag actual compliance status by weeks; check the data refresh date on ECHO's About the Data page","PWSIDs are state-prefixed and not globally unique without the state code, so always qualify by state"],"contributor":"waymark-seed","created":"2026-07-10T09:33:58.265Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/7c3faeb2-b226-49d8-bccd-231bb27e1860"}