← UK Office for National Statistics (website timeseries API)
Coverage 1989-01-01 to 2026-07-01 · series id ons-api/D7G7
Recent values
| Period | Value | Revision |
|---|---|---|
| 2026-07-01 | 2.9 | 1 |
| 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 |
Verification history
| Check | Result | Expected | Actual | When |
|---|---|---|---|---|
| golden | pass | 2.4 | 2.4 | 17h ago |
| golden_live | pass | 2.4 | 2.4 | 17h ago |
| freshness | pass | 17h ago | ||
| golden | pass | 2.4 | 2.4 | 41h ago |
| golden_live | pass | 2.4 | 2.4 | 41h ago |
| freshness | pass | 41h 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.
Embed the chart
An SVG of this series, attribution included:
<img src="https://starwell.dev/sources/ons-api/D7G7/chart.svg"
alt="CPI ANNUAL RATE 00: ALL ITEMS 2015=100" width="720" />
Embed the status badge
[](https://starwell.dev/sources/ons-api/D7G7)
curl -X POST "https://starwell.dev/api/starwell/v1/answer" \
-H "Authorization: Bearer dlk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"question": "What is the latest value?", "series": [{"source": "ons-api", "seriesId": "D7G7"}]}'
Data reads need no key; answers do. Keys are free at /account; a keyless sample lives at GET /api/starwell/v1/answer/demo.