Aqs Sample Data
aqs_sample_dataRaw measured air-pollutant sample values from EPA AQS for a date range, the regulatory record, by site, county, state or CBSA. AUTHORITATIVE for "what was the actual ozone/PM2.5/lead concentration here on these dates"; this is the quality-assured archive, not the provisional real-time AQI. Sourced from the EPA Air Quality System. Requires an EPA AQS email + key.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"by": "state",
"bdate": "2024-05-01",
"edate": "2024-05-01",
"param": "44201",
"state": "37"
},
"name": "aqs_sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Geography: "state" (default), "county", "site", "cbsa", "box" | |
| bbox | No | For by=box: "minLon,minLat,maxLon,maxLat" | |
| cbsa | No | Five-digit CBSA code, required for by=cbsa | |
| site | No | Four-digit site number, required for by=site | |
| bdate | Yes | Start date YYYY-MM-DD (converted to the AQS YYYYMMDD form for you) | |
| edate | Yes | End date YYYY-MM-DD, must be in the SAME calendar year as bdate | |
| No | The email the AQS key was issued to, if not folded into _apiKey | ||
| limit | No | Max sample rows to return (default 200, max 2000) | |
| param | Yes | Pollutant parameter code(s), comma-separated, max 5. e.g. "44201" (ozone), "88101" (PM2.5), "42401" (SO2), "14129" (lead) | |
| state | No | Two-digit state FIPS, required for by=state/county/site | |
| county | No | Three-digit county FIPS, required for by=county/site | |
| _apiKey | No | EPA AQS credential as "<email>:<key>", or just "<key>" with email= set. Register at https://aqs.epa.gov/data/api/signup?email=<your-email> |