{"api":{"id":"api_b6f1323e63dfd88e4fb53a48","slug":"uk-ons-economic-series","name":"UK ONS Economic Time Series API","description":"UK Office for National Statistics time series by their series id (CDID), such as CPI and RPI inflation, GDP, unemployment and average earnings: one record per period with the value, unit, period label and start date, when ONS last updated it and the series' next release date.","kind":"ready_made","visibility":"public","domain":"ons.gov.uk","source_url":"https://www.ons.gov.uk/economy/inflationandpriceindices/timeseries/d7g7/mm23","category":"finance","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":13,"created_at":"2026-12-06T03:33:09.261Z","updated_at":"2026-12-06T03:33:09.261Z","runnable":true},"version":"1.0","contract_hash":"565376fbb1fc6e70bdc85283157331eac1cb70f3b63686eda39ddf94196bd4e1","fields":[{"name":"cdid","type":"string","description":"ONS series id, such as D7G7.","required":true,"coverage":1,"example":"D7G7"},{"name":"dataset","type":"string","description":"ONS dataset id the series comes from, such as MM23.","required":false,"coverage":1,"example":"MM23"},{"name":"title","type":"string","description":"The series title, such as CPI ANNUAL RATE 00: ALL ITEMS 2015=100.","required":false,"coverage":1,"example":"CPI ANNUAL RATE 00: ALL ITEMS 2015=100"},{"name":"period","type":"string","description":"The period as ONS labels it: 2026 OCT, 2026 Q3 or 2025.","required":false,"coverage":1,"example":"2026 OCT"},{"name":"date","type":"date","description":"First day of the period (the middle month for three-month averages).","required":false,"coverage":1,"example":"2026-10-01"},{"name":"value","type":"number","description":"The value for the period, in unit.","required":false,"coverage":1,"example":3.6},{"name":"frequency","type":"string","description":"months, quarters or years.","required":false,"coverage":1,"example":"months"},{"name":"unit","type":"string","description":"Unit of the value, such as %, £m or Index, base year = 100.","required":false,"coverage":1,"example":"%"},{"name":"update_date","type":"date","description":"The day ONS last updated this value (UK date).","required":false,"coverage":1,"example":"2026-11-18"},{"name":"release_date","type":"date","description":"The day of the series' latest release (UK date).","required":false,"coverage":1,"example":"2026-11-18"},{"name":"next_release_date","type":"date","description":"The day ONS plans to release the series next, when announced.","required":false,"coverage":1,"example":"2026-12-16"},{"name":"url","type":"url","description":"The series page on ons.gov.uk.","required":false,"coverage":1,"example":"https://www.ons.gov.uk/economy/inflationandpriceindices/timeseries/d7g7/mm23"},{"name":"dataset_url","type":"url","description":"The ONS dataset page the series belongs to.","required":false,"coverage":1,"example":"https://www.ons.gov.uk/economy/inflationandpriceindices/datasets/consumerpriceindices"}],"inputs":[{"name":"series","type":"array","description":"Series as CDID/dataset, such as d7g7/mm23 (CPI annual rate), chaw/mm23 (RPI index), abmi/pn2 (GDP) or mgsx/lms (unemployment rate); a CDID alone, or a series link from ons.gov.uk, also works.","example":["d7g7/mm23","chaw/mm23"],"required":true},{"name":"frequency","type":"string","description":"months, quarters or years. Leave empty for the most frequent the series has.","example":"months","enum":["months","quarters","years"]},{"name":"since","type":"string","description":"Only periods starting on or after this date, as YYYY-MM (or YYYY, or YYYY-MM-DD), such as 2025-01.","example":"2025-01"},{"name":"until","type":"string","description":"Only periods starting on or before this date, as YYYY-MM (or YYYY, or YYYY-MM-DD)."},{"name":"last","type":"integer","description":"Only the newest this many periods of each series, such as 1 for the latest value.","example":3},{"name":"order","type":"string","description":"Newest period first (the default) or oldest first, within each series.","default":"newest","enum":["newest","oldest"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"cdid":{"description":"ONS series id, such as D7G7.","type":"string"},"dataset":{"description":"ONS dataset id the series comes from, such as MM23.","type":"string"},"dataset_url":{"description":"The ONS dataset page the series belongs to.","format":"uri","type":"string"},"date":{"description":"First day of the period (the middle month for three-month averages).","format":"date","type":"string"},"frequency":{"description":"months, quarters or years.","type":"string"},"next_release_date":{"description":"The day ONS plans to release the series next, when announced.","format":"date","type":"string"},"period":{"description":"The period as ONS labels it: 2026 OCT, 2026 Q3 or 2025.","type":"string"},"release_date":{"description":"The day of the series' latest release (UK date).","format":"date","type":"string"},"title":{"description":"The series title, such as CPI ANNUAL RATE 00: ALL ITEMS 2015=100.","type":"string"},"unit":{"description":"Unit of the value, such as %, £m or Index, base year = 100.","type":"string"},"update_date":{"description":"The day ONS last updated this value (UK date).","format":"date","type":"string"},"url":{"description":"The series page on ons.gov.uk.","format":"uri","type":"string"},"value":{"description":"The value for the period, in unit.","type":"number"}},"required":["cdid"],"title":"UK ONS Economic Time Series API","type":"object"},"samples":[{"cdid":"D7G7","dataset":"MM23","title":"CPI ANNUAL RATE 00: ALL ITEMS 2015=100","period":"2026 OCT","date":"2026-10-01","value":3.6,"frequency":"months","unit":"%","update_date":"2026-11-18","release_date":"2026-11-18","next_release_date":"2026-12-16","url":"https://www.ons.gov.uk/economy/inflationandpriceindices/timeseries/d7g7/mm23","dataset_url":"https://www.ons.gov.uk/economy/inflationandpriceindices/datasets/consumerpriceindices"},{"cdid":"D7G7","dataset":"MM23","title":"CPI ANNUAL RATE 00: ALL ITEMS 2015=100","period":"2026 SEP","date":"2026-09-01","value":3.5,"frequency":"months","unit":"%","update_date":"2026-10-21","release_date":"2026-11-18","next_release_date":"2026-12-16","url":"https://www.ons.gov.uk/economy/inflationandpriceindices/timeseries/d7g7/mm23","dataset_url":"https://www.ons.gov.uk/economy/inflationandpriceindices/datasets/consumerpriceindices"},{"cdid":"D7G7","dataset":"MM23","title":"CPI ANNUAL RATE 00: ALL ITEMS 2015=100","period":"2026 AUG","date":"2026-08-01","value":3.1,"frequency":"months","unit":"%","update_date":"2026-09-16","release_date":"2026-11-18","next_release_date":"2026-12-16","url":"https://www.ons.gov.uk/economy/inflationandpriceindices/timeseries/d7g7/mm23","dataset_url":"https://www.ons.gov.uk/economy/inflationandpriceindices/datasets/consumerpriceindices"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"cdid":1,"dataset":1,"dataset_url":1,"date":1,"frequency":1,"next_release_date":1,"period":1,"release_date":1,"title":1,"unit":1,"update_date":1,"url":1,"value":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.261Z","activated_at":"2026-12-06T03:33:09.261Z","active":true,"contract_hash":"565376fbb1fc6e70bdc85283157331eac1cb70f3b63686eda39ddf94196bd4e1","fields_count":13}]}