US EPA air quality data and forecasts.
AirNow API is a free Environment API that requires apiKey authentication, is served over HTTPS and supports CORS, so it can be called from the browser.
Details from docs.airnowapi.org.

Unified API suite · now live
Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.
API to calculate carbon (C02) emissions estimates for common C02 emitting activities
Calculate the environmental footprint created by a broad range of emission-generating activities
The AirNow API is provided by AirNow API Documentation (docs.airnowapi.org).
Yes. The AirNow API is listed in the Environment category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.
Yes. The AirNow API uses apiKey authentication, so you need to register for credentials before making requests.
Yes. The AirNow API supports CORS, so front-end JavaScript can call it directly.
Yes. The AirNow API is served over HTTPS, so it's safe to use in production.