# Cash Ratio Weighted Result Mean Calculator

> Cash Ratio Weighted Result Mean Calculator 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-18).

Calculates a weighted mean of up to 200 cash ratio values using supplied nonnegative weights, returning the formula, units, and limitations in JSON.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-cash-ratio-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cash-ratio-weighted-result-mean-calculator-1783b3db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iEY4IPsB9qdcDqKb9jDfg

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 cash-ratio-weighted-result-mean-calculator-1783b3db -d '<json body>'
```

Example prompt: Calculate the weighted mean cash ratio for these four company snapshots: cash $5000/liabilities $10000, cash $5500/liabilities $11000, cash $5000/liabilities $10000, cash $5500/liabilities $11000 — use weights 1, 2, 1, 2 so the second and fourth observations count twice as much.

## When to prefer this

Choose this endpoint when you need to statistically blend multiple pre-computed or raw cash ratio inputs using custom weights — for example, weighting by market cap, analyst confidence, or recency. It is not a pooled ratio calculator and does not fetch live financial data, making it ideal for offline or agent-driven analysis pipelines where the source figures are already known.

## Known failure modes

- Mismatched array lengths between rows and weights returns a validation error
- weights array containing negative values is rejected (must be nonnegative)
- current_liabilities value of 0 is rejected due to exclusiveMinimum constraint
- Fewer than 2 rows or weights provided returns a schema validation error
- More than 200 rows or weights provided exceeds maxItems limit
- Non-numeric values in rows or weights cause type validation failure
- Payment failure or insufficient USDC balance results in HTTP 402 with no computation

## How this service works

Cash ratio - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. Metric: Cash ratio. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded weighted result mean report.

## Output

A JSON object containing the computed weighted mean cash ratio, the mathematical formula used, the units of the result, and a limitations section clarifying that this is a statistical mean of supplied values (not a pooled accounting ratio) and that no live data or financial advice is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "cash_and_equivalents",
     "current_liabilities"
    ],
    "properties": {
     "current_liabilities": {
      "type": "number",
      "default": 10000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period",
      "exclusiveMinimum": 0
     },
     "cash_and_equivalents": {
      "type": "number",
      "default": 5000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "current_liabilities": 10000,
     "cash_and_equivalents": 5000
    },
    {
     "current_liabilities": 11000,
     "cash_and_equivalents": 5500
    },
    {
     "current_liabilities": 10000,
     "cash_and_equivalents": 5000
    },
    {
     "current_liabilities": 11000,
     "cash_and_equivalents": 5500
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cash-ratio-weighted-result-mean-calculator-1783b3db/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)
