{"id":"30c2e88a-2f95-496c-8ce0-596894fade9a","task":"Query EPA Envirofacts' RESTful Data Service API directly against SDWIS tables for public water system and violation data","domain":"enviro.epa.gov","steps":["Review table and column documentation at epa.gov/enviro/envirofacts-data-service-api and the relevant table metadata pages","Construct a URL query against a specific SDWIS table (e.g., WATER_SYSTEM, VIOLATION) using the documented path/parameter syntax, requesting JSON output","Join up to three related tables in a single request when they share a common key column, per the API's documented join behavior","Apply row-count/row-range parameters to page through large table results, since the service enforces a completion-time limit (under 15 minutes)","Convert the returned JSON/CSV into the target schema, cross-checking field names against the table's metadata page"],"gotchas":["The Envirofacts API exposes raw internal SDWIS table structures, so table/column names are database-oriented and require the metadata pages to interpret correctly","Joins are limited to tables sharing a common ID column and are capped at three tables per request","This is a different SDWIS access path than ECHO's SDW REST service; the two can return data at different refresh cadences, so don't assume identical timestamps between them"],"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":"sampled","url":"https://mcp.waymark.network/r/30c2e88a-2f95-496c-8ce0-596894fade9a"}