Skip to content

Air Quality Data

Realtime and forecast air quality from WeatherAPI.com: CO, O3, NO2, SO2, PM2.5, PM10, US EPA index and UK DEFRA index fields explained.

Air Quality data is returned in the Forecast API, History API and Realtime API response. Depending upon your subscription plan we provide historical (from 1st March 2021 onwards), current and 3 day air quality data for the given location in json and xml.

It provides air quality index (see below) data on major pollutant gases like Carbon monoxide (CO), Ozone (O3), Nitrogen dioxide (NO2), Sulphur dioxide (SO2), PM 2.5 and PM 10.

Data source: air quality data is based on the forecasts and analyses of the Copernicus Atmosphere Monitoring Service (CAMS), run by ECMWF for the European Union: the CAMS European model (about 11 km) over Europe and the CAMS global model elsewhere, processed by us for each location. Generated using Copernicus Atmosphere Monitoring Service information; neither the European Commission nor ECMWF is responsible for any use that may be made of the information it contains.

By default air quality data is not returned. To get air quality data back in the response from Forecast API, History API and Realtime API, pass the parameter aqi=yes.

Field Data Type Description
co float Carbon Monoxide (μg/m3)
o3 float Ozone (μg/m3)
no2 float Nitrogen dioxide (μg/m3)
so2 float Sulphur dioxide (μg/m3)
pm2_5 float PM2.5 (μg/m3)
pm10 float PM10 (μg/m3)
us-epa-index integer US - EPA standard.
  • 1 means Good
  • 2 means Moderate
  • 3 means Unhealthy for sensitive group
  • 4 means Unhealthy
  • 5 means Very Unhealthy
  • 6 means Hazardous
gb-defra-index integer UK Defra Index (See table below)

UK DEFRA INDEX Table

Index 1 2 3 4 5 6 7 8 9 10
Band Low Low Low Moderate Moderate Moderate High High High Very High
µgm-3 0-11 12-23 24-35 36-41 42-47 48-53 54-58 59-64 65-70 71 or more

Get your free weather API key in a minute

100,000 calls a month, free for commercial use. No credit card.