Air Quality
weather_air_qualityFetch real-time or forecast air quality data with pollutant levels and AQI indices. Specify location by name, coordinates, or IP.
Instructions
Get air quality data either real-time or forecast. Returns PM2.5, PM10, CO, NO₂, SO₂, ozone, dust, and UV index. Real-time mode also includes AQI summary indices (US & EU); forecast mode returns raw pollutant values only. Omit dates for real-time AQI. Provide 'start_date' and 'end_date' for hourly AQI forecast (max 6 days, current/future dates only). NOTE: Use this tool over 'weather_current' when you need standalone or forecast air quality data. Provide at least one of: 'location', lat+long, or 'ip'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | Target location — city name, place name, or full address (e.g. "London", "Paris, France", "1600 Amphitheatre Parkway, Mountain View, CA"). | |
| lat | No | Latitude (-90 to 90). Must be paired with 'long'. | |
| long | No | Longitude (-180 to 180). Must be paired with 'lat'. | |
| ip | No | IPv4 or IPv6 address. Required if 'location' and lat/long are not provided. | |
| start_date | No | Start date for AQI forecast (YYYY-MM-DD). Current/future dates only. Must be paired with 'end_date'. Max 6-day range. Omit for real-time AQI. | |
| end_date | No | End date for AQI forecast (YYYY-MM-DD). Current/future dates only. Must be paired with 'start_date'. Max 6-day range. | |
| time_zone | No | Timezone for returned timestamps (tz database name, e.g. 'America/New_York'). Defaults to the resolved location's timezone. |