# Savings Ledger — Record Quality Audit + Secondary-Measure Weighted Mean

> Savings Ledger — Record Quality Audit + 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-10-22).

Audits data quality of savings ledger records and computes a weighted mean on a chosen numeric field (deposit_amount or withdrawal_amount) across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-23-016?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/savings-ledger-record-quality-audit-secondary-measure-weighted-mean-3445b927
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9okqHnXwhBuPO7efjbBVB

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-record-quality-audit-secondary-measure-weighted-mean-3445b927 -d '<json body>'
```

Example prompt: Can you run a record quality audit and compute a weighted mean on the deposit_amount field for these savings ledger rows? I have about 50 rows with row_id, instrument_group, date, deposit_amount, and withdrawal_amount — I need both reports in one call.

## When to prefer this

Choose this endpoint when you need both a data quality audit and a weighted mean statistic on savings ledger data in a single low-cost call. It is ideal for batch validation of up to 200 deposit/withdrawal records where no external data enrichment, live lookup, or prediction is needed — purely local analytical computation on supplied data.

## Known failure modes

- More than 200 rows submitted — request rejected due to maxItems constraint
- Missing required fields (row_id, instrument_group, date, deposit_amount, or withdrawal_amount) — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Invalid field selector (not 'deposit_amount' or 'withdrawal_amount') — enum rejection
- All values null for the selected field — weighted mean cannot be computed
- Payment not included or insufficient USDC — x402 payment required error

## How this service works

Savings ledger — Record quality audit + Secondary-measure weighted mean: Record quality audit + 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 record quality audit identifying issues such as missing values, out-of-range amounts, or malformed dates across the supplied rows; and (2) a weighted mean calculation for the selected numeric field (deposit_amount or withdrawal_amount). All computation is performed locally with no external lookups or live 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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/savings-ledger-record-quality-audit-secondary-measure-weighted-mean-3445b927/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)
