← UK Office for National Statistics (website timeseries API)
Coverage 1989-01-01 to 2026-06-01 · series id ons-api/D7G7
Recent values
| Period | Value | Revision |
|---|---|---|
| 2026-06-01 | 2.6 | 1 |
| 2026-05-01 | 2.8 | 1 |
| 2026-04-01 | 2.8 | 1 |
| 2026-03-01 | 3.3 | 1 |
| 2026-02-01 | 3 | 1 |
| 2026-01-01 | 3 | 1 |
| 2025-12-01 | 3.4 | 1 |
| 2025-11-01 | 3.2 | 1 |
| 2025-10-01 | 3.6 | 1 |
| 2025-09-01 | 3.8 | 1 |
| 2025-08-01 | 3.8 | 1 |
| 2025-07-01 | 3.8 | 1 |
Verification history
| Check | Result | Expected | Actual | When |
|---|---|---|---|---|
| freshness | pass | 2h ago |
License and citation
License open-government (terms). Contains public sector information licensed under the Open Government Licence v3.0. Source: Office for National Statistics.
Official table: Consumer price inflation time series · Office for National Statistics (UK)
Use it
curl "https://starwell.dev/api/starwell/v1/sources/ons-api/series/D7G7/observations?latest=12"
Download CSV — full history with attribution, spreadsheet-ready.
Embed the chart
A live SVG of this series, attribution included, refreshed hourly:
<img src="https://starwell.dev/sources/ons-api/D7G7/chart.svg"
alt="CPI ANNUAL RATE 00: ALL ITEMS 2015=100" width="720" />
curl -X POST "https://starwell.dev/api/starwell/v1/answer" \
-H "Content-Type: application/json" \
-d '{"question": "What is the latest value?", "series": [{"source": "ons-api", "seriesId": "D7G7"}]}'