# Water Service Coverage Data Quality: Duplicate Key Report + Missing-Value Fill

> Water Service Coverage Data Quality: Duplicate Key Report + Missing-Value Fill is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Analyzes up to 200 water service coverage rows to produce a duplicate key report and fill missing values in served_households or total_households using zero, mean, or median imputation.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-19-070?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/water-service-coverage-data-quality-duplicate-key-report-missing-171b2052
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7_9znaQGbQPvSZ2kXaCif

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 water-service-coverage-data-quality-duplicate-key-report-missing-171b2052 -d '<json body>'
```

Example prompt: Check my water service coverage records for duplicate row IDs and fill any missing served_households values using median imputation — here are 50 rows with region, date, and household counts.

## When to prefer this

Choose this endpoint when you need lightweight, offline data quality checks specifically for water service coverage records with served_households and total_households fields — particularly when you need both duplicate key detection and missing-value imputation in a single call at low cost ($0.01 USDC for both reports). Best suited for datasets up to 200 rows where no external data enrichment, live lookup, or predictive modeling is needed.

## Known failure modes

- More than 200 rows submitted — exceeds maxItems limit
- Missing required fields (row_id, region, date) cause validation errors
- Invalid date format (not YYYY-MM-DD) rejected by pattern constraint
- Numeric values outside allowed range rejected
- Empty rows array rejected by minItems constraint
- Unknown field or method enum value causes schema rejection

## How this service works

Water service coverage — Duplicate key report + Explicit missing-value fill: Duplicate key report + Explicit missing-value fill for supplied water service coverage records (served_households, total_households). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two independent reports: (1) a duplicate key report listing any row_ids that appear more than once in the submitted dataset, and (2) an explicit missing-value fill report showing which rows had null values in the specified field (served_households or total_households) and what replacement value (zero, mean, or median) was applied. No external data or predictions are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "region",
     "date",
     "served_households",
     "total_households"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "region": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "total_households": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "served_households": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "region": "group-a",
     "row_id": "row-1",
     "total_households": 1,
     "served_households": 10
    },
    {
     "date": "2026-10-02",
     "region": "group-b",
     "row_id": "row-2",
     "total_households": 2,
     "served_households": 20
    },
    {
     "date": "2026-10-03",
     "region": "group-a",
     "row_id": "row-3",
     "total_households": 3,
     "served_households": 15
    },
    {
     "date": "2026-10-04",
     "region": "group-b",
     "row_id": "row-4",
     "total_households": 4,
     "served_households": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "served_households",
    "total_households"
   ],
   "type": "string",
   "default": "served_households"
  },
  "method": {
   "enum": [
    "zero",
    "mean",
    "median"
   ],
   "type": "string",
   "default": "median"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/water-service-coverage-data-quality-duplicate-key-report-missing-171b2052/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
