API Directory › 🚀 Science & Space › Open-Meteo Air Quality
No authHTTPSCORS

Open-Meteo Air Quality API

Free air-quality forecasts (PM2.5, ozone, pollen) with no API key.

Auth
No auth needed
HTTPS
Yes
CORS
Yes
Open Open-Meteo Air Quality docs ↗

What it does

The Open-Meteo Air Quality API returns current and forecast air-quality data for any coordinates — particulate matter (PM2.5, PM10), ozone, nitrogen dioxide, sulphur dioxide, carbon monoxide, aerosol optical depth, pollen, and both the European and US AQI — from the CAMS atmospheric model.

Base URL

https://air-quality-api.open-meteo.com/v1/air-quality

Authentication

None for non-commercial use (same terms as the main Open-Meteo API). Choose variables with hourly= and/or current= comma-lists; commercial use needs a paid API key.

Code examples

curl
curl -s "https://air-quality-api.open-meteo.com/v1/air-quality?latitude=28.61&longitude=77.21"\
"&current=pm2_5,pm10,us_aqi&hourly=ozone,nitrogen_dioxide&forecast_days=2"
Python
import requests

r = requests.get("https://air-quality-api.open-meteo.com/v1/air-quality", params={
    "latitude": 34.05, "longitude": -118.24,
    "current": "pm2_5,pm10,us_aqi,european_aqi", "timezone": "auto"}, timeout=10)
c = r.json()["current"]
print("PM2.5", c["pm2_5"], "ug/m3  US AQI", c["us_aqi"])

Rate limits & quotas

Non-commercial fair-use, shared with the rest of Open-Meteo: about 10,000 calls/day (and ~600/minute), no key, CORS enabled. Over the limit returns HTTP 429. Forecast horizon is about 5 days; a few days of recent history are also available.

Key response fields

current.pm2_5 / current.pm10Particulate concentrations, µg/m³
current.us_aqi / current.european_aqiAir quality index on each scale
current.ozone / nitrogen_dioxide / sulphur_dioxide / carbon_monoxideGas concentrations
hourly.time[] + hourly.<var>[]Parallel timestamp/value arrays
current.dust / aerosol_optical_depth / alder_pollenExtra layers where modelled

Common errors

400Unknown variable name in hourly/current, or missing lat/lon — the reason field explains.
429Fair-use limit exceeded.
(null values)A pollutant or pollen type not modelled for that region comes back null.

When to use it (and alternatives)

The easiest free way to add an air-quality reading or forecast to a weather app, health tool or dashboard — no key, both AQI scales, pollen included. Pair it with the main Open-Meteo forecast call. Tomorrow.io is an alternative that bundles air quality with weather.

FAQ

Which AQI should I show, US or European?

Show the one your users expect for their region. They use different pollutant breakpoints and categories, so a location can be ‘Moderate’ on one and ‘Good’ on the other — label which scale you are using.

Is pollen data available everywhere?

No — pollen (birch, grass, ragweed, etc.) is currently modelled mainly for Europe and parts of North America. Elsewhere those fields return null.

Can I use this commercially?

Not on the free key-less endpoint. A low-cost Open-Meteo API plan covers commercial use and lifts the rate limit.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

JSON Formatter

Related Science & Space APIs

← Back

More Science & Space APIs · All 196 APIs