# Mining Operating Contribution Margin — Rolling Mean Report

> Mining Operating Contribution Margin — Rolling Mean Report 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-15).

Computes a rolling mean of mining operating contribution margin ratios (contribution_usd / revenue_usd) over a sliding window across a series of time-period rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-cash-margin-rate-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mining-operating-contribution-margin-rolling-mean-report-c5fa3bbf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pQAVaTQTEEujrfgoUoQ4W

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 mining-operating-contribution-margin-rolling-mean-report-c5fa3bbf -d '<json body>'
```

Example prompt: I have 6 quarters of mining revenue and contribution figures — can you calculate the rolling mean of the contribution margin rate using a window of 3 periods? Revenues are 100, 110, 105, 120, 115, 130 and contributions are 25, 27.5, 26, 30, 28.75, 32.5.

## When to prefer this

Choose this endpoint when you need a statistically smoothed view of mining operating contribution margin rates over time using a rolling mean, particularly when raw period-to-period figures are volatile and you want to identify underlying trends. Ideal for mining-specific financial analytics where the contribution margin formula and assumptions are fixed and you supply raw revenue and contribution figures per period. At $0.01 USDC per call it is cost-effective for frequent periodic reporting.

## Known failure modes

- Fewer than 2 rows supplied — minimum of 2 rows required
- Window size larger than the number of rows provided — rolling mean cannot be computed
- revenue_usd is zero or negative — excluded by exclusiveMinimum constraint
- More than 200 rows supplied — exceeds maxItems limit
- Window integer outside 2–200 range — schema validation failure
- Malformed row objects missing required contribution_usd or revenue_usd fields

## How this service works

Mining operating contribution margin — Rolling mean report: Rolling mean report for Mining operating contribution margin. Supplied mining assumptions only; formula and units disclosed. No live prices, mining or guaranteed return. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded rolling mean report report.

## Output

A rolling mean report containing the smoothed contribution margin rates (contribution_usd / revenue_usd) computed over the specified sliding window across the supplied period rows. Each output data point represents the mean margin ratio over the preceding N periods as defined by the window parameter. No live prices or guaranteed returns are included — the report applies only the supplied mining assumptions with formula and units disclosed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "contribution_usd",
     "revenue_usd"
    ],
    "properties": {
     "revenue_usd": {
      "type": "number",
      "default": 100,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "contribution_usd": {
      "type": "number",
      "default": 25,
      "maximum": 10000000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "revenue_usd": 100,
     "contribution_usd": 25
    },
    {
     "revenue_usd": 110.00000000000001,
     "contribution_usd": 27.500000000000004
    },
    {
     "revenue_usd": 100,
     "contribution_usd": 25
    },
    {
     "revenue_usd": 110.00000000000001,
     "contribution_usd": 27.500000000000004
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-operating-contribution-margin-rolling-mean-report-c5fa3bbf/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)
