aqs_sample_data_by_state
Retrieve air quality sample measurements from all monitoring sites in a specified state for analysis, with warnings about large data volumes requiring limited date ranges.
Instructions
Get raw sample data for all monitoring sites in a state. WARNING: Sample data can be EXTREMELY large for state-level queries. Strongly recommend limiting date ranges to one week or less. Returns individual sample measurements from all sites in the specified state.
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>"
},
"name": "aqs_sample_data_by_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address for API authentication. Optional if AQS_EMAIL environment variable is set. | ||
| key | No | API key for authentication. 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, 81102 for PM10). | |
| bdate | Yes | Begin date in YYYYMMDD format. Must be in the same calendar year as edate. | |
| edate | Yes | End date in YYYYMMDD format. Must be in the same calendar year as bdate. | |
| state | Yes | Two-digit FIPS state code (e.g., "06" for California, "36" for New York). |