# Water Service Coverage: Two-Measure Correlation + Keyed Dataset Comparison

> Water Service Coverage: Two-Measure Correlation + Keyed Dataset Comparison 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).

Runs two local analytical reports on water service coverage data: a Pearson/Spearman correlation between served_households and total_households, plus a keyed row-by-row comparison between two supplied datasets.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-19-183?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-two-measure-correlation-keyed-dataset-comparison-bdecdd43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uCHKT5u5xZvV5wBGAabMk

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-two-measure-correlation-keyed-dataset-comparison-bdecdd43 -d '<json body>'
```

Example prompt: Can you run a correlation analysis between served_households and total_households across our water coverage records, and also compare this dataset row-by-row against last quarter's data to flag any differences? I have up to 150 rows in each dataset.

## When to prefer this

Choose this endpoint when you need both a correlation analysis and a keyed dataset comparison for water service coverage data in a single $0.01 call. Ideal when working with up to 200 rows of household coverage records and wanting to detect statistical relationships and data discrepancies simultaneously without any external data fetching or live lookups.

## Known failure modes

- Fewer than 1 row provided — minimum 1 row required
- More than 200 rows submitted — maximum is 200 rows per dataset
- Missing required fields (row_id, region, date, served_households, total_households) on any row
- Invalid date format — must match YYYY-MM-DD pattern
- row_id exceeds 80 character limit or is empty string
- Numeric values outside allowed range (-1,000,000,000,000 to 1,000,000,000,000)
- Mismatched row_ids between primary and comparison datasets may reduce keyed comparison coverage
- Payment failure via x402 protocol

## How this service works

Water service coverage — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison 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 analytical reports: (1) a correlation report quantifying the statistical relationship between served_households and total_households across the primary dataset rows, and (2) a keyed comparison report highlighting row-level differences between the primary and secondary datasets matched by row_id. Results are computed locally with no external lookups.

## 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
  },
  "other": {
   "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
   },
   "de
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/water-service-coverage-two-measure-correlation-keyed-dataset-comparison-bdecdd43/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)
