# Mining Two-Rate Energy Charge — Weighted Result Mean

> Mining Two-Rate Energy Charge — 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).

Computes a weighted mean of two-rate (peak/off-peak) electricity cost calculations for cryptocurrency mining scenarios across multiple input rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-two-rate-bill-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-two-rate-energy-charge-weighted-result-mean-2dfdea2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kEu2Sb2uCbdH7emt-fcxr

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-two-rate-energy-charge-weighted-result-mean-2dfdea2f -d '<json body>'
```

Example prompt: Calculate the weighted mean mining energy bill for these four scenarios: peak 100 kWh at $0.10, off-peak 200 kWh at $0.05 with weight 1; peak 110 kWh at $0.11, off-peak 220 kWh at $0.055 with weight 2; same as first with weight 1; same as second with weight 2.

## When to prefer this

Choose this endpoint when you need a statistically weighted mean of two-rate energy charges across multiple mining scenarios, tariff periods, or rig configurations — especially when different scenarios should contribute unequally to the average. Prefer it over a simple batch calculation when scenario importance varies (e.g., some months or sites are more representative than others).

## Known failure modes

- Fewer than 2 rows or weights provided — validation error
- Weights array length does not match rows array length — mismatch error
- Peak kWh or rate values are zero or negative — schema validation rejection
- Row count exceeds 200 items — max items exceeded error
- Payment not processed (x402 protocol failure) — no report returned

## How this service works

Mining two-rate energy charge — Weighted result mean: Weighted result mean for Mining two-rate energy charge. 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 computed weighted average of the two-rate (peak + off-peak) mining electricity charge across all supplied rows, weighted by the provided weights array. The report reflects only the supplied assumptions; no live prices or guaranteed returns are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "peak_kwh",
     "peak_usd",
     "offpeak_kwh",
     "offpeak_usd"
    ],
    "properties": {
     "peak_kwh": {
      "type": "number",
      "default": 100,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "peak_usd": {
      "type": "number",
      "default": 0.1,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "offpeak_kwh": {
      "type": "number",
      "default": 200,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "offpeak_usd": {
      "type": "number",
      "default": 0.05,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "peak_kwh": 100,
     "peak_usd": 0.1,
     "offpeak_kwh": 200,
     "offpeak_usd": 0.05
    },
    {
     "peak_kwh": 110.00000000000001,
     "peak_usd": 0.11000000000000001,
     "offpeak_kwh": 220.00000000000003,
     "offpeak_usd": 0.05500000000000001
    },
    {
     "peak_kwh": 100,
     "peak_usd": 0.1,
     "offpeak_kwh": 200,
     "offpeak_usd": 0.05
    },
    {
     "peak_kwh": 110.00000000000001,
     "peak_usd": 0.11000000000000001,
     "offpeak_kwh": 220.00000000000003,
     "offpeak_usd": 0.05500000000000001
    }
   ],
   "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-two-rate-energy-charge-weighted-result-mean-2dfdea2f/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)
