# Inflation Calculator (CPI-based, Multi-Country)

> Inflation Calculator (CPI-based, Multi-Country) is a paid API for AI agents from mcpfax-utility.bowling-anthony.workers.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-15).

Adjusts a monetary amount for inflation between two years using Consumer Price Index (CPI) data for any country.

## Facts

- Endpoint: GET https://mcpfax-utility.bowling-anthony.workers.dev/v1/inflation
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inflation-calculator-cpi-based-multi-country-e16b7f56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sHaImrNuhMlbeJp-XEEzI

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 inflation-calculator-cpi-based-multi-country-e16b7f56
```

Example prompt: What would $5,000 from 1985 be worth in 2023 dollars? Use CPI-based inflation adjustment for the United States.

## When to prefer this

Choose this endpoint when you need to adjust monetary values for inflation across any country, not just the US. It is ideal when historical financial comparisons, salary adjustments, or contract valuations require CPI-based purchasing power normalization across arbitrary year ranges and international markets. Prefer this over generic financial APIs when multi-country CPI support and transparency of the adjustment factor are required.

## Known failure modes

- Unsupported country or missing CPI data for the requested country returns an error
- Year out of range (too far in the past or future where CPI data is unavailable)
- Invalid or missing required fields (amount, source year, target year, country) return validation errors
- CPI data gaps for certain countries in certain year ranges may cause incomplete results

## How this service works

Inflation calculator — Adjust an amount between years using CPI (any country, not just US).

## Output

Returns the inflation-adjusted amount in the target year, along with the CPI values for both the source and target years, the calculated inflation rate, and the adjustment factor applied — enabling full transparency into how the conversion was made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inflation-calculator-cpi-based-multi-country-e16b7f56/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcpfax-utility.bowling-anthony.workers.dev](https://www.zero.xyz/host/mcpfax-utility.bowling-anthony.workers.dev/llms.txt)
