# Wallet Inventory Trailing Mean Series + Date by Category Pivot

> Wallet Inventory Trailing Mean Series + 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).

Computes a trailing mean time series and a date-by-category pivot table from supplied wallet inventory records (token_units or reference_price), returning two independent analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-24-152?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-trailing-mean-series-date-by-category-pivot-ef1367de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QhRGCyPpLbsUbbYd8qb38

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-trailing-mean-series-date-by-category-pivot-ef1367de -d '<json body>'
```

Example prompt: Can you run a trailing mean series and a date-by-category pivot on my wallet inventory data? I have 4 rows with fields like instrument_group, date, token_units, and reference_price — use token_units as the field and a window of 2.

## When to prefer this

Choose this endpoint when you have pre-collected wallet inventory data (token_units, reference_price per instrument group and date) and need both a rolling/trailing mean time series and a cross-tabulated date-by-category pivot in a single low-cost call. It is ideal for offline or batch analytical workflows on up to 200 rows where no live price feeds, predictions, or external enrichment are needed. Prefer alternatives if you need real-time price lookups, forecasting, or more than two report types simultaneously.

## Known failure modes

- Fewer than 1 row supplied — validation error
- More than 200 rows submitted — rejected, exceeds limit
- Window size larger than number of rows — trailing mean may produce no or partial results
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Missing required fields (row_id, instrument_group, date) — request rejected
- Null token_units or reference_price values may reduce usable rows in the series
- Payment not provided or insufficient USDC — 402 payment required error

## How this service works

Wallet inventory — Trailing mean series + Date by category pivot: Trailing mean series + 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

Two independent analytical reports: (1) a trailing mean time series computed over the chosen field (token_units or reference_price) using the specified rolling window, and (2) a date-by-category pivot table grouping values by date and instrument_group — both derived purely from the supplied wallet inventory rows, with no external data 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"
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-inventory-trailing-mean-series-date-by-category-pivot-ef1367de/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)
