# Savings Ledger — Duplicate Key Report + Equal-Width Histogram

> Savings Ledger — Duplicate Key Report + Equal-Width Histogram 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).

Analyzes up to 200 savings ledger rows to produce a duplicate key report and an equal-width histogram for either deposit_amount or withdrawal_amount fields.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-23-064?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-duplicate-key-report-equal-width-histogram-c6c823ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BpiU5Ey7Tg5PYuKyMDhjb

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-duplicate-key-report-equal-width-histogram-c6c823ee -d '<json body>'
```

Example prompt: Check my savings ledger for duplicate row IDs and also build an equal-width histogram with 10 bins for the deposit_amount field — here are my 50 rows of ledger data with row_id, instrument_group, date, deposit_amount, and withdrawal_amount.

## When to prefer this

Choose this endpoint when you need both a duplicate key detection report and a histogram distribution analysis on savings ledger data (deposit_amount or withdrawal_amount) in a single low-cost call. It is ideal for data quality audits before reconciliation or reporting, and suits batch sizes up to 200 rows. Prefer this over general-purpose analytics when your data conforms to the savings ledger schema (row_id, instrument_group, date, deposit_amount, withdrawal_amount) and you need both reports together at $0.01.

## Known failure modes

- More than 200 rows submitted — request exceeds max row limit
- Invalid date format (not YYYY-MM-DD) causes row rejection
- bins parameter outside 1–30 range returns validation error
- field value not in enum ['deposit_amount','withdrawal_amount'] causes error
- Empty rows array returns error
- Numeric amounts outside ±1,000,000,000,000 range fail validation

## How this service works

Savings ledger — Duplicate key report + Equal-width histogram: Duplicate key report + Equal-width histogram 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 duplicate key report identifying any repeated row_id values in the submitted ledger rows, and (2) an equal-width histogram showing the frequency distribution of the chosen numeric field (deposit_amount or withdrawal_amount) across the specified number of bins (1–30). No external data is fetched; all analysis is performed on the supplied rows only.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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-duplicate-key-report-equal-width-histogram-c6c823ee/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)
