# Mining Electricity Charge — Single Calculation

> Mining Electricity Charge — Single Calculation 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 the electricity cost for a cryptocurrency mining operation given energy consumption in kWh and a per-kWh rate in USD.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-energy-bill-calculate?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-electricity-charge-single-calculation-ce4a6140
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VlT80bGj6oKmV0E12E9ec

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-electricity-charge-single-calculation-ce4a6140 -d '<json body>'
```

Example prompt: Can you calculate my mining electricity charge for 720 kWh of energy at $0.05 per kWh?

## When to prefer this

Choose this endpoint when you need a quick, single-shot, formula-based electricity cost calculation for a mining operation given known kWh consumption and a flat per-kWh rate — especially in automated agent workflows where a cheap ($0.01 USDC), deterministic, no-frills computation is sufficient and no live energy price lookup or multi-scenario batch run is needed.

## Known failure modes

- Missing or zero energy_kwh value returns a validation error (exclusiveMinimum: 0)
- Missing or zero usd_per_kwh value returns a validation error (exclusiveMinimum: 0)
- Values exceeding the maximum threshold (1e16) are rejected
- Malformed JSON body or missing 'values' object causes a 400-level error
- Payment failure or insufficient USDC balance results in a 402 Payment Required response

## How this service works

Mining electricity charge — Single calculation: Single calculation for Mining electricity 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 bounded single calculation report containing the computed electricity charge in USD for the supplied mining energy consumption (kWh) and per-kWh rate, based on disclosed formula and units. No live prices, market data, or guaranteed returns are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "energy_kwh": 720,
    "usd_per_kwh": 0.05
   },
   "required": [
    "energy_kwh",
    "usd_per_kwh"
   ],
   "properties": {
    "energy_kwh": {
     "type": "number",
     "default": 720,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "usd_per_kwh": {
     "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-electricity-charge-single-calculation-ce4a6140/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)
