Historical Air Quality Data AQS API
Number of APIs: 8
Follow along on the livestream
Get started
This collection is intended to pull historical air quality data by date and location. The Air Quality Systems (AQS) API is provided by the Environmental Protection Agency of the US.
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.
-
Parameter Classes GET {{baseUrl}}/list/classes?email={{email}}&key={{key}}
-
List of States FIPS Codes GET {{baseUrl}}/list/states?email={{email}}&key={{key}}
-
List of County Codes GET {{baseUrl}}/list/countiesByState?email={{email}}&key={{key}}&state={{state}}
-
AQI in CA by Date GET {{baseUrl}}/dailyData/byState?email={{email}}&key={{key}}¶m={{param}}&bdate=20200809&edate=20200811&state={{state}}
-
AQI in Mendo County by Date GET {{baseUrl}}/dailyData/byCounty?email={{email}}&key={{key}}¶m={{param}}&bdate=20201006&edate=20201006&state={{state}}&county=045
-
Mendocino County Aug 2020 data GET {{baseUrl}}/dailyData/byCounty?email={{email}}&key={{key}}¶m={{param}}&bdate=20200801&edate=20200831&county=045&state=06
-
Sonoma August 2020 GET {{baseUrl}}/dailyData/byCounty?key={{key}}&email={{email}}¶m={{param}}&bdate=20180801&edate=20180831&county=097&state=06
-
List of Site Codes GET {{baseUrl}}/list/sitesByCounty?email={{email}}&key={{key}}&state={{state}}&county={{county}}