# Record Routing Analytics — Two-Measure Correlation + Keyed Dataset Comparison

> Record Routing Analytics — 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-23).

Computes Pearson/Spearman correlation between accepted_records and rejected_records, and compares two keyed datasets of record routing data, returning two independent analytical reports for up to 200 rows.

## Facts

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

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 record-routing-analytics-two-measure-correlation-keyed-dataset-2359e6ee -d '<json body>'
```

Example prompt: I have two batches of record routing data — primary and comparison — each with up to 50 rows of accepted_records and rejected_records grouped by dataset_group and date. Can you run a two-measure correlation plus a keyed dataset comparison between the two batches and give me both reports?

## When to prefer this

Choose this endpoint when you have record routing data with acceptance and rejection counts that you want to analyze statistically without any external API calls or live data lookups. It is ideal for offline ETL audit, pipeline regression testing, or comparing two snapshots of routing data. Prefer it over general BI tools when you need a fast, cheap ($0.01 USDC), self-contained computation that covers both correlation and dataset comparison in a single call for up to 200 rows.

## Known failure modes

- Input rows array is empty or missing — returns validation error
- More than 200 rows submitted — request rejected with row limit error
- Required fields (row_id, dataset_group, date, accepted_records, rejected_records) missing from any row — schema validation failure
- Date fields not matching YYYY-MM-DD pattern — rejected by pattern validator
- Null values in both accepted_records and rejected_records for all rows — correlation cannot be computed
- Mismatched row_ids between primary and comparison datasets — keyed comparison may return partial or empty diff results

## How this service works

Record routing — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison for supplied record routing records (accepted_records, rejected_records). 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 or Spearman coefficient) between accepted_records and rejected_records across the supplied rows, and (2) a keyed dataset comparison report contrasting the primary and secondary datasets row-by-row using shared keys, highlighting differences in accepted and rejected record counts by group and date. All analysis is performed locally on the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/record-routing-analytics-two-measure-correlation-keyed-dataset-2359e6ee/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)
