OpenMeteoAir API

Hourly air quality forecasts worldwide

🔑 Auth: None 🔒 HTTPS: Yes 🌐 CORS: Enabled HTTP 200

Live Technical Metrics

Pre-calculated · updated every 20 min
Server-measured technical metrics for the OpenMeteoAir API
Uptime Status ✅ Operational (HTTP 200)
Server Latency 🟡 430 ms — Moderate
Hosting Server cloudflare
Content-Type text/html; charset=utf-8
Cache-Control public, max-age=14400, must-revalidate
CORS Support ✅ Enabled — safe for browser fetch()
Authentication ✅ None required — call the API directly without a key
Category Environment
Last HTTP status:
200
Measured latency:
430 ms

Quick Integration Code

✅ No API key needed
fetch("https://open-meteo.com/en/docs/air-quality-api")
  .then(response => {
    if (!response.ok) throw new Error(`HTTP ${response.status}`);
    return response.json();
  })
  .then(data => console.log(data))
  .catch(error => console.error("Request failed:", error));
import requests

url = "https://open-meteo.com/en/docs/air-quality-api"
headers = {
    "Accept": "application/json",
    # "Authorization": "Bearer YOUR_TOKEN_HERE",
}

response = requests.get(url, headers=headers, timeout=10)
response.raise_for_status()
data = response.json()
print(data)
curl -X GET "https://open-meteo.com/en/docs/air-quality-api" \
  -H "Accept: application/json" \
  -H "User-Agent: MyApp/1.0" \
  --max-time 10 \
  --silent | python3 -m json.tool

Sample JSON Response — Environment

Environment

  "results" 
    
      "date" "2025-01-15"
      "location" "Mauna Loa Observatory, Hawaii"
      "co2_ppm" 424.87
      "ch4_ppb" 1913.2
      "n2o_ppb" 337.8
      "aqi" 
        "value" 42
        "category" "Good"
        "pollutant" "PM2.5"