# Mining Operating Contribution Margin — Distribution Histogram

> Mining Operating Contribution Margin — 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-14).

Generates a bounded distribution histogram of mining operating contribution margin rates from supplied revenue and contribution data rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-cash-margin-rate-histogram?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mining-operating-contribution-margin-distribution-histogram-90678004
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uofDTw8EFyv5_GGLPfhkA

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-contribution-margin-distribution-histogram-90678004 -d '<json body>'
```

Example prompt: Can you generate a 10-bin distribution histogram of our mining operating contribution margins? Here are 5 operations: operation 1 had revenue $500,000 and contribution $120,000; operation 2 had revenue $300,000 and contribution $45,000; operation 3 had revenue $800,000 and contribution $250,000; operation 4 had revenue $200,000 and contribution $-10,000; operation 5 had revenue $1,000,000 and contribution $400,000.

## When to prefer this

Choose this endpoint when you need a statistical frequency distribution of mining-specific operating contribution margin rates across multiple operations or time periods. It is purpose-built for mining financials with pre-configured assumptions for the mining domain, making it more appropriate than a generic histogram tool when the context is mining profitability analysis. Best suited for batch analysis of 2–200 mining operation records at low cost ($0.01 USDC per call).

## Known failure modes

- Fewer than 2 rows provided — minimum 2 rows required
- More than 200 rows submitted — exceeds maxItems limit
- revenue_usd is zero or negative — exclusiveMinimum constraint violated
- bins value exceeds 30 or is less than 1 — out of allowed range
- Missing required fields contribution_usd or revenue_usd in any row
- Malformed JSON payload — request rejected

## How this service works

Mining operating contribution margin — Distribution histogram: Distribution histogram for Mining operating contribution margin. 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 operating contribution margin rates (contribution_usd / revenue_usd) are distributed across the requested number of bins, including bin boundaries and frequency counts for each bin.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "contribution_usd",
     "revenue_usd"
    ],
    "properties": {
     "revenue_usd": {
      "type": "number",
      "default": 100,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "contribution_usd": {
      "type": "number",
      "default": 25,
      "maximum": 10000000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "revenue_usd": 100,
     "contribution_usd": 25
    },
    {
     "revenue_usd": 110.00000000000001,
     "contribution_usd": 27.500000000000004
    },
    {
     "revenue_usd": 100,
     "contribution_usd": 25
    },
    {
     "revenue_usd": 110.00000000000001,
     "contribution_usd": 27.500000000000004
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

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