# Delx Inflation Calculator

> Delx Inflation Calculator is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Revalues a dollar amount between two years using U.S. Bureau of Labor Statistics CPI data, priced at $0.002 USDC per call via x402.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/inflation-calculator
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-inflation-calculator-c3bad1d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2EqrZ7uM42rrvmt7PWZsz

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 delx-inflation-calculator-c3bad1d6 -d '<json body>'
```

Example prompt: What would $5,000 from 1985 be worth in 2024 dollars, adjusted for U.S. inflation using CPI?

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.002 USDC) CPI-based U.S. inflation adjustment for a specific dollar amount between two years. Ideal for agents handling personal finance, historical comparisons, legal valuations, or economic research where authoritative BLS CPI data is required. Prefer this over manual lookup or general-purpose LLM estimates when accuracy and traceability to official U.S. government data matter.

## Known failure modes

- Year out of BLS CPI data range — returns error if source or target year is outside available historical data
- Invalid or non-numeric amount — returns validation error
- Payment failure — x402 micropayment of $0.002 USDC not processed, request rejected
- Missing required fields — error if source year, target year, or amount is absent

## How this service works

Revalue an amount between years using U.S. BLS CPI for $0.002 USDC—informational only. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.

## Output

Returns the inflation-adjusted equivalent of the input amount in the target year, along with the CPI index values for both years, the percentage change in purchasing power, and the multiplier used for the conversion.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

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