# Mining Contribution per Energy Unit — Rolling Mean Report

> Mining Contribution per Energy Unit — 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 contribution (USD) per energy unit (kWh) over a sliding window across a series of data rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-profit-per-kwh-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-contribution-per-energy-unit-rolling-mean-report-8cd380ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iVGM_vA272F6EJZmCEaEk

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-contribution-per-energy-unit-rolling-mean-report-8cd380ef -d '<json body>'
```

Example prompt: Run a rolling mean report on my mining contribution per kWh data — I have 4 rows with contributions of $25, $27.50, $25, $27.50 and energy usage of 500, 550, 500, 550 kWh respectively, using a window size of 2.

## When to prefer this

Choose this endpoint when you need a rolling/moving average of mining contribution efficiency (USD earned per kWh consumed) over a sequential dataset. It is purpose-built for mining profitability smoothing with a configurable sliding window, and is appropriate when you have time-series mining data and want to reduce noise without live price feeds or external data dependencies.

## Known failure modes

- Fewer than 2 rows supplied — minimum minItems:2 not met, request rejected
- Window size larger than number of rows — computation cannot produce valid output
- energy_kwh value of 0 or negative — exclusiveMinimum:0 enforced, row rejected
- Exceeding 200 rows — maxItems limit triggers validation error
- contribution_usd below -1,000,000,000,000 — minimum boundary violated
- Payment of 0.01 USDC not processed — x402 payment failure blocks response

## How this service works

Mining contribution per energy unit — Rolling mean report: Rolling mean report for Mining contribution per energy unit. 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 showing the smoothed mining contribution per kWh for each window position in the supplied row series, computed using the specified window size. Output includes the rolling mean values derived from the supplied contribution_usd and energy_kwh inputs, with no live price data or guaranteed return figures included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "contribution_usd",
     "energy_kwh"
    ],
    "properties": {
     "energy_kwh": {
      "type": "number",
      "default": 500,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "contribution_usd": {
      "type": "number",
      "default": 25,
      "maximum": 10000000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "energy_kwh": 500,
     "contribution_usd": 25
    },
    {
     "energy_kwh": 550,
     "contribution_usd": 27.500000000000004
    },
    {
     "energy_kwh": 500,
     "contribution_usd": 25
    },
    {
     "energy_kwh": 550,
     "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-contribution-per-energy-unit-rolling-mean-report-8cd380ef/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)
