# Wallet Inventory — Trailing Mean Series + Adjacent Row Changes

> Wallet Inventory — Trailing Mean Series + Adjacent Row Changes 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 moving-average series and adjacent row-over-row changes for wallet inventory records (token_units or reference_price) over up to 200 supplied rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-24-146?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-adjacent-row-changes-e23c60f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QXsSB18inp6tbCE-BHNEg

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-adjacent-row-changes-e23c60f8 -d '<json body>'
```

Example prompt: Can you run a trailing mean series with a window of 3 and adjacent row changes on my wallet inventory — I have rows for ETH and BTC holdings with dates, token_units, and reference_prices — and analyze the token_units field?

## When to prefer this

Choose this endpoint when you have pre-collected wallet inventory time-series data (up to 200 rows) and need both a smoothed trailing-mean trend and adjacent change detection in a single $0.01 call — with no external data lookups, predictions, or professional assessments needed. Prefer this over general-purpose analytics when you specifically need the dual-report (trailing mean + row changes) combination for token_units or reference_price fields.

## Known failure modes

- Fewer than 1 row supplied — request rejected
- More than 200 rows supplied — exceeds limit, request rejected
- Missing required row fields (row_id, instrument_group, date, token_units, reference_price) — validation error
- Window size smaller than 2 or larger than 200 — validation error
- Date strings not matching YYYY-MM-DD format — pattern validation failure
- Payment of 0.01 USDC not included — 402 Payment Required
- Null values in token_units or reference_price may affect trailing mean accuracy

## How this service works

Wallet inventory — Trailing mean series + Adjacent row changes: Trailing mean series + Adjacent row changes 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 trailing moving-average series for the selected field (token_units or reference_price) computed over the specified window size, and (2) adjacent row-over-row difference values between consecutive inventory records — both derived purely from the supplied data without any 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"
  },
  "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-adjacent-row-changes-e23c60f8/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)
