# Mining Operating Cash Contribution — Distribution Histogram

> Mining Operating Cash Contribution — 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 binned distribution histogram of mining operating cash contribution (revenue minus electricity, maintenance, and other costs) across up to 200 supplied data rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-cash-margin-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-operating-cash-contribution-distribution-histogram-64905dab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MHnPKpp7qpEdpx2a4iDIl

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-operating-cash-contribution-distribution-histogram-64905dab -d '<json body>'
```

Example prompt: Generate a distribution histogram for my mining operations using 10 bins — here are 4 data points: operation 1 has revenue $100, electricity $60, maintenance $10, other $5; operation 2 has revenue $110, electricity $66, maintenance $11, other $5.50; operation 3 has revenue $95, electricity $58, maintenance $9, other $4; operation 4 has revenue $120, electricity $70, maintenance $12, other $6.

## When to prefer this

Choose this endpoint when you need a statistical frequency distribution of mining operating cash margins across multiple operations or time periods, using user-supplied cost and revenue data. It is purpose-built for mining financial analytics, making it more suitable than generic histogram or statistics APIs when the input schema maps directly to mining cost components.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- More than 200 rows supplied — exceeds maximum row count
- Revenue value of 0 or below — exclusiveMinimum violation
- Bins count outside 1–30 range — parameter out of bounds
- Missing required cost fields (revenue_usd, electricity_usd, maintenance_usd, other_usd) — validation error
- Payment of 0.01 USDC not settled — x402 payment required

## How this service works

Mining operating cash contribution — Distribution histogram: Distribution histogram for Mining operating cash contribution. 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

Returns a bounded distribution histogram report showing the frequency of mining operating cash contribution values (revenue minus electricity, maintenance, and other costs) across the specified number of bins, based on the supplied rows of mining operation 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": [
     "revenue_usd",
     "electricity_usd",
     "maintenance_usd",
     "other_usd"
    ],
    "properties": {
     "other_usd": {
      "type": "number",
      "default": 5,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "revenue_usd": {
      "type": "number",
      "default": 100,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "electricity_usd": {
      "type": "number",
      "default": 60,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "maintenance_usd": {
      "type": "number",
      "default": 10,
      "maximum": 10000000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "other_usd": 5,
     "revenue_usd": 100,
     "electricity_usd": 60,
     "maintenance_usd": 10
    },
    {
     "other_usd": 5.5,
     "revenue_usd": 110.00000000000001,
     "electricity_usd": 66,
     "maintenance_usd": 11
    },
    {
     "other_usd": 5,
     "revenue_usd": 100,
     "electricity_usd": 60,
     "maintenance_usd": 10
    },
    {
     "other_usd": 5.5,
     "revenue_usd": 110.00000000000001,
     "electricity_usd": 66,
     "maintenance_usd": 11
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-operating-cash-contribution-distribution-histogram-64905dab/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)
