Catalog/pf-inflation-impact

Calculators

Inflation purchasing-power impact API

Compute how inflation erodes purchasing power using realValue = nominal/(1+i)^t and the future cost nominal·(1+i)^t, returning today's real value, the future amount needed to match, and the percent of purchasing power lost. Answers 'what will 50k be worth in 20 years at 3% inflation','how much will this cost in the future','purchasing power lost to inflation'.

Price$0.01per request
MethodPOST
Route/v1/calc/pf-inflation-impact
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcinflationpurchasing-powerreal-valuecost-of-livingpersonal-financecpierosion
API URLhttps://x402.hexl.dev/v1/calc/pf-inflation-impact
Integration docs
Example request
{
  "amount": 50000,
  "annualInflationPercent": 3,
  "years": 20
}
Example response
{
  "formula": "realValue = nominal / (1+i)^t ;  futureCost = nominal·(1+i)^t",
  "realValue": 27683.79,
  "futureValueNeeded": 90305.56,
  "purchasingPowerLost": 22316.21,
  "purchasingPowerLostPercent": 44.63,
  "breakdown": {
    "amount": 50000,
    "annualInflationPercent": 3,
    "years": 20
  }
}
Input schema
{
  "type": "object",
  "required": [
    "amount",
    "annualInflationPercent",
    "years"
  ],
  "properties": {
    "amount": {
      "type": "number",
      "description": "today's nominal amount",
      "examples": [
        50000
      ]
    },
    "annualInflationPercent": {
      "type": "number",
      "examples": [
        3
      ]
    },
    "years": {
      "type": "number",
      "examples": [
        20
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}