Financial Datasets
Monthly US Consumer Price Index history for one series, newest first, with month-over-month and year-over-year percent changes. Covers headline and core CPI plus food, energy, shelter, and services since 1947.
Changed onget/financial-datasets/macro/inflation
Request
- Base URLhttps://api.orthogonal.com/mpp
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
seriesstring required
The series id, e.g. cpi_all_sa. Six concepts (all items, core, food, energy, shelter, services less energy), each seasonally adjusted (_sa) and not (_nsa), for 12 ids total.
start_datestring
The first month to return, inclusive, in YYYY-MM-DD format. Defaults to five years before end_date.
end_datestring
The last month to return, inclusive, in YYYY-MM-DD format. Defaults to today.
cursorstring
Opaque pagination cursor from a previous response next_page_url.
Response
Successful response
Changes
- breaking
added the new required
queryrequest parameterseries - info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parameterend_date - info
added the new optional
queryrequest parameterstart_date
- breaking
- info
endpoint added
- info