# Mining Hardware Purchase Budget — Weighted Result Mean

> Mining Hardware Purchase Budget — Weighted Result Mean 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 a weighted mean of total mining hardware purchase costs (unit price + shipping) across multiple purchase rows using user-supplied weights.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-fleet-purchase-weighted-mean?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-hardware-purchase-budget-weighted-result-mean-d9c740a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p2_rlf_xyvyYRxd_0795D

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-hardware-purchase-budget-weighted-result-mean-d9c740a0 -d '<json body>'
```

Example prompt: I have four batches of mining rigs to buy: 10 units at $3,000 each with $1,000 shipping, 11 units at $3,300 each with $1,100 shipping, 10 units at $3,000 each with $1,000 shipping, and 11 units at $3,300 each with $1,100 shipping — weight the first and third batches at 1 and the second and fourth at 2, then give me the weighted mean purchase cost.

## When to prefer this

Choose this endpoint when you need a statistically weighted average of mining hardware purchase costs across multiple batches or supplier quotes, with user-controlled weighting to reflect priority, reliability, or strategic importance. Prefer this over a simple average when different purchase lots should contribute unequally to the summary figure. Not suitable for live price lookups, profitability projections, or ROI calculations.

## Known failure modes

- Fewer than 2 rows or weights provided — minimum 2 items required
- Rows and weights arrays have mismatched lengths — must be equal length
- Zero or negative unit prices or unit counts rejected — exclusiveMinimum enforced
- More than 200 rows supplied — maxItems limit exceeded
- All weights are zero — weighted mean is undefined
- Missing required fields (units, unit_usd, shipping_usd) on any row

## How this service works

Mining hardware purchase budget — Weighted result mean: Weighted result mean for Mining hardware purchase budget. 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 weighted result mean report.

## Output

A bounded weighted result mean report containing the weighted average of the total purchase costs (unit price times quantity plus shipping) across all supplied rows, computed using the provided weights array. No live pricing, mining yield, or return projections are included — the result reflects only the supplied cost assumptions and formula.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "units",
     "unit_usd",
     "shipping_usd"
    ],
    "properties": {
     "units": {
      "type": "number",
      "default": 10,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "unit_usd": {
      "type": "number",
      "default": 3000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "shipping_usd": {
      "type": "number",
      "default": 1000,
      "maximum": 10000000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "units": 10,
     "unit_usd": 3000,
     "shipping_usd": 1000
    },
    {
     "units": 11,
     "unit_usd": 3300.0000000000005,
     "shipping_usd": 1100
    },
    {
     "units": 10,
     "unit_usd": 3000,
     "shipping_usd": 1000
    },
    {
     "units": 11,
     "unit_usd": 3300.0000000000005,
     "shipping_usd": 1100
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-hardware-purchase-budget-weighted-result-mean-d9c740a0/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)
