AQI in CA by Date
GET {{baseUrl}}/dailyData/byState?email={{email}}&key={{key}}¶m={{param}}&bdate=20200809&edate=20200811&state={{state}}
There are several different parameter codes. 88101 is PM2.5 LOCAL CONDITIONS, and 88502 is SPECIATION MASS.
The parameter information has further explanation on the Air Data - Frequent Questions page: https://www.epa.gov/outdoor-air-quality-data/air-data-frequent-questions
bdate is beginning date, shown as YYYYMMDD and edate is the ending date. Replace these dates for the time period you are looking for.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
email | string | ||
key | string | ||
param | string | ||
bdate | number | ||
edate | number | ||
state | string |