# Mining Operating Cash Contribution — Rolling Mean Report

> Mining Operating Cash Contribution — 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-16).

Computes a rolling mean of mining operating cash contribution (revenue minus electricity, maintenance, and other costs) over a sliding window across a series of time-period rows.

## Facts

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

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-cash-contribution-rolling-mean-report-ac435b54 -d '<json body>'
```

Example prompt: Compute the rolling mean of mining operating cash contribution for these 4 periods — revenue $100, $110, $100, $110; electricity $60, $66, $60, $66; maintenance $10, $11, $10, $11; other costs $5, $5.50, $5, $5.50 — using a window of 2.

## When to prefer this

Choose this endpoint when you need a smoothed, rolling mean view of mining operating cash contribution across multiple time periods using your own cost/revenue assumptions. It is purpose-built for mining economics (electricity, maintenance, other costs subtracted from revenue) and returns a bounded rolling mean rather than a single-period snapshot. Prefer it over generic financial rolling mean tools when you want mining-specific formula disclosure and preset assumptions within a shared multi-profile engine.

## Known failure modes

- Fewer than 2 rows submitted (minItems:2 violation)
- More than 200 rows submitted (maxItems:200 violation)
- Window size larger than number of rows (invalid window)
- revenue_usd set to zero or negative (exclusiveMinimum:0 violation)
- Non-numeric cost values passed in rows
- Missing required fields (revenue_usd, electricity_usd, maintenance_usd, other_usd) in any row

## How this service works

Mining operating cash contribution — Rolling mean report: Rolling mean report for Mining operating cash contribution. 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

Returns a rolling mean report of the mining operating cash contribution (revenue minus electricity, maintenance, and other costs) across the submitted periods, smoothed over the specified window size. The response includes the formula basis, units, and bounded rolling mean values for each valid window position. No live prices or guaranteed returns are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "revenue_usd",
     "electricity_usd",
     "maintenance_usd",
     "other_usd"
    ],
    "properties": {
     "other_usd": {
      "type": "number",
      "default": 5,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "revenue_usd": {
      "type": "number",
      "default": 100,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "electricity_usd": {
      "type": "number",
      "default": 60,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "maintenance_usd": {
      "type": "number",
      "default": 10,
      "maximum": 10000000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "other_usd": 5,
     "revenue_usd": 100,
     "electricity_usd": 60,
     "maintenance_usd": 10
    },
    {
     "other_usd": 5.5,
     "revenue_usd": 110.00000000000001,
     "electricity_usd": 66,
     "maintenance_usd": 11
    },
    {
     "other_usd": 5,
     "revenue_usd": 100,
     "electricity_usd": 60,
     "maintenance_usd": 10
    },
    {
     "other_usd": 5.5,
     "revenue_usd": 110.00000000000001,
     "electricity_usd": 66,
     "maintenance_usd": 11
    }
   ],
   "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-cash-contribution-rolling-mean-report-ac435b54/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)
