Air quality datasets
Published by
Covers
Years
Areas
Measures
Each measure is one kind of value you can request, using its id.
| Measure | Unit | Combining areas |
|---|---|---|
PCM grid cellsair-quality-grid-cells | 1x1 km grid cells | Adds up |
Background nitrogen dioxide, area meanno2-background-mean | µg/m³ | Weighted average |
Background PM10, area meanpm10-background-mean | µg/m³ | Weighted average |
Background PM2.5, area meanpm25-background-mean | µg/m³ | Weighted average |
Population-weighted PM2.5pm25-population-weighted | µg/m³ | Not combined |
Population-weighted anthropogenic PM2.5pm25-population-weighted-anthropogenic | µg/m³ | Not combined |
“Adds up” means you can total it over areas or convert it to other areas. See Measures and periods for why some can't be combined.
Areas and years
Request each of these with its geography and code year as geography and boundaryYear.
| Areas | Code year | Periods | Covers | Records |
|---|---|---|---|---|
| Local authorities | 2024 | 2024 | UK | 361 |
Things to know
- How many of Defra's 1x1 km PCM cells have their centre in the authority, roughly its land area in square kilometres. It is the weight for the area means.
- Background concentrations are modelled for 1x1 km squares away from the immediate influence of roads and industrial sources, so they are lower than roadside measurements.
- PCM maps from https://uk-air.defra.gov.uk/data/pcm-data. Each cell is assigned to the December 2024 authority containing its centre; a coastal cell whose centre lies offshore of the generalised coastline belongs to none.
- The mean of Defra's modelled 2024 annual mean background nitrogen dioxide (NO2) concentration over the 1x1 km cells whose centres lie in the authority: an average across its area, not weighted by where people live.
- The mean of Defra's modelled 2024 annual mean background PM10, in gravimetric units, concentration over the 1x1 km cells whose centres lie in the authority: an average across its area, not weighted by where people live.
- The mean of Defra's modelled 2024 annual mean background PM2.5 concentration over the 1x1 km cells whose centres lie in the authority: an average across its area, not weighted by where people live.
Show 2 moreShow fewer
- Defra's published population-weighted annual mean PM2.5 for 2024, total of anthropogenic and non-anthropogenic, which Defra advises for estimating the health burden of long-term exposure.
- The anthropogenic part of Defra's population-weighted PM2.5 for 2024, excluding natural sources such as sea salt.
Corrections and improvements
These reviewed changes apply to what the API serves for this data. The publisher's source files are not changed; when a code correction applies, the served record retains the publisher's code as sourceAreaCode.
| Change | What the API serves | Applies when |
|---|---|---|
| Opt-in canonical measure-unit presentation | On the explicit canonical request, each numeric value and any publisher-supplied interval bound is multiplied by the measure's declared scale; the response names the resulting unit and calculation. | GET /v1/data/{measure-id}?units=canonical |
curl "https://api.ukdataatlas.com/v1/corrections?measure=air-quality-grid-cells"/correctionsList reviewed correctionsRequest it
Get the first page of air-quality-grid-cells for local authorities:
curl "https://api.ukdataatlas.com/v1/data/air-quality-grid-cells?period=2024&geography=localAuthority&boundaryYear=2024&limit=5"Read the measure's full definition, including every period it's published for:
curl "https://api.ukdataatlas.com/v1/measures/air-quality-grid-cells"/data/{measure-id}Get observationsget/data/{measure-id}/seriesGet a time seriesSource and licence
| Dataset | Publisher | Licence |
|---|---|---|
| Air Quality | Department for Environment, Food and Rural Affairs | Open Government Licence v3.0 |
Using this data in something you publish? Get attribution text with measure=air-quality-grid-cells returns the credit line to include.
Downloads
Download complete publisher-observation files instead of paging through the API. Each file has a stable hash and covers one measure, period set and source geography. Any reviewed served code correction is documented and retains its publisher code on the affected record. The source and licence information above applies to these files too; preserve the attribution and note any cleaning or reformatting when you redistribute one.
| Measure | Coverage | Records | Download |
|---|---|---|---|
PCM grid cellsair-quality-grid-cells | Local authorities · 2024 · code year 2024 | 361 | JSON |
Background nitrogen dioxide, area meanno2-background-mean | Local authorities · 2024 · code year 2024 | 361 | JSON |
Background PM10, area meanpm10-background-mean | Local authorities · 2024 · code year 2024 | 361 | JSON |
Background PM2.5, area meanpm25-background-mean | Local authorities · 2024 · code year 2024 | 361 | JSON |
Population-weighted anthropogenic PM2.5pm25-population-weighted-anthropogenic | Local authorities · 2024 · code year 2024 | 361 | JSON |
Population-weighted PM2.5pm25-population-weighted | Local authorities · 2024 · code year 2024 | 361 | JSON |