- Category: developer tools
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 10
- Triggers: 0
- Slug:
IQAIR_AIRVISUAL - Version: 20261101_00
Tools
Get Air Quality Forecast Data
Get Air Quality Forecast Data
Get Cities
Get Cities
Slug:
IQAIR_AIRVISUAL_GET_CITIESTool to list supported cities in a specified state and country. Use when you need to retrieve cities for a given state/country.Input Parameters
State name as returned by the ‘Get States’ action. Use exact state names like ‘California’, ‘Texas’, ‘New York’.
Country name as returned by the ‘Get Countries’ action. Use exact country names like ‘USA’, ‘India’, ‘Germany’, ‘Canada’. Note: ‘USA’ is used instead of ‘United States’.
Output
Get City Air Quality
Get City Air Quality
Slug:
IQAIR_AIRVISUAL_GET_CITY_AIR_QUALITYTool to retrieve air quality data for a specific city. Use when you need current pollution and weather data by specifying city, state, and country.Input Parameters
Name of the city to retrieve air quality for. Must match IQAir’s supported city names exactly (e.g., ‘Los Angeles’, ‘New York City’, ‘Paris’).
Name of the state, province, or region containing the city. Use full name, not abbreviations (e.g., ‘California’ not ‘CA’, ‘Ile-de-France’ for Paris).
Name of the country containing the city. Use full country name (e.g., ‘USA’, ‘France’, ‘Australia’).
Output
Get supported countries
Get supported countries
Get Historical AQI Data
Get Historical AQI Data
Get Nearest City Air Quality
Get Nearest City Air Quality
Get Nearest Station Air Quality
Get Nearest Station Air Quality
Get States
Get States
Slug:
IQAIR_AIRVISUAL_GET_STATESTool to list supported states in a specified country. Use when you need to retrieve states/provinces for a given country.Input Parameters
Country name as returned by the ‘Get Countries’ action. Use exact country names like ‘USA’, ‘India’, ‘Germany’, ‘Canada’. Note: ‘USA’ is used instead of ‘United States’.
Output
Get Station by ID
Get Station by ID
Slug:
IQAIR_AIRVISUAL_GET_STATION_BY_IDRetrieves current air quality and weather by station, city, state, and country names. Results can instead be city-level and do not necessarily confirm the named station. Use the countries, states, and cities actions to find valid location names.Input Parameters
City’s English name. Must match IQAir’s supported city names exactly (use Get Cities action to find valid names).
State or region’s English name. Must match IQAir’s supported state names exactly (use Get States action to find valid names).
Country’s English name. Must match IQAir’s supported country names exactly (use Get Countries action to find valid names).
Station’s English name. Note: Station name is used as an identifier but is passed through to fallback city data. The actual station-specific endpoint requires premium API access.
Output
Get World AQI Rankings
Get World AQI Rankings
Slug:
IQAIR_AIRVISUAL_GET_WORLD_RANKINGRequests global city air quality rankings. Results can instead contain air quality for a single nearest city; latitude and longitude or an IP address can specify the location for that result. Latitude and longitude must be supplied together.Input Parameters
IPv4 address for geolocation (e.g., ‘8.8.8.8’). Used to determine location when lat/lon are not provided. Optional - if omitted, uses caller’s IP.
Latitude in decimal degrees (-90 to 90). When provided with ‘lon’, returns air quality for the nearest city to these coordinates. Optional - if omitted, uses server’s IP geolocation.
Longitude in decimal degrees (-180 to 180). Must be provided together with ‘lat’. Optional - if omitted, uses server’s IP geolocation.