# TickersFeed US Inflation Calculator (CPI)

> TickersFeed US Inflation Calculator (CPI) is a paid API for AI agents from api.tickersfeed.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Calculates cumulative CPI inflation between any two years and returns the inflation-adjusted value of a given dollar amount, sourced from FRED official data.

## Facts

- Endpoint: GET https://api.tickersfeed.net/econ/inflation
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tickersfeed-us-inflation-calculator-cpi-a873138f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__-CVBtA5kdO7cnRpxswuQ

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 tickersfeed-us-inflation-calculator-cpi-a873138f
```

Example prompt: What is $100 from 1990 worth in 2026 dollars? Use the CPI inflation calculator and give me both the cumulative inflation percentage and the adjusted amount.

## When to prefer this

Choose this endpoint when you need a quick, authoritative, FRED-sourced CPI inflation calculation between any two US calendar years with a specific dollar amount. It is ideal for purchasing power comparisons, historical price adjustments, real vs nominal value analysis, and cost-of-living benchmarking — especially when you need a pay-per-call solution without subscription overhead. Prefer it over generic financial APIs that don't expose direct CPI-adjusted value computation.

## Known failure modes

- Year out of valid CPI data range (pre-1913 or future years beyond available data) returns an error
- Invalid or non-numeric 'amount' parameter may return a validation error
- Missing 'from' year with no default may return incomplete or error response
- Network or FRED upstream data unavailability may cause timeout or 5xx error
- Non-integer or malformed year strings may be rejected

## How this service works

US inflation calculator — cumulative CPI inflation between any two years, e.g. what $100 in 1990 is worth today (?from=1990&to=2026&amount=100). Returns cumulative inflation % and the inflation-adjusted value as JSON, from official CPI data via FRED (Federal Reserve). Use for: purchasing power comparison, real vs nominal value, historical price adjustment, cost-of-living calculation. $0.003 USDC per call.

## Output

A JSON object containing the cumulative inflation percentage between the two specified years and the inflation-adjusted dollar value of the input amount, based on official US Bureau of Labor Statistics CPI data sourced via FRED.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "description": "End year (default latest)"
      },
      "from": {
       "type": "string",
       "description": "Start year, e.g. 2010"
      },
      "amount": {
       "type": "number",
       "description": "Dollar amount to adjust (default 100)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tickersfeed-us-inflation-calculator-cpi-a873138f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tickersfeed.net](https://www.zero.xyz/host/api.tickersfeed.net/llms.txt)
