Inflation API logo

Inflation API

|
Finance
|
1 tokens / llamada

US inflation, answered the way people actually ask: what is $100 from 1990 worth today? ($246.32.) Built on the official BLS Consumer Price Index — 405,747 monthly and annual values across 726 US-average series, the all-items index back to 1913 and granular categories from eggs to gasoline to rent — refreshed daily so each mid-month CPI release lands automatically. The calculator endpoint converts any amount between any two years or months since 1913; the rate endpoint returns year-over-year inflation for any period (2022: 8.0%, June 2022: 9.1% — matching BLS published figures exactly) for the headline index or any category; the history endpoint returns a century of annual inflation rates in one call; and raw CPI series are queryable for charting. A dollar from 1913 resolves to $32.52. Built for fintech and payroll products, pricing and contract-escalation tools, real-estate and salary calculators, journalism and education. Public-domain BLS data, self-hosted — no third-party calls at request time.

Inicio Rápido

Suscríbete para obtener acceso instantáneo a la API con tu clave única.

Ver Planes de Precios

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Query Parameters

from(Optional)
to(Optional)

Please subscribe to see the actual API URL

import axios from 'axios';

const url = '{API_URL}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});