# Price Index Inflation Rate – Target Gap Calculator

> Price Index Inflation Rate – Target Gap Calculator 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-18).

Calculates the inflation rate from two price index values and measures the gap between that calculated rate and a user-supplied numeric target.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-inflation-change-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/price-index-inflation-rate-target-gap-calculator-fb287d53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4cbaTAbyWerYye1bO64e3

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 price-index-inflation-rate-target-gap-calculator-fb287d53 -d '<json body>'
```

Example prompt: Calculate the inflation rate using a previous price index of 100 and a current price index of 115, then tell me how far that result is from my target of 3.

## When to prefer this

Use this endpoint when you have two explicit price index readings and a numeric benchmark, and need to know both the implied inflation rate and how far that rate deviates from the target — without requiring live data feeds, forecasts, or financial advice. Prefer it over general-purpose calculators when you need a structured JSON response including formula and limitations for audit or reporting purposes.

## Known failure modes

- Missing or zero previous_index value (schema requires exclusiveMinimum: 0)
- current_index or previous_index outside allowed range (0 to 1,000,000,000,000)
- target value outside allowed range (-1e18 to 1e18)
- Malformed JSON body returns validation error
- Payment failure or insufficient USDC balance prevents execution

## How this service works

Price index inflation rate - Target gap calculation: Measure one calculated value against a supplied numeric target; no recommendation or target setting. Metric: Price index inflation rate. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded target gap calculation report.

## Output

A JSON response containing the calculated inflation rate (derived from current and previous index values), the numeric gap between that rate and the supplied target, the formula used, the units, and stated limitations of the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "type": "object",
   "default": {
    "current_index": 110,
    "previous_index": 100
   },
   "required": [
    "current_index",
    "previous_index"
   ],
   "properties": {
    "current_index": {
     "type": "number",
     "default": 110,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period",
     "exclusiveMinimum": 0
    },
    "previous_index": {
     "type": "number",
     "default": 100,
     "maximum": 1000000000000,
     "minimum": 0,
     "description": "Amount in a consistent supplied currency and reporting period",
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/price-index-inflation-rate-target-gap-calculator-fb287d53/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)
