{"uid":"cap_Q8nFUOrip3cjpgkForZDm","slug":"clearcheck-drinking-water-safety-lookup-0c138e91","name":"ClearCheck Drinking Water Safety Lookup","description":"Drinking water verdict for a US public water system: violations on record, health-based or not, CLEAR to REVIEW.","url":"https://loonie-toll.onrender.com/drinkingwater","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"name":{"type":"string","description":"System name to search when the PWSID is unknown"},"pwsid":{"type":"string","description":"Public water system ID, e.g. TN0000128"},"state":{"type":"string","description":"2-letter state code, required with name search"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"query":{"type":"object","properties":{"name":{"type":"null"},"pwsid":{"type":"string"},"state":{"type":"null"}}},"source":{"type":"string"},"system":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"pwsid":{"type":"string"},"state":{"type":"string"},"active":{"type":"boolean"},"sourceWater":{"type":"string"},"populationServed":{"type":"integer"}}},"reasons":{"type":"array","items":{"type":"string"}},"verdict":{"type":"string"},"disclaimer":{"type":"string"},"retrievedAt":{"type":"string"},"matchedSystems":{},"violationCounts":{"type":"object","properties":{"total":{"type":"integer"},"unresolved":{"type":"integer"},"healthBased":{"type":"integer"}}},"recentViolations":{"type":"array"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z8D5eKhbZ5-LsWWHoZt1-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a safety verdict (CLEAR or REVIEW) for a US public water system, including violation counts, health-based flags, and recent violation details.","exampleAgentPrompt":"Can you check the drinking water safety record for public water system TN0000128 and tell me if it has any health-based violations or if it gets a CLEAR verdict?","exampleUseCases":[{"title":"Home buyer water safety check","prompt":"I'm buying a house in Nashville served by PWSID TN0000128 — can you pull up the drinking water safety record and tell me if there are any unresolved health violations or if it comes back CLEAR?"},{"title":"Journalist researching local utility compliance","prompt":"I need to check the violation history for the Memphis Light Gas and Water drinking water system in Tennessee — look it up by name and tell me how many total and health-based violations are on record."},{"title":"Public health agent monitoring flagged systems","prompt":"Pull the ClearCheck drinking water verdict for water system CA3610087 and tell me whether it's CLEAR or flagged for REVIEW, along with how many violations are unresolved."}],"resultDescription":"Returns a verdict string (CLEAR or REVIEW), violation counts (total, unresolved, health-based), a list of recent violations, water system metadata (name, PWSID, state, type, population served, source water), the data source, retrieval timestamp, and a disclaimer about data freshness.","failureModes":["Unknown PWSID returns no match or empty result","Name search without state code may return ambiguous or multiple matches","System may be inactive or delisted from EPA registry","Stale data if EPA SDWIS has not been recently updated","Rate-limited or server unavailable on free-tier Render hosting","Misspelled system name returns no matched systems"],"whenToPreferThis":"Use this endpoint when you need a fast, structured safety verdict for a US public water system identified by PWSID or name. It is purpose-built for drinking water compliance checks and surfaces health-based violations specifically, making it more useful than raw EPA database queries for agent workflows that need a simple CLEAR/REVIEW signal with supporting violation counts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:45:59.317Z","isFirstParty":false}