Air Quality
AirQualityAir Quality: Air Quality is an air pollution API that reports particulate pollution levels and health recommendations for any city or zip code. Look up PM2.5 and PM10 concentrations to check current air conditions; paid plans add ozone, toxic gases, EPA and DEFRA index scores, and an estimated 0-500 US AQI with its category and dominant pollutant. (Cost: 10 credits)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "AirQuality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aqi | No | Include the estimated 0-500 US AQI, its category, the dominant pollutant and the index for each pollutant | |
| zip | No | The zip code for which you want to get the air quality data | |
| city | No | The city name for which you want to get the air quality data (e.g., New York) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |