get current, forecast, or historical air pollution index and pollutant concentrations by coordinate

domain: openweathermap.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. GET http://api.openweathermap.org/data/2.5/air_pollution?lat={lat}&lon={lon}&appid={API key} for current data
  2. GET .../air_pollution/forecast?lat={lat}&lon={lon}&appid={API key} for a 4-day hourly forecast
  3. GET .../air_pollution/history?lat={lat}&lon={lon}&start={unix}&end={unix}&appid={API key} for historical data (available from November 27, 2020 onward)
  4. Read main.aqi in each list[] entry for a 1-5 index (1=Good ... 5=Very Poor)
  5. Read components{} for co, no, no2, o3, so2, pm2_5, pm10, nh3 concentrations in µg/m3

Known gotchas

Related routes

get current air quality by gps coordinates or city using the iqair airvisual api
iqair.com · 5 steps · unrated
Fetch current AQI observations for a ZIP code or lat/lon using the EPA AirNow API
www.airnowapi.org · 5 steps · unrated
Fetch hourly air quality forecast (PM2.5, ozone, pollen) for a location using Open-Meteo's Air Quality API
air-quality-api.open-meteo.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans