# Mining Two-Rate Energy Charge — Distribution Histogram

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

Generates a distribution histogram of total energy charges for mining operations using peak and off-peak rate inputs across multiple scenarios.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-two-rate-bill-histogram?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-distribution-histogram-aafff282
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FfY1JSccQTPDLl5N61tg9

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-distribution-histogram-aafff282 -d '<json body>'
```

Example prompt: Show me a distribution histogram with 10 bins for my mining energy charges — I have 4 scenarios: peak usage 100 kWh at $0.10/kWh with 200 kWh off-peak at $0.05/kWh, and peak 110 kWh at $0.11/kWh with 220 kWh off-peak at $0.055/kWh, repeating those two patterns.

## When to prefer this

Choose this endpoint when you need a statistical frequency distribution (histogram) of energy billing totals for cryptocurrency mining operations under a two-rate (peak/off-peak) tariff structure. It is ideal when you have multiple billing scenario rows and want to understand how charges cluster or spread across cost ranges. Prefer this over single-value or time-series endpoints when the goal is distributional analysis rather than a point estimate or trend.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- More than 200 rows submitted — exceeds maximum row count
- peak_kwh or offpeak_kwh set to zero or negative — exclusive minimum violation
- bins value outside 1–30 range — parameter validation failure
- Missing required row fields (peak_kwh, peak_usd, offpeak_kwh, offpeak_usd) — schema validation error
- Payment not attached or insufficient — x402 payment required error

## How this service works

Mining two-rate energy charge — Distribution histogram: Distribution histogram 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 distribution histogram report.

## Output

A bounded distribution histogram report showing how total two-rate energy charges (peak + off-peak combined) are distributed across the specified number of bins, based on the supplied rows of peak and off-peak kWh consumption and per-unit rates. Includes bin boundaries, frequencies, and a summary of the charge distribution across all submitted mining scenarios.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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
  }
 }
}
```

## More

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