# Savings Ledger — String Normalisation + Trailing Mean Series

> Savings Ledger — String Normalisation + Trailing Mean Series 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).

Runs two local analytical reports on savings ledger rows: string normalisation of categorical fields and a trailing moving-average series for deposit or withdrawal amounts.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-23-028?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/savings-ledger-string-normalisation-trailing-mean-series-0d90a5a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vj3m9q7CqKtBWzHsBvtQw

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 savings-ledger-string-normalisation-trailing-mean-series-0d90a5a5 -d '<json body>'
```

Example prompt: Can you run string normalisation and a trailing mean series on my savings ledger? I have 50 rows with deposit_amount and withdrawal_amount fields — use a window of 5 and compute the trailing mean on deposit_amount.

## When to prefer this

Choose this endpoint when you need two complementary analytical reports on savings ledger data — string normalisation of categorical columns and a rolling mean series for a numeric field — in a single low-cost call. It is best suited for offline, batch-style analysis of up to 200 rows with no need for live market data, predictions, or external lookups.

## Known failure modes

- Fewer than 1 row supplied — minimum 1 row required
- More than 200 rows supplied — exceeds maximum batch size
- Invalid date format (must match YYYY-MM-DD pattern)
- Missing required fields: row_id, instrument_group, date, deposit_amount, or withdrawal_amount
- Window size less than 2 or greater than 200
- Invalid field selector — must be 'deposit_amount' or 'withdrawal_amount'
- Numeric values outside allowed range (-1,000,000,000,000 to 1,000,000,000,000)

## How this service works

Savings ledger — String normalisation + Trailing mean series: String normalisation + Trailing mean series for supplied savings ledger records (deposit_amount, withdrawal_amount). 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 reports for up to 200 supplied rows: (1) a string normalisation report standardising categorical text fields such as instrument_group, and (2) a trailing moving-average series for the selected numeric field (deposit_amount or withdrawal_amount) computed over the specified rolling window. No external data is fetched; all analysis is performed locally on the supplied data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "instrument_group",
     "date",
     "deposit_amount",
     "withdrawal_amount"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "deposit_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "instrument_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "withdrawal_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "deposit_amount": 10,
     "instrument_group": "group-a",
     "withdrawal_amount": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "deposit_amount": 20,
     "instrument_group": "group-b",
     "withdrawal_amount": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "deposit_amount": 15,
     "instrument_group": "group-a",
     "withdrawal_amount": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "deposit_amount": 30,
     "instrument_group": "group-b",
     "withdrawal_amount": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "deposit_amount",
    "withdrawal_amount"
   ],
   "type": "string",
   "default": "deposit_amount"
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/savings-ledger-string-normalisation-trailing-mean-series-0d90a5a5/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)
