# Mining Availability Fraction — Distribution Histogram

> Mining Availability Fraction — 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-16).

Computes a bounded distribution histogram of mining availability fractions from supplied running-hours and scheduled-hours row data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-uptime-histogram?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mining-availability-fraction-distribution-histogram-0b78253c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1Qbg3s-C3kW-_bm83qTkm

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-availability-fraction-distribution-histogram-0b78253c -d '<json body>'
```

Example prompt: Take my 4 mining period records — periods of 22/24, 24.2/26.4, 22/24, and 24.2/26.4 running-to-scheduled hours — and generate a distribution histogram of availability fractions using 5 bins.

## When to prefer this

Use this endpoint when you have raw mining operational data (running hours and scheduled hours per period) and need a statistical distribution histogram of availability fractions — especially when you want to understand the spread, concentration, or shape of uptime across multiple mining periods. Prefer this over single-value or mean endpoints when distributional insight (not just a summary statistic) is the goal.

## Known failure modes

- Fewer than 2 rows supplied — minimum of 2 rows required
- scheduled_hours of 0 passed — exclusiveMinimum enforces >0 to avoid division by zero
- More than 200 rows provided — exceeds maxItems limit
- bins value outside 1–30 range — validation error returned
- running_hours exceeds maximum allowed value — schema validation failure
- Malformed row objects missing required fields — schema rejection

## How this service works

Mining availability fraction — Distribution histogram: Distribution histogram for Mining availability fraction. 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 mining availability fractions (running_hours / scheduled_hours) are spread across the requested number of bins, including bin ranges and frequencies, computed from the supplied row data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "running_hours",
     "scheduled_hours"
    ],
    "properties": {
     "running_hours": {
      "type": "number",
      "default": 22,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "scheduled_hours": {
      "type": "number",
      "default": 24,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "running_hours": 22,
     "scheduled_hours": 24
    },
    {
     "running_hours": 24.200000000000003,
     "scheduled_hours": 26.400000000000002
    },
    {
     "running_hours": 22,
     "scheduled_hours": 24
    },
    {
     "running_hours": 24.200000000000003,
     "scheduled_hours": 26.400000000000002
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-availability-fraction-distribution-histogram-0b78253c/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)
