Historical Air Pollution Window
A 3-step recipe with OpenWeatherMap. We can help you get access.
Recipe · 3 steps
Historical Air Pollution Window
with OpenWeatherMap
Resolve a city name, then return historical and current air pollution.
- Resolve the supplied city query into geographic coordinates, keeping the first and best match.
- Fetch historical hourly air pollution at the geocoded coordinates across the supplied Unix start and end timestamps.
- Fetch the current air pollution reading at the same coordinates to compare against the historical series.
What you'll need to have ready
- q: City name, optionally with state and ISO country codes, comma-separated.
- start: Unix UTC start timestamp for the historical window.
- end: Unix UTC end timestamp for the historical window.
- appid: OpenWeather API key.
For your developer
Arazzo workflow openweathermap:historical-air-pollution-window, 3 operations: getDirectGeocoding → getAirPollutionHistory → getCurrentAirPollution. Specs on APIs.io.