Inflation (Historical)
Changed onMonthly US inflation history for one series (consumer price index or PCE price index), newest first, with the month-over-month and year-over-year percent changes. Dates are reference months (first day of the month). Values are index levels (1982-84 = 100 for CPI, 2017 = 100 for PCE), sourced from authoritative government sources. A change is null when the comparison month was not published.
Request
- Base URLhttps://api.financialdatasets.ai
- AuthAPI key in header X-API-KEY
Query parameters
The series id, e.g. cpi_all_sa or pce_core_sa. CPI: six concepts (all items, core, food, energy, shelter, services less energy), each seasonally adjusted (_sa) and not (_nsa). PCE: pce_all_sa and pce_core_sa. Use the /macro/inflation/series endpoint to get the list.
The first month to return, inclusive, in YYYY-MM-DD format; any day inside a month selects that month. Defaults to five years before end_date when both dates are omitted; omit it with an end_date to get all available history through that month.
The last month to return, inclusive, in YYYY-MM-DD format. Defaults to today.
Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.
Response
Inflation response
Changes
- info
endpoint added
- info