# Return on Average Assets – Distribution Histogram

> Return on Average Assets – Distribution Histogram 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 return-on-average-assets (ROAA) observations into equal-width histogram bins and returns bin edges, counts, formula, units, and limitations as JSON.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-return-assets-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/return-on-average-assets-distribution-histogram-9f1a1323
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SKHJANPpwfH6G4u-R9tvl

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 return-on-average-assets-distribution-histogram-9f1a1323 -d '<json body>'
```

Example prompt: Take these 12 pairs of net income and average assets figures and bin them into 8 equal-width histogram buckets so I can see how our return on average assets is distributed — give me the bin edges, counts, the ROAA formula, and any limitations.

## When to prefer this

Choose this endpoint when you have a batch of raw net income and average assets observations and need a ready-made frequency distribution (histogram) of ROAA values — especially when you want bin edges pre-computed and metadata (formula, units, limitations) bundled in one call. Prefer it over a generic statistics API when you specifically need ROAA semantics and a finance-oriented JSON response rather than writing your own binning logic.

## Known failure modes

- Fewer than 2 rows supplied — minimum row requirement not met
- average_assets value of zero or negative — excluded by exclusiveMinimum constraint
- net_income or average_assets outside ±1 trillion range — value rejected
- bins parameter above 30 or below 1 — clamped or rejected
- Rows array exceeds 200 items — request rejected
- Malformed row objects missing required fields net_income or average_assets — validation error
- Payment of 0.01 USDC not settled — 402 response before processing

## How this service works

Return on average assets - Distribution histogram: Bin up to 200 calculated observations into equal-width bins, including edge definitions. Metric: Return on average assets. 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 object containing the histogram bin edges (lower and upper bounds for each equal-width bin), observation counts per bin, the ROAA formula used (net income / average assets), the units of the metric, and any stated limitations of the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "net_income",
     "average_assets"
    ],
    "properties": {
     "net_income": {
      "type": "number",
      "default": 3000,
      "maximum": 1000000000000,
      "minimum": -1000000000000,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "average_assets": {
      "type": "number",
      "default": 40000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period",
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "net_income": 3000,
     "average_assets": 40000
    },
    {
     "net_income": 3300.0000000000005,
     "average_assets": 44000
    },
    {
     "net_income": 3000,
     "average_assets": 40000
    },
    {
     "net_income": 3300.0000000000005,
     "average_assets": 44000
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/return-on-average-assets-distribution-histogram-9f1a1323/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)
