# Data Reconciliation: Two-Measure Correlation + Keyed Dataset Comparison

> Data Reconciliation: 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-10-19).

Computes Pearson/Spearman correlation between source_total and target_total, and performs a keyed row-by-row comparison between two supplied datasets, for up to 200 reconciliation records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-11-183?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/data-reconciliation-two-measure-correlation-keyed-dataset-comparison-0b826bdc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bS_mxGma5jPGtJ0K0h_lY

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 data-reconciliation-two-measure-correlation-keyed-dataset-comparison-0b826bdc -d '<json body>'
```

Example prompt: Can you run a two-measure correlation and keyed dataset comparison on my reconciliation data? I have two sets of up to 200 rows, each with a row_id, dataset_group, date, source_total, and target_total — one for my source system and one for my target system — and I want to see how correlated the totals are and which rows have mismatches.

## When to prefer this

Choose this endpoint when you need both a statistical correlation between source and target numeric measures AND a row-keyed comparison between two versions of a dataset in a single API call. It is ideal for ETL validation, financial reconciliation, and data pipeline auditing where you supply the data yourself and do not need live external lookups. Prefer this over single-report endpoints when you want two complementary analytical perspectives (correlation + row-level diff) in one low-cost call.

## Known failure modes

- Exceeds 200-row limit — request rejected or truncated
- Missing required fields (row_id, date, source_total, target_total, dataset_group) — validation error
- Date field not in YYYY-MM-DD format — schema validation failure
- Numeric values outside ±1,000,000,000,000 range — rejected
- Insufficient row count for meaningful correlation (e.g. only 1 row)
- Payment failure via x402 protocol — endpoint returns 402
- Mismatched row_ids between the two datasets — keyed comparison may return empty matches

## How this service works

Data reconciliation — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison for supplied data reconciliation records (source_total, target_total). 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 two-measure correlation report showing the statistical relationship (e.g. Pearson/Spearman coefficient) between source_total and target_total across the supplied rows, and (2) a keyed dataset comparison report that matches rows between the two supplied datasets by row_id and highlights value differences, missing keys, and summary statistics — all computed locally without any external lookup.

## Request schema (JSON Schema)

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

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/data-reconciliation-two-measure-correlation-keyed-dataset-comparison-0b826bdc/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)
