# Wallet Inventory Two-Measure Correlation and Date-by-Category Pivot

> Wallet Inventory Two-Measure Correlation and Date-by-Category Pivot 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 analytical reports on supplied wallet inventory data: a Pearson/rank correlation between token_units and reference_price, and a date-by-category pivot table, for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-24-182?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-date-by-category-pivot-85786a14
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bW4h1JEtUwFUnFTJRS5Gi

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-date-by-category-pivot-85786a14 -d '<json body>'
```

Example prompt: Run two analytical reports on my wallet inventory — a correlation between token_units and reference_price, and a date-by-category pivot — using these records: row-1 (2026-10-01, group-a, 10 units, $1), row-2 (2026-10-02, group-b, 20 units, $2), row-3 (2026-10-03, group-a, 15 units, $3).

## When to prefer this

Choose this endpoint when you have up to 200 rows of wallet inventory data with token_units and reference_price fields and need both a pairwise correlation report and a date-by-category pivot in a single low-cost call. It is ideal for crypto portfolio analysis workflows where you supply your own data and want purely local computation with no external API calls, live pricing, or predictions. Prefer it over generic BI tools when you need a lightweight, pay-per-use analytical micro-service integrated into an agentic finance workflow.

## Known failure modes

- Fewer than 1 row or more than 200 rows submitted — request rejected
- Missing required fields (row_id, instrument_group, date, token_units, or reference_price) — validation error
- Date values not matching YYYY-MM-DD format — schema validation failure
- token_units or reference_price values outside allowed range — rejected
- Insufficient numeric variation in data for meaningful correlation — may return NaN or degenerate result
- Payment of 0.01 USDC not included or rejected — 402 Payment Required response

## How this service works

Wallet inventory — Two-measure correlation + Date by category pivot: Two-measure correlation + Date by category pivot 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 structured analytical reports: (1) a two-measure correlation result quantifying the statistical relationship between token_units and reference_price across all supplied rows, and (2) a date-by-category pivot table showing aggregated values per date and instrument_group combination. Results are computed entirely from the user-supplied data 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
  },
  "field": {
   "enum": [
    "token_units",
    "reference_price"
   ],
   "type": "string",
   "default": "token_units"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-inventory-two-measure-correlation-and-date-by-category-pivot-85786a14/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)
