AirNow - AQI

GET https://www.airnowapi.org/aq/observation/zipCode/current/?format=application/json&distance=25&API_KEY={{airnowkey}}&zipCode={{zipcode}}

This API uses the AIRNow API to get the current AQI for a specified zip code.



AirNow API

Request Params

KeyDatatypeRequiredDescription
formatstringRequired

The response format. | | distance | number | | Required

How big of an area should the API search in. Unit = Miles | | API_KEY | string | | Required

Authentication Key | | zipCode | string | | Required

The specified zip code. |

RESPONSES

status: OK

[{"DateObserved":"2021-06-14 ","HourObserved":20,"LocalTimeZone":"PST","ReportingArea":"San Jose","StateCode":"CA","Latitude":37.33,"Longitude":-121.9,"ParameterName":"O3","AQI":31,"Category":{"Number":1,"Name":"Good"}},{"DateObserved":"2021-06-14 ","HourObserved":20,"LocalTimeZone":"PST","ReportingArea":"San Jose","StateCode":"CA","Latitude":37.33,"Longitude":-121.9,"ParameterName":"PM2.5","AQI":28,"Category":{"Number":1,"Name":"Good"}}]