GET /api/macro/inflation/history
Monthly CPI inflation history (year-on-year % change) for ONE country (free tier — counts against the normal daily request quota). Many series go back to the 1950s or earlier (US from 1914). country accepts an ISO country code or a currency code. Dates accept YYYY-MM or YYYY-MM-DD (the month is used). Source: Bank for International Settlements (BIS), https://data.bis.org — UniRate is not affiliated with or endorsed by the BIS. Provided for information only; not investment advice.
Request
- Base URLhttps://api.unirateapi.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
API key for authentication (Pro tier required)
One ISO country code (JP) or currency code (JPY, EUR)
YYYY-MM or YYYY-MM-DD (default: start of the series)
YYYY-MM or YYYY-MM-DD (default: current month)
The format of the response (optional).
The name of the JSONP callback function (optional). Only used when format is 'json'. Must be alphanumeric with underscores.
Response
Monthly inflation in the requested window.
Changes
No recorded changes to this operation across all 1 revision of this API.