IQAir (AirVisual)

api.airvisual.com

Community

IQAir AirVisual provides real-time air quality and weather data for locations worldwide. The API offers current AQI readings (US and China standards), pollutant concentrations (PM2.5, PM10, O3, NO2, SO2, CO), weather conditions, and location-based lookups. It also provides 72-hour hourly forecasts and 7-day daily AQI forecasts.

Auth

api_key

Pricing

free

Spec version

1.0

Base URL

https://api.airvisual.com

Crawl failures

1

Last verified

2026-03-01 11:01:05

Health

Loading health data...

Capabilities

get_city_data

location

Get real-time air quality and weather data for a specific city by providing its name, state, and country.

Detail: https://api.airvisual.com/capabilities/get_city_data

get_nearest_city_data

location

Get real-time air quality and weather data for the nearest city to a GPS coordinate or based on IP geolocation.

Detail: https://api.airvisual.com/capabilities/get_nearest_city_data

list_cities

analytics

Get a list of cities within a specified state and country that have air quality monitoring data available.

Detail: https://api.airvisual.com/capabilities/list_cities

list_countries

location

Get a list of all countries supported by the AirVisual API, useful for building location selection interfaces.

Detail: https://api.airvisual.com/capabilities/list_countries

list_states

location

Get a list of states or provinces within a specified country.

Detail: https://api.airvisual.com/capabilities/list_states

Agent Preview

This is what an AI agent sees when it discovers this service via the Gateway:

Service: IQAir (AirVisual)
Description: IQAir AirVisual provides real-time air quality and weather data for locations worldwide. The API offers current AQI readings (US and China standards), pollutant concentrations (PM2.5, PM10, O3, NO2, SO2, CO), weather conditions, and location-based lookups. It also provides 72-hour hourly forecasts and 7-day daily AQI forecasts.
Auth: api_key
Capabilities:
  - get_city_data: Get real-time air quality and weather data for a specific city by providing its name, state, and country.
  - get_nearest_city_data: Get real-time air quality and weather data for the nearest city to a GPS coordinate or based on IP geolocation.
  - list_cities: Get a list of cities within a specified state and country that have air quality monitoring data available.
  - list_countries: Get a list of all countries supported by the AirVisual API, useful for building location selection interfaces.
  - list_states: Get a list of states or provinces within a specified country.