Financial Datasets — Inflation (Historical)
financialdatasets_get_macro_inflationMonthly 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. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | 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. | |
| series | Yes | 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. | |
| end_date | No | The last month to return, inclusive, in YYYY-MM-DD format. Defaults to today. | |
| start_date | No | 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. |