Skip to content

IQAir API: Get air quality

Gets a city's current air quality, weather, daily forecast and health advice from IQAir.

iqair.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by IQAir.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

City, requiredcity

City to look up, for example Delhi.

Delhi

Country optionalcountry

Country to distinguish cities with the same name, for example India.

Default .

Output

From a run on Oct 23, 2026, shortened for this page.
{  "city": "Delhi",  "aqi_us": 176,  "country": "India",  "category": "Unhealthy",  "iqair_url": "https://www.iqair.com/air-quality/india/delhi/delhi",  "pm25_ug_m3": 90.5,  "updated_at": "2026-10-23T14:30:00+05:30",  "temperature_c": 32,  "daily_forecast": [    {      "date": "2026-10-23",      "aqi_us": 163,      "category": "Unhealthy",      "low_temperature_c": 25,      "high_temperature_c": 33    },    {      "date": "2026-10-24",      "aqi_us": 160,      "category": "Unhealthy",      "low_temperature_c": 26,      "high_temperature_c": 34    },    {      "date": "2026-10-25",      "aqi_us": 157,      "category": "Unhealthy",      "low_temperature_c": 25,      "high_temperature_c": 33    }  ],  "main_pollutant": "PM2.5",  "wind_speed_kmh": 10,  "humidity_percent": 21,  "health_recommendations": [    "Avoid outdoor exercise",    "Close your windows to avoid dirty outdoor air",    "Wear a mask outdoors"  ],  "pm25_who_guideline_times": 18.1}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
iqair.com/get_air_quality
Returns
AQI, category, main pollutant, PM2.5, weather, daily forecast, health advice

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method iqair.com/get_air_quality with the inputs above.

Ask your agent

  • What's the air quality like in Delhi right now?
  • Current AQI and main pollutant for Lima, Peru
  • Is it safe to go jogging outside in Beijing today? Check the pollution level
  • Give me the PM2.5 reading and weather forecast for Springfield, United States on iqair.com
  • Health advice and 5-day air quality outlook for Hanoi, Vietnam

See more

  • Gets AirNow current air quality, pollutant readings and today's and tomorrow's forecasts for a US city or ZIP code, or a covered Canadian or Mexican city.

    airnow.gov/get_air_quality
  • Gets current conditions and RealFeel for a city or postal code on AccuWeather. The UV level follows standard UV-index ranges. Air quality is null unless it is shown with the current conditions.

    accuweather.com/get_current_weather
  • Gets current conditions and today's high and low from The Weather Channel for a city, postcode, ZIP code or street address worldwide. Street addresses are geocoded exactly first; some observations omit gusts or other measurements.

    weather.com/get_current_weather
  • Gets current MSN Weather conditions for a city, address or ZIP code. The place is found through OpenStreetMap Nominatim. Matches for broad searches are approximate.

    msn.com/get_current_weather
  • Finds upcoming International Space Station sightings for a city in NASA's city list, with local start times, visibility and sky directions. Cities without scheduled passes return an empty list.

    nasa.gov/get_iss_sightings
  • Gets the latest observed weather from a nearby National Weather Service station for a US city, address, or ZIP code. Measurements the station does not report are null.

    weather.gov/get_current_conditions
  • Checks today's delayed and cancelled departures and arrivals at an airport on FlightAware, with current weather and any reported FAA delay status. Delay averages and ground programs are returned only when FlightAware shows them; counts can be null when no statistics row is displayed.

    flightaware.com/get_airport_delays
  • Gets the current local time, time zone, and next daylight saving change for a city listed on Time and Date. Add a state or country to distinguish cities with the same name.

    timeanddate.com/get_time_in_city