capabilities.work

Current and Forecast Air Quality

A 3-step recipe with WeatherAPI. We can help you get access.

Recipe · 3 steps

Current and Forecast Air Quality

Search a location and read current plus forecast air quality and pollen.

  1. Resolve the free-text query into the best matching location.
  2. Fetch current weather for the resolved location with the air quality flag enabled so the response carries the air_quality block.
  3. Fetch a forecast for the resolved location with both air quality and pollen flags enabled for forward looking exposure planning.
What you'll need to have ready
  • query: Partial city name, postcode, or coordinates to search for.
  • days: Number of forecast days to return (1-14, plan dependent).
For your developer

Arazzo workflow weatherapi:air-quality, 3 operations: searchLocations → getCurrentWeather → getForecast. Specs on APIs.io.