# Savings Ledger Analytics — Base-100 Series + Secondary-Measure Weighted Mean

> Savings Ledger Analytics — Base-100 Series + Secondary-Measure Weighted Mean 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-04).

Computes a base-100 index series and a secondary-measure weighted mean for savings ledger records (deposit and withdrawal amounts) supplied by the caller, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-23-166?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/savings-ledger-analytics-base-100-series-secondary-measure-weighted-8357b151
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LXNCqsCxIHBCFmdETjUwa

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-analytics-base-100-series-secondary-measure-weighted-8357b151 -d '<json body>'
```

Example prompt: Can you run both a base-100 index series and a secondary-measure weighted mean on my savings ledger data? I have rows with deposit_amount and withdrawal_amount fields, and I want to use deposit_amount as the primary field with the first row as the base index (index 0).

## When to prefer this

Choose this endpoint when you have pre-collected savings ledger data (deposits and withdrawals) and need two statistical outputs — a base-100 normalized index series and a weighted mean — without requiring live data lookups, predictions, or external enrichment. It is ideal for batch financial analytics on up to 200 rows at very low cost ($0.01 USDC for both reports). Prefer this over generic statistics APIs when your data is structured around deposit/withdrawal amounts with instrument group segmentation.

## Known failure modes

- Fewer than 1 row or more than 200 rows submitted — request rejected
- base_index out of range (0–199) for the submitted row count
- Invalid date format (must match YYYY-MM-DD pattern)
- Missing required fields (row_id, instrument_group, date, deposit_amount, withdrawal_amount)
- row_id or instrument_group exceeds 80-character max length
- Amount values outside allowed range (-1e12 to 1e12)
- Invalid field enum value (must be 'deposit_amount' or 'withdrawal_amount')

## How this service works

Savings ledger — Base-100 series + Secondary-measure weighted mean: Base-100 series + Secondary-measure weighted mean 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 analytical reports: (1) a base-100 index series showing each row's primary field value normalized relative to the chosen base row, and (2) a secondary-measure weighted mean aggregating the complementary field across the supplied savings ledger rows. No external data is fetched; all computation is performed locally on the submitted rows.

## 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"
  },
  "base_index": {
   "type": "integer",
   "default": 0,
   "maximum": 199,
   "minimum": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/savings-ledger-analytics-base-100-series-secondary-measure-weighted-8357b151/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)
