OECD Consumer Price Index (CPI)
oecd.economy.inflationGet consumer price index (CPI) data and year-on-year inflation rates for any OECD country. Returns all-items CPI growth rate (annual % change) based on the COICOP 1999 classification. Covers all 38 OECD members plus selected non-members at monthly frequency with typical lags of 2–4 weeks. Includes national CPI and Eurostat HICP (for EU members), broken down by expenditure category (food, energy, services, housing, transport, etc.). Essential for inflation monitoring, monetary policy analysis, and cost-of-living comparisons. Source: OECD SDMX API, CC BY 4.0, no auth required, unlimited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ISO 3-letter OECD country code (e.g. USA, GBR, DEU, FRA, JPN, CAN, AUS, KOR, ITA, ESP). See OECD reference area codes for the full list of 38 member countries. | |
| end_period | No | End month for CPI data in YYYY-MM format (e.g. "2024-06"). Defaults to latest available. | |
| max_series | No | Maximum number of time series to return (1–100, default 20). Each series is a unique combination of dimensions such as sector, measure, or adjustment type. | |
| start_period | No | Start month for CPI data in YYYY-MM format (e.g. "2023-01"). Defaults to 12 months ago. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |