# Mining Revenue from Hashprice — Target Gap Calculation

> Mining Revenue from Hashprice — Target Gap 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 gap between a mining revenue target and the projected revenue derived from supplied hashrate and hashprice assumptions.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-hashprice-revenue-target-gap?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-revenue-from-hashprice-target-gap-calculation-4dece143
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ok8zf1IJQNcHWxaMDPEp5

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-revenue-from-hashprice-target-gap-calculation-4dece143 -d '<json body>'
```

Example prompt: What's the gap between my $500 revenue target and what I'd actually earn mining with 200 TH/s at a hashprice of $40 per PH/day?

## When to prefer this

Choose this endpoint when you need a quick, formula-based computation of the gap between a mining revenue target and projected earnings from known hashrate and hashprice inputs, without requiring live market data feeds. Best suited for scenario planning, sensitivity analysis, or validating whether a given mining setup can meet a revenue goal. Prefer alternatives if you need real-time hashprice data or full P&L modeling.

## Known failure modes

- Missing or zero hashrate value (ths must be > 0)
- Missing or zero hashprice value (usd_per_ph_day must be > 0)
- Target value out of supported numeric range
- Invalid input types causing schema validation failure
- Payment failure via x402 protocol resulting in no report returned

## How this service works

Mining revenue from supplied hashprice — Target gap calculation: Target gap calculation for Mining revenue from supplied hashprice. 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 target gap calculation report.

## Output

A bounded target gap calculation report showing the difference between the user-supplied revenue target and the projected mining revenue computed from the provided hashrate (TH/s) and hashprice (USD per PH/day). The report discloses the formula and units used. No live prices or guaranteed returns are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "type": "object",
   "default": {
    "ths": 200,
    "usd_per_ph_day": 40
   },
   "required": [
    "ths",
    "usd_per_ph_day"
   ],
   "properties": {
    "ths": {
     "type": "number",
     "default": 200,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    },
    "usd_per_ph_day": {
     "type": "number",
     "default": 40,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-revenue-from-hashprice-target-gap-calculation-4dece143/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)
