IQAir AirVisual

Real-time air quality data your customers can breathe easy about

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.

Chosen by 800+ global brands across industries

Air quality intelligence, conversationally delivered

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.

Get City Air Quality

A customer asks 'What is the air quality in Delhi right now?' Your AI agent queries IQAir's city endpoint and returns the current AQI, dominant pollutant (PM2.5, PM10, NO2, CO, SO2), temperature, humidity, and wind conditions. Live pollution data delivered conversationally.

Forecast Air Quality

Planning outdoor activities? Your agent retrieves hourly and daily AQI forecasts for any supported city. Customers get 72-hour hourly predictions and 7-day daily outlooks, helping them plan around pollution spikes before they happen.

Query Historical AQI

Your agent pulls historical air quality readings for any city within a specified date range. Researchers, real estate buyers, and health-conscious customers can analyze pollution trends over weeks or months through a simple conversation.

Nearest Station Lookup

Using GPS coordinates, your agent finds the closest IQAir monitoring station and returns its current readings. Customers get hyper-local air quality data rather than city-wide averages, especially useful in large metro areas with variable pollution.

Global AQI Rankings

Your agent retrieves a live ranking of the world's most and least polluted cities. Travel companies, relocation services, and health platforms use this to compare air quality across destinations during customer consultations.

List Supported Locations

Your agent queries IQAir's directory of supported countries, states, and cities. Before looking up air quality, the agent confirms coverage for the requested location, ensuring customers always receive accurate results rather than empty responses.

IQAir AirVisual

Use Cases

Pollution data that powers real decisions

From travel planning to workplace safety, see how AI agents use IQAir AirVisual to deliver actionable air quality insights during customer conversations.

Travel Planning with Air Quality Context

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.

Real Estate Buyers Comparing Neighborhood Air Quality

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.

Workplace Safety Alerts for Outdoor Workers

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.

Try
IQAir AirVisual

IQAir AirVisual

FAQs

Frequently Asked Questions

How many monitoring stations does IQAir AirVisual cover?

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.

What pollutants does the AQI data include?

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.

What authentication does Tars need for IQAir AirVisual?

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.

Does Tars store the air quality data returned by IQAir?

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.

Can the agent provide air quality forecasts for the next week?

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.

How does the nearest station lookup work with GPS coordinates?

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.

Can the agent pull historical AQI data for a specific date range?

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.

Does the API cover cities outside major metro areas?

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.

How to add Tools to your AI Agent

Supercharge your AI Agent with Tool Integrations

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

We’ll never let you lose sleep over privacy and security concerns

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

GDPR
ISO
SOC 2
HIPAA

Still scrolling? We both know you're interested.

Let's chat about AI Agents the old-fashioned way. Get a demo tailored to your requirements.

Schedule a Demo