# Wallet Inventory Two-Measure Correlation and Keyed Dataset Comparison

> Wallet Inventory Two-Measure Correlation and 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).

Computes Pearson/rank correlation between token_units and reference_price, and compares two keyed wallet inventory datasets row-by-row, returning two analytical reports for up to 200 rows each.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-24-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/wallet-inventory-two-measure-correlation-and-keyed-dataset-comparison-c2378941
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fq7X1HkjUhJdGf8RSYcYV

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 wallet-inventory-two-measure-correlation-and-keyed-dataset-comparison-c2378941 -d '<json body>'
```

Example prompt: Can you run a correlation analysis between token_units and reference_price on my wallet inventory, and also compare it against a second dataset to spot differences? I have two sets of up to 200 rows with fields like row_id, instrument_group, date, token_units, and reference_price.

## When to prefer this

Choose this endpoint when you need both a correlation analysis between two numeric wallet metrics AND a keyed row-level comparison between two dataset versions in a single API call, without requiring live market data or external lookups. It is ideal for offline portfolio audits, snapshot diffing, and statistical validation of wallet records at low cost ($0.01 for both reports).

## Known failure modes

- Input array exceeds 200 rows — request will be rejected or truncated
- Missing required fields (row_id, instrument_group, date, token_units, reference_price) cause validation errors
- Null values in token_units or reference_price may reduce correlation sample size
- Date strings not matching YYYY-MM-DD pattern will fail schema validation
- Mismatched row_ids between primary and secondary datasets may produce incomplete comparison
- Fewer than 2 valid numeric rows may prevent meaningful correlation computation

## How this service works

Wallet inventory — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison for supplied wallet inventory records (token_units, reference_price). 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 analytical reports: (1) a two-measure correlation result quantifying the statistical relationship between token_units and reference_price across the supplied rows, and (2) a keyed dataset comparison report highlighting row-level differences between the primary and secondary inventory datasets, both computed locally with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-inventory-two-measure-correlation-and-keyed-dataset-comparison-c2378941/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)
