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
GET http://api.openweathermap.org/data/2.5/air_pollution?lat={lat}&lon={lon}&appid={API key} for current data
GET .../air_pollution/forecast?lat={lat}&lon={lon}&appid={API key} for a 4-day hourly forecast
GET .../air_pollution/history?lat={lat}&lon={lon}&start={unix}&end={unix}&appid={API key} for historical data (available from November 27, 2020 onward)
Read main.aqi in each list[] entry for a 1-5 index (1=Good ... 5=Very Poor)
Read components{} for co, no, no2, o3, so2, pm2_5, pm10, nh3 concentrations in µg/m3
Known gotchas
This is a separate product from OpenWeatherMap's weather/forecast API — the same appid works but it is documented and rate-limited independently
Historical data only goes back to November 27, 2020; requests before that date return no data
start/end for the history endpoint must be Unix timestamps, not ISO dates
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?