# Treasury Supplied Balances — Grouped Numeric Summary + Secondary-Measure Weighted Mean

> Treasury Supplied Balances — Grouped Numeric Summary + 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-24).

Computes grouped numeric summaries and secondary-measure weighted means for treasury supplied balance records (opening and closing balances) across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-16-096?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treasury-supplied-balances-grouped-numeric-summary-secondary-measure-6dbfb2be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Zyptl6qBxpmfOfi87ZlMq

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-grouped-numeric-summary-secondary-measure-6dbfb2be -d '<json body>'
```

Example prompt: Run two grouped analytics reports on these treasury balance records — I need a grouped numeric summary and a secondary-measure weighted mean for the opening_balance field, grouped by instrument_group, for these 4 rows: row-1 group-a 2026-10-01 opening 10 closing 1, row-2 group-b 2026-10-02 opening 20 closing 2, row-3 group-a 2026-10-03 opening 15 closing 3, row-4 group-b 2026-10-04 opening 30 closing 4.

## When to prefer this

Choose this endpoint when you have treasury or financial balance data structured with instrument groups and need both a grouped numeric summary and a secondary-measure weighted mean in a single call for up to 200 rows. Ideal for financial analytics workflows where grouping by instrument category and computing weighted averages over balance fields is required without needing live market data or external lookups.

## Known failure modes

- Input array exceeds 200 rows — request will be rejected
- Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) cause validation error
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Numeric values outside ±1,000,000,000,000 range rejected
- Empty rows array returns error
- Invalid field enum value (not opening_balance or closing_balance) causes failure

## How this service works

Treasury supplied balances — Grouped numeric summary + Secondary-measure weighted mean: Grouped numeric summary + Secondary-measure weighted mean 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 two independent analytical reports: (1) a grouped numeric summary (count, min, max, mean, std dev, etc.) per instrument_group for the selected balance field, and (2) a secondary-measure weighted mean across groups using the other balance field as weights. Up to 200 rows processed per call.

## 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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treasury-supplied-balances-grouped-numeric-summary-secondary-measure-6dbfb2be/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)
