# Mining Energy Consumption Before-and-After Comparison

> Mining Energy Consumption Before-and-After Comparison 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 and compares mining energy consumption (kWh) across two scenarios—before and after—based on supplied power draw, hours, and uptime assumptions.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-energy-kwh-compare?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-before-and-after-comparison-91e6f87b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VQSn_Gn0pv376ri4zD3zU

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-before-and-after-comparison-91e6f87b -d '<json body>'
```

Example prompt: Compare my mining energy consumption before and after an upgrade: before the upgrade my rigs ran at 30 kW for 24 hours at 90% uptime, and after the upgrade they run at 33 kW for 26.4 hours at 99% uptime — give me a before-and-after kWh comparison report.

## When to prefer this

Choose this endpoint when you need a quick, cost-effective ($0.01 USDC) structured energy comparison between two mining configurations — specifically when you have before/after values for power draw (kW), operating hours, and uptime percentage and want a clear kWh delta report. It is purpose-built for mining energy scenarios and discloses its formula and units explicitly, making it useful for auditability. Prefer alternatives if you need live electricity prices, profitability calculations, or multi-scenario grid analysis.

## Known failure modes

- Missing required fields (power_kw, hours, or uptime_percent) in either before or after object returns a validation error
- Zero or negative values for power_kw or hours rejected due to exclusiveMinimum constraint
- uptime_percent above 100 rejected by schema maximum constraint
- Malformed JSON body causes 400 bad request
- Payment failure or insufficient USDC balance prevents report generation

## How this service works

Mining energy consumption — Before and after comparison: Before and after comparison 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 before and after comparison report.

## Output

A bounded before-and-after comparison report showing energy consumption in kWh for both the 'before' and 'after' mining scenarios (based on power_kw, hours, and uptime_percent inputs), along with the computed delta between them. The formula and units are disclosed. No live prices, profitability projections, or guaranteed returns are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "hours": 26.400000000000002,
    "power_kw": 33,
    "uptime_percent": 99.00000000000001
   },
   "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
  },
  "before": {
   "type": "object",
   "default": {
    "hours": 24,
    "power_kw": 30,
    "uptime_percent": 90
   },
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-energy-consumption-before-and-after-comparison-91e6f87b/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)
