{"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,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","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},"links":{"run":"https://pullrow.dev/v1/apis/api_b6f1323e63dfd88e4fb53a48/run","openapi":"https://pullrow.dev/v1/apis/api_b6f1323e63dfd88e4fb53a48/openapi.json","contract":"https://pullrow.dev/v1/apis/api_b6f1323e63dfd88e4fb53a48/contract.json","page":"https://pullrow.dev/catalog/uk-ons-economic-series"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Contains public sector information from the Office for National Statistics licensed under the Open Government Licence v3.0; credit it as \"Source: Office for National Statistics\". ONS does not endorse this API.","Series ids (CDIDs) only, up to 50 per run: find a CDID on the ONS website or in its dataset tables. A CDID given without a dataset takes the dataset ONS updated most recently.","Values are as ONS publishes them today: revisions overwrite earlier figures and no vintages are kept. ONS updates each series on its release days, mostly monthly.","Labour market series are rolling three-month averages: period then reads like 2026 JUL-SEP and date is the middle month, as ONS files it.","ONS limits how fast its site may be read (15 requests per 10 seconds for busy pages), so this API makes one request at a time, two per series (one for a series link): 50 series take about a minute or more.","Periods without a value are left out. Titles are as ONS writes them, often in capitals."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"cdid","label":"Cdid","description":"ONS series id, such as D7G7.","group":"Basics","shown":true,"written":false},{"name":"dataset","label":"Dataset","description":"ONS dataset id the series comes from, such as MM23.","group":"Basics","shown":true,"written":false},{"name":"title","label":"Title","description":"The series title, such as CPI ANNUAL RATE 00: ALL ITEMS 2015=100.","group":"Basics","shown":true,"written":false},{"name":"period","label":"Period","description":"The period as ONS labels it: 2026 OCT, 2026 Q3 or 2025.","group":"Basics","shown":true,"written":false},{"name":"date","label":"Date","description":"First day of the period (the middle month for three-month averages).","group":"Dates","shown":true,"written":false},{"name":"value","label":"Value","description":"The value for the period, in unit.","group":"Basics","shown":true,"written":false},{"name":"frequency","label":"Frequency","description":"months, quarters or years.","group":"Basics","shown":true,"written":false},{"name":"unit","label":"Unit","description":"Unit of the value, such as %, £m or Index, base year = 100.","group":"Basics","shown":true,"written":false},{"name":"update_date","label":"Update date","description":"The day ONS last updated this value (UK date).","group":"Dates","shown":true,"written":false},{"name":"release_date","label":"Release date","description":"The day of the series' latest release (UK date).","group":"Dates","shown":true,"written":false},{"name":"next_release_date","label":"Next release date","description":"The day ONS plans to release the series next, when announced.","group":"Dates","shown":true,"written":false},{"name":"url","label":"Link","description":"The series page on ons.gov.uk.","group":"Links","shown":true,"written":false},{"name":"dataset_url","label":"Dataset link","description":"The ONS dataset page the series belongs to.","group":"Links","shown":true,"written":false}],"inputs":[{"name":"series","label":"Series","help":"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","written":false},{"name":"frequency","label":"Frequency","help":"months, quarters or years. Leave empty for the most frequent the series has.","example":"months","written":false},{"name":"since","label":"Since","help":"Only periods starting on or after this date, as YYYY-MM (or YYYY, or YYYY-MM-DD), such as 2025-01.","example":"2025-01","written":false},{"name":"until","label":"Until","help":"Only periods starting on or before this date, as YYYY-MM (or YYYY, or YYYY-MM-DD).","example":"","written":false},{"name":"last","label":"Last","help":"Only the newest this many periods of each series, such as 1 for the latest value.","example":"3","written":false},{"name":"order","label":"Order","help":"Newest period first (the default) or oldest first, within each series.","example":"","written":false}]}},"incidents":[]}