# Mining Difficulty Relative Change — Adjacent Period Changes

> Mining Difficulty Relative Change — Adjacent Period Changes 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 the relative percentage change in mining difficulty between adjacent periods for a sequence of difficulty values

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-difficulty-change-period-changes?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-difficulty-relative-change-adjacent-period-changes-5a06c5a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZaHRlwsEbev6_Hi_polMj

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-difficulty-relative-change-adjacent-period-changes-5a06c5a5 -d '<json body>'
```

Example prompt: Can you calculate the adjacent period relative changes in mining difficulty for these pairs: old difficulty 100 to new 110, then old 110 to new 121?

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01 USDC) computation of period-over-period relative difficulty changes across multiple mining epochs in a single call, without needing live price feeds or return-rate projections. It is purpose-built for the adjacent-period comparison pattern on up to 200 row pairs.

## Known failure modes

- Input array has fewer than 2 rows — minimum 2 row pairs required
- Either new_difficulty or old_difficulty is zero or negative — exclusiveMinimum constraint violated
- Array exceeds 200 items — maxItems limit exceeded
- old_difficulty value would cause division by zero in relative change formula
- Malformed JSON body or missing required fields returns validation error
- Payment of 0.01 USDC not included or rejected by x402 protocol

## How this service works

Mining difficulty relative change — Adjacent period changes: Adjacent period changes for Mining difficulty relative change. 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 adjacent period changes report.

## Output

A bounded report containing the relative (percentage) change in mining difficulty for each adjacent pair of periods in the input array, derived purely from the supplied new_difficulty and old_difficulty values. No live prices or guaranteed return figures are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "new_difficulty",
     "old_difficulty"
    ],
    "properties": {
     "new_difficulty": {
      "type": "number",
      "default": 110,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "old_difficulty": {
      "type": "number",
      "default": 100,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "new_difficulty": 110,
     "old_difficulty": 100
    },
    {
     "new_difficulty": 121.00000000000001,
     "old_difficulty": 110.00000000000001
    },
    {
     "new_difficulty": 110,
     "old_difficulty": 100
    },
    {
     "new_difficulty": 121.00000000000001,
     "old_difficulty": 110.00000000000001
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-difficulty-relative-change-adjacent-period-changes-5a06c5a5/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)
