ONS

Version 0.0.0

📘

Checkout the API docs here for more information

Set up


To get set up with the ONS connector, you will only need to create a new source and set up the relevant extracts for the reports you are interested in. No authentication needed.

The API provides access to datasets (groupings of data), which you can extract through the connector.

Features


FeatureSupportNotes
BackfillAll-time (all data available via the datasets)
IncrementalN/A
API reliability🟠API is in Beta and some custom datasets may have occasional failures

Reports detail


⬇️ Report🔑 Incremental key🔑 Primary key📄 Link to API endpoint
List DatasetsN/AIDList Datasets
Regional GDP by quarter (dataset)N/AN/ARegional GDP by quarter
GDP to four decimal places (dataset)N/Ammm_yy, unofficial_standard_industrial_classification, geographyGDP to four decimal places
Custom datasetN/AN/ACustom dataset
Consumer Prices Index including owner occupiers' housing costs (CPIH) (dataset)N/Ammm_yy, aggregate, geographyConsumer Prices Index including owner occupiers' housing costs (CPIH)
Gross Domestic Product: Quarter on Quarter growth (timeseries)N/AN/AGross Domestic Product: Quarter on Quarter growth
RPI All Items years (timeseries)N/AlabelRPI All Items years
RPI All Items quarters (timeseries)N/AlabelRPI All Items quarters
RPI All Items months (timeseries)N/AlabelRPI All Items months
Unemployment rate years (timeseries)N/AlabelUnemployment rate years
Unemployment rate quarters (timeseries)N/AlabelUnemployment rate quarters
Unemployment rate months (timeseries)N/AlabelUnemployment rate months
Labour market (dataset)N/Ammm_mmm_yyyy, sex, age_groups, geography, economic_activity, unit_of_measure, seasonal_adjustmentLabour Market
Earnings and Hours Worked, UK Region by Industry by Two-Digit SIC: ASHE Table 5 (dataset)N/AN/AEarnings and Hours Worked, UK Region by Industry by Two-Digit SIC: ASHE Table 5
House price statistics for small areas in England and Wales (dataset)N/Ahouse_sales_and_prices, property_type, geography, mmm, calendar_years, build_statusHouse price statistics for small areas in England and Wales
Index of Private Housing Rental Prices (dataset)N/Ammm_yy, geography, index_and_year_changeIndex of Private Housing Rental Prices

📘

Datasets

The List Datasets report will allow you to see all currently available datasets that the API can provide.

There are a number of dataset reports that you can straight away set up as individual extracts through the connector (by selecting them via the Report drop down list in the extract configuration).

There is also an option to use the Custom Dataset report by inputting the relevant dataset-id. You can check the dataset-id by looking at the data extracted in a List Datasets report. As there are hundreds of datasets available in this Beta version of the API, it is possible some of the custom datasets have occasional issues when run as a Custom Dataset report.

📘

Timeseries

Some reports provide data from Timeseries from the ONS. The data for these is acquired programatically, but outside of the ONS API. For each timeseries report you will see the relevant link showing the original ONS Timeseries in the Report Details section above (on this page).