# Mining Contribution Per Energy Unit — Before and After Comparison

> Mining Contribution Per Energy Unit — 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 contribution (USD) per kWh of energy consumed before and after a scenario change, returning a bounded comparison report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-profit-per-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-contribution-per-energy-unit-before-and-after-comparison-1c2bbf89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WBIu5VKS2DgPVskfHTF-w

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-contribution-per-energy-unit-before-and-after-comparison-1c2bbf89 -d '<json body>'
```

Example prompt: Compare my mining contribution per kWh before and after an equipment upgrade: before I was spending 500 kWh and earning $25 in mining contribution, and after I'm spending 550 kWh and earning $27.50 — give me a before-and-after breakdown report.

## When to prefer this

Choose this endpoint when you need a quick, structured before-and-after comparison of mining contribution efficiency expressed in USD per kWh, using only user-supplied assumptions without needing live market prices. It is ideal for scenario analysis, hardware upgrade evaluation, or energy cost change impact assessments where you want a bounded, formula-driven report rather than a live market feed.

## Known failure modes

- energy_kwh of zero or negative value causes validation error (exclusiveMinimum: 0)
- missing required fields contribution_usd or energy_kwh in either before or after object returns error
- contribution_usd exceeding bounds (>1e16 or <-1e12) causes rejection
- malformed JSON body returns 400-level error
- payment not settled results in 402 Payment Required

## How this service works

Mining contribution per energy unit — Before and after comparison: Before and after comparison for Mining contribution per energy unit. 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 comparison report containing the mining contribution per kWh for both the 'before' and 'after' scenarios, along with the delta between them, computed from the supplied energy (kWh) and contribution (USD) inputs. No live prices or guaranteed returns are included; the report uses only the user-supplied assumptions and a disclosed formula.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "object",
   "default": {
    "energy_kwh": 550,
    "contribution_usd": 27.500000000000004
   },
   "required": [
    "contribution_usd",
    "energy_kwh"
   ],
   "properties": {
    "energy_kwh": {
     "type": "number",
     "default": 500,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "contribution_usd": {
     "type": "number",
     "default": 25,
     "maximum": 10000000000000000,
     "minimum": -1000000000000
    }
   },
   "additionalProperties": false
  },
  "before": {
   "type": "object",
   "default": {
    "energy_kwh": 500,
    "contribution_usd": 25
   },
   "required": [
    "contribution_usd",
    "energy_kwh"
   ],
   "properties": {
    "energy_kwh": {
     "type": "number",
     "default": 500,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "contribution_usd": {
     "type": "number",
     "default": 25,
     "maximum": 10000000000000000,
     "minimum": -1000000000000
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-contribution-per-energy-unit-before-and-after-comparison-1c2bbf89/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)
