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.
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> |