OpenWeatherMap · Arazzo Workflow
OpenWeatherMap Air Quality By City
Version 1.0.0
Geocode a city name, then fetch current air pollution and its hourly forecast.
View Spec
View on GitHub
WeatherForecastClimateAir PollutionAir QualitySolarGeocodingHistoryMapsRoad RiskPublic APIsArazzoWorkflows
Provider
Workflows
air-quality-by-city
Resolve a city name to coordinates, then return current and forecast air quality.
Calls direct geocoding to turn a city query into coordinates, then chains the latitude and longitude into the current air pollution and hourly air pollution forecast endpoints.
1
geocodeCity
getDirectGeocoding
Resolve the supplied city query into geographic coordinates, keeping the first and best match.
2
currentAirPollution
getCurrentAirPollution
Fetch current air pollution at the geocoded coordinates, including the Air Quality Index and pollutant concentrations.
3
airPollutionForecast
getAirPollutionForecast
Fetch the hourly air pollution forecast for the next five days at the same coordinates.
Source API Descriptions
openapi