aqs_daily_summary_by_county
Retrieve daily air quality summaries for all monitoring sites in a U.S. county, including mean values, maximum readings, observation counts, and AQI data for specified pollutants and date ranges.
Instructions
Get daily summary air quality data for all monitoring sites in a county. Daily summaries include arithmetic mean, maximum values, observation counts, and AQI values for each day. Requires state FIPS code (2-digit) and county FIPS code (3-digit).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"param": "<param>",
"bdate": "<bdate>",
"edate": "<edate>",
"state": "<state>",
"county": "<county>"
},
"name": "aqs_daily_summary_by_county"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address registered with EPA AQS API. Optional if AQS_EMAIL environment variable is set. | ||
| key | No | API key from EPA AQS. Optional if AQS_API_KEY environment variable is set. | |
| param | Yes | Parameter code (e.g., 44201 for Ozone, 88101 for PM2.5, 42401 for SO2, 42101 for CO, 42602 for NO2). Multiple codes can be comma-separated (max 5). | |
| bdate | Yes | Begin date in YYYYMMDD format (e.g., 20230101). | |
| edate | Yes | End date in YYYYMMDD format (e.g., 20230131). Must be in the same calendar year as bdate. | |
| state | Yes | Two-digit state FIPS code (e.g., 06 for California, 36 for New York). | |
| county | Yes | Three-digit county FIPS code (e.g., 037 for Los Angeles County). |