# Wallet Inventory Two-Measure Correlation and Missing-Value Fill

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

Computes Pearson correlation between token_units and reference_price, and fills missing values in a chosen field using zero, mean, or median imputation, across up to 200 wallet inventory rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-24-184?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallet-inventory-two-measure-correlation-and-missing-value-fill-c1361c6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YK2NXLfWeTUIj_L74uLhh

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-missing-value-fill-c1361c6e -d '<json body>'
```

Example prompt: I have up to 200 rows of wallet inventory data with token_units and reference_price — can you run a two-measure correlation between those fields and also fill any missing token_units values using the median method?

## When to prefer this

Use this endpoint when you have up to 200 wallet inventory rows with token_units and reference_price fields and need both a correlation statistic and missing-value imputation in a single low-cost call. It is ideal for offline/batch portfolio data cleanup and exploratory statistics without needing a live data connection or external price oracle. Prefer alternatives if you need live price lookups, predictions, or support for more than 200 rows.

## Known failure modes

- Fewer than 1 row supplied — request rejected
- More than 200 rows supplied — exceeds row limit
- Invalid date format (not YYYY-MM-DD) — validation error
- Unknown imputation method value — enum validation failure
- Both measures entirely null — correlation cannot be computed
- row_id missing or empty — required field validation error
- Payment of 0.01 USDC not completed — 402 response

## How this service works

Wallet inventory — Two-measure correlation + Explicit missing-value fill: Two-measure correlation + Explicit missing-value fill 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 independent analytical reports: (1) a two-measure Pearson correlation report quantifying the linear relationship between token_units and reference_price across supplied rows, and (2) an explicit missing-value fill report showing imputed values for the chosen field (token_units or reference_price) using the selected method (zero, mean, or median). No external data is fetched; all computation is local to the supplied rows.

## 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
  },
  "field": {
   "enum": [
    "token_units",
    "reference_price"
   ],
   "type": "string",
   "default": "token_units"
  },
  "method": {
   "enum": [
    "zero",
    "mean",
    "median"
   ],
   "type": "string",
   "default": "median"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-inventory-two-measure-correlation-and-missing-value-fill-c1361c6e/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)
