Office for National Statistics (UK) · CPI/CPIH/RPI (MM23) monthly, ~mid-month (next 22 July 2026 at build time); quarterly national accounts (QNA) quarterly (released 30 June 2026, next 13 August 2026); GDP second quarterly estimate (PN2) quarterly; labour market (LMS) monthly (released 20 July 2026, next 18 August 2026); population estimates (pop) annual. ONS revises history routinely: the autumn Blue Book rewrites GDP levels and LFS reweighting rewrites labour-market history.
License: open-government · official terms. Attribution text and per-series license flags ride in every API envelope.
Quickstart
Latest observations, with provenance and citation on every value:
curl "https://starwell.dev/api/starwell/v1/sources/ons-api/series/D7G7/observations?latest=12"
A computed, cited answer from this source:
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 CPI ANNUAL RATE 00: ALL ITEMS 2015=100?", "source": "ons-api"}'
Data reads need no key; answers do. Keys are free at /account; a keyless sample lives at GET /api/starwell/v1/answer/demo.
As MCP tools in Claude, Cursor, or any agent framework:
claude mcp add --transport http starwell https://starwell.dev/api/starwell/mcp
Data series