Developers

Open air quality data

The daily mean PM2.5 of every city on the Atmy Data Hub since 2017, updated every night. Choose a city and a period and download a CSV file.

Download data

One row per day: date, daily mean PM2.5 and the number of sensors. Days with too few sensors are missing; a city's data begins with its first measurements.

License

Open Data Commons Open Database License (ODbL) 1.0: you may copy, use and adapt the data, also commercially. Credit Atmy and the sensor networks, and share databases made from it under the ODbL. ODbL 1.0

Attribution to show next to the data, with a link to atmy.ai:

Air quality data: Atmy (atmy.ai), from the sensor networks Sensor.Community, AirGradient and Atmy; ODbL 1.0. Weather: OpenWeatherMap (CC BY-SA 4.0) and Open-Meteo.com (CC BY 4.0).

Sources

PurpleAir sensors are not included: their terms do not allow redistribution.

Columns of the daily files

  • date — UTC day
  • city_id — Atmy city id
  • city_slug — path of the city page
  • city — city name in English
  • country — country in English
  • pm25 — daily mean PM2.5, µg/m³
  • sensors — sensors in the mean
  • source_daily_sensors — sensors counted by the daily mean of their network, where no hourly readings were kept
  • temperature_c, temperature_min_c, temperature_max_c, humidity_percent, pressure_hpa, wind_m_s, wind_gust_max_m_s, clouds_percent — the day's weather from 2026-01-19: mean, lowest and highest temperature (°C), humidity (%), pressure (hPa), mean wind and strongest gust (m/s), cloud cover (%)

Build with API

For one city and any period, use the API:

GET https://api.atmy.ai/v1/air-quality/history?city=germany/berlin&from=2025-01-01&to=2025-12-31

How the values are computed: methodology · API