# Mining Hardware Purchase Budget — Distribution Histogram

> Mining Hardware Purchase Budget — 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).

Generates a distribution histogram of total mining hardware purchase budget across a set of line-item rows (units × unit price + shipping), binned into a configurable number of buckets.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-fleet-purchase-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-hardware-purchase-budget-distribution-histogram-188e180b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cPfWlTLjO5UpvYxilA3ln

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

Example prompt: Can you generate a distribution histogram with 8 bins for my mining hardware order — I have 10 units at $3,000 each with $1,000 shipping, and another 15 units at $4,500 each with $1,200 shipping?

## When to prefer this

Choose this endpoint when you need a statistical distribution view of mining hardware purchase budgets across multiple line items rather than a single total or average. It is ideal for procurement planning, identifying cost concentration, and understanding spend spread before committing to a fleet purchase. Prefer this over single-calculation endpoints when you have 2–200 heterogeneous hardware lots and want bucketed frequency analysis rather than a scalar result.

## Known failure modes

- Fewer than 2 rows provided — minimum 2 rows required
- More than 200 rows submitted — exceeds maxItems limit
- bins set to 0 or above 30 — outside allowed range
- units, unit_usd, or shipping_usd set to 0 or negative — exclusiveMinimum violations
- Missing required fields (units, unit_usd, shipping_usd) in any row — validation error
- Payment not processed — 402 payment required response
- Malformed JSON body — request parsing failure

## How this service works

Mining hardware purchase budget — Distribution histogram: Distribution histogram 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 distribution histogram report.

## Output

A bounded distribution histogram report showing how the total purchase budget (units × unit price + shipping) across all input rows is distributed across the specified number of bins. Each bin covers a budget range and includes a frequency or weight count indicating how many rows or what proportion of spend falls within that range. No live prices, mining profitability estimates, or return guarantees are included.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-hardware-purchase-budget-distribution-histogram-188e180b/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)
