# Locus Drinking Water Violations Scan

> Locus Drinking Water Violations Scan is a paid API for AI agents from api.locus.report, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Retrieves drinking water violation records and risk signals for a US property by address or ZIP code.

## Facts

- Endpoint: POST https://api.locus.report/api/locus-drinking-water-violations
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/locus-drinking-water-violations-scan-51cbc035
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7nf2F2GuhTE2q5O0330hz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability locus-drinking-water-violations-scan-51cbc035 -d '<json body>'
```

Example prompt: Can you pull the Locus drinking water violation scan for 742 Evergreen Terrace, Springfield, IL 62704 — I want to see any water quality issues or compliance violations on record before we make an offer on the house?

## When to prefer this

Use this endpoint when you need to specifically check drinking water violation history for a US property or ZIP code, especially during real estate due diligence, environmental risk screening, or public health research. It is purpose-built for water compliance data, unlike general property scan endpoints on the same platform.

## Known failure modes

- Address not found or unresolvable — empty records array returned
- Invalid ZIP code format — validation error
- No violation records found for location — records array empty with caveats
- Payment failure via x402 — 402 response before data is returned
- Service unavailable or upstream data source error — 5xx response

## How this service works

EPA drinking-water violations for a water system / area. Perfect for: 'drinking water violations for an address', 'SDWIS violations near me', 'water quality violations for a county', 'has my water system had violations', 'EPA drinking water compliance lookup'. Returns EPA SDWIS health-based and monitoring violations with system, contaminant, and date context, plus ECHO fallbacks. A covered system with zero violations is the real EPA answer. Charge-free when sources are unavailable or it fails.

## Output

A JSON object containing a scan ID, list of drinking water violation records associated with the property or area, any relevant caveats about data coverage, and a timestamp indicating when the report was generated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "state": {
   "type": "string",
   "maxLength": 2,
   "minLength": 2
  },
  "county": {
   "type": "string",
   "maxLength": 60,
   "minLength": 3
  },
  "pwsids": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 24,
    "minLength": 3
   },
   "maxItems": 10
  },
  "address": {
   "type": "string",
   "maxLength": 200,
   "minLength": 5
  },
  "latitude": {
   "type": "number",
   "maximum": 90,
   "minimum": -90
  },
  "longitude": {
   "type": "number",
   "maximum": 180,
   "minimum": -180
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "locus_example",
  "caveats": [
   "Example artifact; not live data."
  ],
  "records": [],
  "generatedAt": "2026-01-01T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/locus-drinking-water-violations-scan-51cbc035/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.locus.report](https://www.zero.xyz/host/api.locus.report/llms.txt)
