# Treasury Supplied Balances — Numeric Interval Filter + IQR Outlier Flags

> Treasury Supplied Balances — Numeric Interval Filter + IQR Outlier Flags 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-25).

Filters treasury supplied balance records (opening_balance or closing_balance) within a numeric interval and flags statistical outliers using IQR analysis, returning up to 2 analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-16-130?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treasury-supplied-balances-numeric-interval-filter-iqr-outlier-flags-613c2202
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QORGutJQxR-5H7VaGqnfG

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-numeric-interval-filter-iqr-outlier-flags-613c2202 -d '<json body>'
```

Example prompt: I have 150 rows of treasury balance records with opening and closing balances — can you filter them to only show closing_balance values between 5000 and 500000 and flag any IQR outliers across the dataset? Here are the rows with row_id, instrument_group, date, opening_balance, and closing_balance fields.

## When to prefer this

Use this endpoint when you have treasury-specific balance data (opening/closing balances per instrument group) and need both a numeric interval filter and IQR-based outlier detection in a single low-cost call. Ideal for pre-reporting data quality checks, anomaly screening, or filtering large sets of treasury records without setting up a full analytics pipeline. Not suitable for live market data lookups, predictive modeling, or datasets larger than 200 rows.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- Missing required row fields (row_id, instrument_group, date, opening_balance, closing_balance) — validation error
- Invalid date format (must match YYYY-MM-DD pattern) — schema validation failure
- Numeric values outside allowed range (-1e12 to 1e12) — rejected
- minimum greater than maximum — may return empty filtered set
- Empty rows array — rejected (minItems: 1)
- Payment not included or insufficient (requires 0.01 USDC via x402) — 402 response

## How this service works

Treasury supplied balances — Numeric interval filter + IQR outlier flags: Numeric interval filter + IQR outlier flags 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: one identifying records whose selected balance field (opening_balance or closing_balance) falls within the specified numeric interval [minimum, maximum], and one flagging statistical outliers within that dataset using the IQR (interquartile range) method. Results cover up to 200 input rows and are computed locally with no external data lookup.

## 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"
  },
  "maximum": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": 0,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treasury-supplied-balances-numeric-interval-filter-iqr-outlier-flags-613c2202/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)
