# Financial Statement Inputs — Secondary-Measure Weighted Mean + Date by Category Pivot

> Financial Statement Inputs — Secondary-Measure Weighted Mean + Date by Category Pivot is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Computes a secondary-measure weighted mean and a date-by-category pivot table for up to 200 financial statement input rows (revenue_amount, expense_amount) using local analytical engines.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-finance-22-185?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/financial-statement-inputs-secondary-measure-weighted-mean-date-by-b9dc1ce5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e3N96GSY1TCxwbDqOFKrc

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 financial-statement-inputs-secondary-measure-weighted-mean-date-by-b9dc1ce5 -d '<json body>'
```

Example prompt: Can you run a weighted mean and date-by-category pivot on these financial records? I have 4 rows with instrument groups 'group-a' and 'group-b', dated 2026-10-01 through 2026-10-04, with revenue amounts of 10, 20, 15, 30 and expense amounts of 1, 2, 3, 4 — analyze the revenue_amount field.

## When to prefer this

Choose this endpoint when you need both a weighted mean and a date-by-category pivot computed together on a single batch of financial statement rows (up to 200), and you want two coordinated reports from one low-cost call ($0.01 USDC). Prefer it over general analytics services when your data is already structured with row_id, instrument_group, date, revenue_amount, and expense_amount fields, and you need purely local computation with no external lookups or predictions.

## Known failure modes

- More than 200 rows submitted — request will be rejected or truncated
- Missing required fields (row_id, instrument_group, date, revenue_amount, or expense_amount) cause validation errors
- Invalid date format (not YYYY-MM-DD) triggers schema validation failure
- Both revenue_amount and expense_amount are null for a row, making weighted mean undefined
- field parameter not one of the allowed enum values ('revenue_amount' or 'expense_amount')
- Payment not completed via x402 protocol — endpoint returns 402 Payment Required

## How this service works

Financial statement inputs — Secondary-measure weighted mean + Date by category pivot: Secondary-measure weighted mean + Date by category pivot for supplied financial statement inputs records (revenue_amount, expense_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 secondary-measure weighted mean of the selected financial field (revenue_amount or expense_amount) using the other measure as the weight, and (2) a pivot table of the selected field broken down by date and instrument_group category. Both reports are computed locally from the supplied rows with no external data.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/financial-statement-inputs-secondary-measure-weighted-mean-date-by-b9dc1ce5/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)
