Inflation purchasing power

What an amount in today's dollars will buy after a number of years at a given annual inflation rate, what today's basket will cost then, the cumulative price increase percent, and the purchasing power lost. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.

get/api/v1/calculate/inflation

Request

  • Base URL: https://everycalc.xyz
  • URL: https://everycalc.xyz/api/v1/calculate/inflation
  • Auth: none declared

Query parameters

amountnumber required

Amount in today's dollars.

yearsnumber

Years into the future.

annual_rate_pctnumber required

Annual inflation rate percent, e.g. 3.

include_scheduleboolean

Set to true to include the purchasing power schedule in 5 year steps (or about 6 steps for longer horizons), matching the page table.

Response

Calculation result.

Changes

No recorded changes to this operation across all 1 revision of this API.