# Treasury Supplied Balances — Keyed Dataset Comparison + Explicit Missing-Value Fill

> Treasury Supplied Balances — Keyed Dataset Comparison + Explicit Missing-Value Fill 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-26).

Compares two treasury balance datasets by row key and fills missing opening/closing balance values explicitly, producing up to 2 analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-16-190?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treasury-supplied-balances-keyed-dataset-comparison-explicit-missing-f534de34
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qe6TUS2aFKvtwOz1AtdtS

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 treasury-supplied-balances-keyed-dataset-comparison-explicit-missing-f534de34 -d '<json body>'
```

Example prompt: I have two sets of treasury balance records — a primary dataset and a secondary dataset, each with up to 50 rows keyed by row_id, instrument_group, and date — can you compare the opening_balance field across both, highlight any discrepancies, and fill in any missing values?

## When to prefer this

Choose this endpoint when you need to compare two treasury balance datasets side-by-side by a shared row key and simultaneously fill in missing (null) balance values — all offline using supplied data only, with no external API calls, live lookups, or predictions. Best for finance teams reconciling two independent balance reports of up to 200 rows at low cost ($0.01 USDC for both reports).

## Known failure modes

- Exceeding 200 rows per dataset returns a validation error
- Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) causes schema rejection
- Invalid date format (not YYYY-MM-DD) triggers pattern validation failure
- Balance values outside ±1,000,000,000,000 are rejected
- Empty rows array (minItems:1 violated) returns an error
- Mismatched row keys between primary and secondary datasets may produce sparse comparison output

## How this service works

Treasury supplied balances — Keyed dataset comparison + Explicit missing-value fill: Keyed dataset comparison + Explicit missing-value fill for supplied treasury supplied balances records (opening_balance, closing_balance). 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 up to 2 analytical reports: (1) a keyed dataset comparison showing row-by-row differences between the two supplied treasury balance datasets on the chosen field (opening_balance or closing_balance), and (2) an explicit missing-value fill report identifying and substituting null balance entries. Results are computed locally with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "instrument_group",
     "date",
     "opening_balance",
     "closing_balance"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "closing_balance": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "opening_balance": {
      "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",
     "closing_balance": 1,
     "opening_balance": 10,
     "instrument_group": "group-a"
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "closing_balance": 2,
     "opening_balance": 20,
     "instrument_group": "group-b"
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "closing_balance": 3,
     "opening_balance": 15,
     "instrument_group": "group-a"
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "closing_balance": 4,
     "opening_balance": 30,
     "instrument_group": "group-b"
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "opening_balance",
    "closing_balance"
   ],
   "type": "string",
   "default": "opening_balance"
  },
  "other": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "instrument_group",
     "date",
     "opening_balance",
     "closing_balance"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "closing_balance": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "opening_balance": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treasury-supplied-balances-keyed-dataset-comparison-explicit-missing-f534de34/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)
