# Mining Availability Fraction — Batch Calculation

> Mining Availability Fraction — Batch 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 mining availability fraction (uptime ratio) for up to 200 equipment records in a single batch, given running hours and scheduled hours per row.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-uptime-batch?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-availability-fraction-batch-calculation-0e29587b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KI8SYYlG-F72kYUZzvtJU

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-batch-calculation-0e29587b -d '<json body>'
```

Example prompt: Can you batch-calculate the mining availability fractions for these records: machine 1 ran 22 hours out of 24 scheduled, machine 2 ran 20 hours out of 26 scheduled, and machine 3 ran 18 hours out of 20 scheduled?

## When to prefer this

Choose this endpoint when you need to compute mining availability fractions for multiple equipment records in a single API call (up to 200 rows), avoiding repeated single-record calls. It is purpose-built for mining uptime calculations using the standard availability formula, and is ideal for batch reporting, fleet audits, or shift comparisons where the inputs are running hours and scheduled hours. If you only need a single calculation, a single-record variant may be more appropriate.

## Known failure modes

- Missing required fields (running_hours or scheduled_hours) returns a validation error
- scheduled_hours of zero is rejected due to exclusiveMinimum constraint
- Array with more than 200 items exceeds maxItems limit and is rejected
- Negative values for running_hours or scheduled_hours may be rejected
- Malformed JSON body returns a parse error
- Payment not included or insufficient USDC triggers a 402 Payment Required response

## How this service works

Mining availability fraction — Batch calculation: Batch calculation 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 batch calculation report.

## Output

Returns a bounded batch calculation report containing the mining availability fraction (running_hours divided by scheduled_hours) for each submitted row, up to 200 rows per request. The report includes computed ratios based solely on the supplied assumptions, with no live pricing or guaranteed return figures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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
    }
   ],
   "maxItems": 200,
   "minItems": 1
  }
 }
}
```

## More

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