# Cash Ratio Distribution Histogram Calculator

> Cash Ratio Distribution Histogram 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-22).

Bins up to 200 cash ratio observations into equal-width histogram buckets, returning bin edges, counts, formula, units, and limitations as JSON.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-cash-ratio-histogram?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cash-ratio-distribution-histogram-calculator-8034b479
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CExMOP1nryyKFIc8BUj08

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-distribution-histogram-calculator-8034b479 -d '<json body>'
```

Example prompt: Can you bin these 12 companies' cash ratios into 8 equal-width histogram buckets? Each company has cash and equivalents and current liabilities values: [company1: cash=5000, liabilities=10000], [company2: cash=5500, liabilities=11000], [company3: cash=8000, liabilities=20000] — I want to see the full distribution with bin edges.

## When to prefer this

Choose this endpoint when you need a statistical frequency distribution (histogram) of cash ratio values across a batch of observations — useful for portfolio screening, sector benchmarking, or temporal liquidity analysis. Prefer it over single-point calculators when you have multiple data points and want to understand spread, concentration, or outliers rather than a single ratio value.

## Known failure modes

- Fewer than 2 rows provided — minimum row count not met
- current_liabilities value of 0 or missing — division by zero excluded by schema exclusiveMinimum
- bins parameter outside 1–30 range — validation error
- More than 200 rows submitted — exceeds maxItems limit
- Non-numeric values in cash_and_equivalents or current_liabilities — schema type mismatch
- Values exceeding 1,000,000,000,000 — maximum threshold breach

## How this service works

Cash ratio - Distribution histogram: Bin up to 200 calculated observations into equal-width bins, including edge definitions. 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 distribution histogram report.

## Output

A JSON response containing the histogram bin definitions (lower and upper edges for each bin), observation counts per bin, the cash ratio formula used (cash and equivalents divided by current liabilities), units, and stated limitations of the metric. Up to 30 bins across a maximum of 200 input observations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cash-ratio-distribution-histogram-calculator-8034b479/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)
