Finance & Conversion

Inflation Calculator API

See what a dollar amount from any year since 1913 is worth in another year, using official US CPI data.

Request Headers

Name Required Description
X-RapidAPI-Key required Your RapidAPI key. Get one free.
X-RapidAPI-Host required inflation.p.rapidapi.com

Endpoints

GET /v1/finance/inflation

Adjust a US dollar amount for inflation between two years using CPI-U

Parameters

NameTypeRequiredDefaultConstraints
amountnumberoptional—<= 1000000000000
fromintegeroptional——
tointegeroptional——

Code Examples

curl --request GET \
  --url 'https://inflation.p.rapidapi.com/v1/finance/inflation?amount=0&from=0' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: inflation.p.rapidapi.com'

Interactive Example

inflation
$ GET /v1/finance/inflation?amount=100&from=1990&to=2024
{"amount":100.0,"from":1990,"to":2024,"country":"US","adjusted_amount":240.01,"cumulative_inflation_percent":140.01,"avg_annual_inflation_percent":2.61}

Subscribe & License

Access this API with commercial-ready tiers on RapidAPI. Flexible plans designed for side-projects, startups, and high-volume production architectures.

View Pricing & Subscribe

Developer Support

Need help integrating or have a custom endpoint request? Our engineering team is here to assist with authentication, payload schemas, and high-frequency rate limit increases.

Contact API Engineering

System Performance

Monitored 24/7 with a 99.9% uptime SLA. Built atop cloud-native microservices with globally distributed edge caching to ensure ultra-low latency response times.

All Systems Operational