# Mining Two-Rate Energy Charge Calculator

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

Calculates the total electricity cost for a cryptocurrency mining operation using separate peak and off-peak energy rates and consumption figures.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-two-rate-bill-calculate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mining-two-rate-energy-charge-calculator-f34b67a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_73_EgOHwnENFf3Uz8-elP

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-calculator-f34b67a4 -d '<json body>'
```

Example prompt: Calculate my mining electricity bill — I used 100 kWh during peak hours at $0.10 per kWh, and 200 kWh during off-peak hours at $0.05 per kWh.

## When to prefer this

Choose this endpoint when you need a quick, deterministic electricity cost calculation for a mining workload that has two distinct energy tariff periods (peak and off-peak). It is ideal for agents that need a lightweight, single-shot computation without building their own formula, especially when the mining context and two-rate billing structure are already known. Prefer this over generic calculators when the user specifically has separate peak and off-peak kWh figures and wants a mining-specific cost report for under $0.01.

## Known failure modes

- Missing required field (peak_kwh, peak_usd, offpeak_kwh, or offpeak_usd) returns a validation error
- Zero or negative values rejected due to exclusiveMinimum:0 constraint
- Values exceeding the maximum bound (1e16) may be rejected
- Payment failure via x402 protocol prevents the calculation from running
- Malformed JSON body returns a 400-level error

## How this service works

Mining two-rate energy charge — Single calculation: Single calculation 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 single calculation report.

## Output

A single calculation report showing the energy charges broken down by peak and off-peak consumption, with a combined total electricity cost in USD, based on the supplied kWh quantities and per-kWh USD rates. No live market prices or guaranteed returns are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "peak_kwh": 100,
    "peak_usd": 0.1,
    "offpeak_kwh": 200,
    "offpeak_usd": 0.05
   },
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-two-rate-energy-charge-calculator-f34b67a4/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)
