
IQAir AirVisual
Your AI agent delivers live AQI readings, pollution forecasts, and historical air quality data from IQAir's 30,000+ monitoring stations worldwide. Whether customers are planning travel, choosing a neighborhood, or monitoring workplace conditions, your agent serves air quality answers from a single conversation.




Live readings, forecasts, historical trends, station-level data, and global rankings. Your AI agent taps into IQAir AirVisual's extensive air quality network to answer pollution questions instantly.
IQAir AirVisual
From travel planning to workplace safety, see how AI agents use IQAir AirVisual to deliver actionable air quality insights during customer conversations.
A customer asks your travel agency chatbot about visiting Bangkok next week. Your AI Agent queries IQAir's forecast endpoint and discovers the AQI will spike above 150 (unhealthy) mid-week. The agent recommends adjusting travel dates or packing protective masks, and suggests nearby cities with better air quality. The customer makes an informed decision, and your agency earns trust by going beyond typical travel advice.
A prospective homebuyer asks your real estate AI agent about pollution levels in three neighborhoods. The agent queries IQAir's historical AQI data for each location over the past 90 days and presents average PM2.5 readings side by side. One neighborhood consistently registers 30% worse air quality than the others. The buyer has concrete data to factor into their decision.
A construction company uses your AI Agent to monitor air quality at job sites. Each morning, the agent checks the nearest IQAir monitoring station using GPS coordinates. When AQI exceeds your configured threshold, the agent sends an alert recommending masks or schedule adjustments. Workers stay protected. The company maintains OSHA compliance without manual monitoring.

IQAir AirVisual
FAQs
IQAir collects data from over 30,000 ground-based air quality monitoring sensors worldwide, spanning more than 5,000 cities across 100+ countries. All data points are validated and calibrated against reference-level measurements. Your agent queries this network in real time for the most current readings available.
IQAir AirVisual reports on PM2.5, PM10, NO2, CO, SO2, and ozone. The AQI value reflects the dominant pollutant at the time of reading. Weather data including temperature, humidity, atmospheric pressure, and wind speed accompanies every air quality response.
Tars requires your IQAir AirVisual API key, generated from your IQAir dashboard. The free Community plan offers limited API access. Startup and Enterprise plans provide higher call limits and additional features like historical data and station-level queries.
No. Tars queries IQAir's API in real time during conversations. AQI readings, forecasts, and historical data are used to answer the current question and are not stored in Tars afterward. Fresh data is fetched for every new air quality inquiry.
Yes. IQAir's forecast endpoint returns hourly AQI predictions for the next 72 hours and daily forecasts for up to 7 days. The agent presents this data conversationally, helping customers plan outdoor activities, travel schedules, or workplace safety measures around predicted pollution levels.
Your agent sends latitude and longitude to IQAir's nearest station endpoint, which finds the closest monitoring station and returns its current AQI, pollutant breakdown, and weather conditions. This provides hyper-local readings rather than city-wide averages, which is especially valuable in cities with uneven pollution distribution.
Yes. The historical endpoint accepts a city name along with optional start and end dates in ISO 8601 format. Your agent retrieves AQI readings over the specified period, enabling trend analysis, seasonal comparisons, and long-term air quality assessments for any supported city.
Coverage depends on IQAir's sensor network. The agent can query the supported countries, states, and cities endpoints to confirm whether a specific location has data before attempting a lookup. Major cities have the most comprehensive coverage, but IQAir's network continues expanding to smaller cities and rural monitoring stations.
Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security
At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.