Open data API
Every figure on the register, free to use, no key needed. Each record carries its official source, link, reference period, publication date and next scheduled release. Values are exactly as published — nothing is estimated.
Endpoints
- Every figure (JSON)GET https://ukstats.co.uk/api/public/v1/metrics
- Every figure (CSV)GET https://ukstats.co.uk/api/public/v1/metrics?format=csv
- One categoryGET https://ukstats.co.uk/api/public/v1/metrics?category=Finance
- One figureGET https://ukstats.co.uk/api/public/v1/metrics?id=uk-cpi
Fields
id, category, subcategory, title, value, sub, period, asOf, nextDue, cadence, status, source, sourceUrl, derivedFrom, note
status is ok, unavailable (source temporarily unreachable) or no-feed (publisher offers no machine-readable data). Responses are cached for five minutes and open to any website (CORS).
Attribution
Please credit the original publisher named in source, and “via UKStats (ukstats.co.uk)”.