Historical Air Quality Data AQS API
Number of APIs: 7
This collection is intended to pull historical air quality data by date and location. The Air Quality Systems (AQS) API is provided by the EPA. Here is some information directly from the EPA about it: https://aqs.epa.gov/aqsweb/documents/data_api.html
The examples given in this collection narrow down the air quality in Mendocino County, California. Please replace the state, county, site codes, and dates as needed.
Please note that there is not always available data for some sites or counties. This doesn't necessarily mean you've made your requests incorrectly, but just that the sensors were either not active or the data was not gathered and available through the API.
Written with love by [Hannah]
-
Sign Up for Account GET https://aqs.epa.gov/data/api/signup?email={{email}}
-
Parameter Classes GET https://aqs.epa.gov/data/api/list/classes?email={{email}}&key={{key}}
-
List of Site Codes GET https://aqs.epa.gov/data/api/list/sitesByCounty?email={{email}}&key={{key}}&state={{state}}&county={{county}}
-
AQI in CA by Date GET https://aqs.epa.gov/data/api/dailyData/byState?email={{email}}&key={{key}}&param={{param}}&bdate=20200809&edate=20200811&state={{state}}
-
AQI in Mendo County by Date GET https://aqs.epa.gov/data/api/dailyData/byCounty?email=&key=&param={{param}}&bdate=20201006&edate=20201006&state={{state}}&county={{county}}
-
List of States FIPS Codes GET https://aqs.epa.gov/data/api/list/states?email={{email}}&key={{key}}
-
List of County Codes GET https://aqs.epa.gov/data/api/list/countiesByState?email={{email}}&key={{key}}&state={{state}}