# Wallet Inventory Trailing Mean Series + Keyed Dataset Comparison

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

Computes a trailing mean time series and performs a keyed dataset comparison on two sets of wallet inventory records (token_units, reference_price) — up to 200 rows each, no external data sources.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-24-153?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-trailing-mean-series-keyed-dataset-comparison-f74f2765
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GnMhUp1enL4APPnChON9E

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-keyed-dataset-comparison-f74f2765 -d '<json body>'
```

Example prompt: I have two sets of wallet inventory records — each up to 200 rows with token_units and reference_price fields — can you run a trailing mean series on the token_units field and also compare the two datasets keyed by row_id and instrument_group?

## When to prefer this

Choose this endpoint when you have two sets of wallet inventory records (up to 200 rows each) and need both a trailing mean smoothing analysis and a keyed row-by-row comparison in a single API call. It is ideal for offline/batch analytics on pre-collected portfolio snapshots where no live price lookup, prediction, or external data enrichment is required. It is cost-effective at $0.01 USDC for both reports simultaneously.

## Known failure modes

- Rows array is empty or missing — API returns a validation error
- More than 200 rows submitted — request rejected with max-items error
- Required fields (row_id, instrument_group, date, token_units, reference_price) missing from any row — validation error
- Date fields not matching YYYY-MM-DD pattern — pattern validation failure
- Mismatched row_ids between primary and comparison dataset — comparison may yield unmatched rows
- token_units or reference_price values outside allowed range (±1e12) — rejected
- Payment not attached or insufficient USDC — x402 payment required error

## How this service works

Wallet inventory — Trailing mean series + Keyed dataset comparison: Trailing mean series + 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 computed locally from the supplied data: (1) a trailing mean time series over the selected field (token_units or reference_price) across the provided rows, and (2) a keyed dataset comparison between the primary and secondary (other) dataset matched by row_id and instrument_group, highlighting differences per row. No external data is fetched or predicted.

## 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"
  },
  "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
     },
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-inventory-trailing-mean-series-keyed-dataset-comparison-f74f2765/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)
