Take a tour of the API

Get a single data point

Once you have a link to the latest release, you can get a specific data point from the release using the get observation endpoint.

You need to specify a value for each of the available dimensions using query string parameters.

Example

Make a GET request to https://api.beta.ons.gov.uk/v1/datasets/cpih01/editions/time-series/versions/6/observations?time=Aug-16&geography=K02000001&aggregate=cpih1dim1A0

Show JavaScript example