# Mining Energy Consumption — Weighted Result Mean

> Mining Energy Consumption — Weighted Result Mean 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).

Calculates a weighted mean of mining energy consumption (kWh) across multiple mining operation records, each defined by power draw, operating hours, and uptime percentage.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-energy-kwh-weighted-mean?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-energy-consumption-weighted-result-mean-c64eae99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HX8hGhmWxr9oSb2lrUq-S

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-energy-consumption-weighted-result-mean-c64eae99 -d '<json body>'
```

Example prompt: Calculate the weighted mean energy consumption for my four mining rigs: rig 1 runs at 30 kW for 24 hours at 90% uptime with weight 1, rig 2 at 33 kW for 26.4 hours at 99% uptime with weight 2, rig 3 at 30 kW for 24 hours at 90% uptime with weight 1, and rig 4 at 33 kW for 26.4 hours at 99% uptime with weight 2.

## When to prefer this

Choose this endpoint when you need a single weighted summary statistic (weighted mean) of mining energy consumption across multiple rigs or operations, particularly when different machines or periods should contribute unequally to the aggregate. It is purpose-built for mining energy (kWh) analysis rather than generic statistical tools, and costs only $0.01 USDC per call. Prefer it over generic weighted average calculators when you need a formula-disclosed, bounded mining-specific result report, and over batch calculation endpoints when you want a single aggregated mean rather than per-row results.

## Known failure modes

- Fewer than 2 rows or weights supplied — validation error
- Mismatch between number of rows and number of weights — schema error
- Power kW or hours value of zero or below — exclusiveMinimum violation
- Uptime percentage above 100 — maximum constraint error
- More than 200 rows submitted — maxItems exceeded
- Missing required fields (power_kw, hours, uptime_percent) in any row — required field error
- Payment failure or insufficient USDC balance — 402 payment required

## How this service works

Mining energy consumption — Weighted result mean: Weighted result mean for Mining energy consumption. 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 weighted result mean report.

## Output

A bounded weighted result mean report containing the weighted mean energy consumption in kWh across all supplied mining operation rows, computed using the provided nonnegative weights and the disclosed formula based on power (kW), hours, and uptime percentage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "power_kw",
     "hours",
     "uptime_percent"
    ],
    "properties": {
     "hours": {
      "type": "number",
      "default": 24,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "power_kw": {
      "type": "number",
      "default": 30,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "uptime_percent": {
      "type": "number",
      "default": 90,
      "maximum": 100,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "hours": 24,
     "power_kw": 30,
     "uptime_percent": 90
    },
    {
     "hours": 26.400000000000002,
     "power_kw": 33,
     "uptime_percent": 99.00000000000001
    },
    {
     "hours": 24,
     "power_kw": 30,
     "uptime_percent": 90
    },
    {
     "hours": 26.400000000000002,
     "power_kw": 33,
     "uptime_percent": 99.00000000000001
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-energy-consumption-weighted-result-mean-c64eae99/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)
