get_eu_inflation
Retrieve EU HICP annual inflation rates from Eurostat for any EU country or aggregate. Use for cross-country inflation comparison and ECB policy analysis. Outputs country, period, and annual percentage change.
Instructions
Fetches HICP (Harmonised Index of Consumer Prices) annual inflation rates for EU countries from Eurostat (dataset: prc_hicp_manr). Returns a JSON object with: data (array of objects containing country as full name, period in YYYY-MM format, and rate as a numeric annual percentage change), unit ("Annual rate of change (%)"), source, and retrieved_at as ISO 8601. Defaults to the latest single month for all 29 EU members and aggregates. Data is cached 24 hours. USAGE: HICP is the EU-harmonised inflation standard used by the ECB for monetary policy — use it (not national CPI) for cross-country comparisons. Use country code EA for the Eurozone aggregate or EU27_2020 for the full EU-27 aggregate. Typical data lag is 30-45 days after the reference month. Set periods=12 to retrieve a 12-month trend. Pair with get_ecb_rates to contextualize how the ECB policy rate relates to current inflation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| countries | No | List of EU country codes (e.g. ["DE", "FR", "ES"]) or "EA" for Eurozone / "EU27_2020" for EU-27. Omit for all EU countries. | |
| periods | No | Number of recent months to return per country (1-24). Default: 1 (latest only). |