7-Day Historical AQI
Daily AQI for the 7 days before today, for the nearest US air quality monitoring station within 50 miles.
Daily AQI for the 7 days before today, for the nearest US air quality monitoring station within 50 miles. Observations are preliminary, unvalidated data; see Data credits.
days always has 7 entries, oldest first. A day with no monitor data available returns null
aqi/category/color for that entry rather than omitting the day, so the array length is
always predictable.
Token-based authentication with required prefix "Token"
In: header
Query Parameters
Latitude in decimal degrees (Northern Hemisphere only).
floatLongitude in decimal degrees.
floatResponse Body
application/json
application/json
application/json
curl -X GET "https://example.com/forecast/aqi/history/?lat=32.78&lon=-96.8"{ "location": { "lat": 47.6062, "lon": -122.3321 }, "days": [ { "date": "2026-07-30", "aqi": 24, "category": "Good", "color": "#00E400", "parameter": "PM2.5", "reporting_area": "Seattle" }, { "date": "2026-07-31", "aqi": 31, "category": "Good", "color": "#00E400", "parameter": "PM2.5", "reporting_area": "Seattle" }, { "date": "2026-08-01", "aqi": 45, "category": "Good", "color": "#00E400", "parameter": "PM2.5", "reporting_area": "Seattle" }, { "date": "2026-08-02", "aqi": 58, "category": "Moderate", "color": "#FFFF00", "parameter": "PM2.5", "reporting_area": "Seattle" }, { "date": "2026-08-03", "aqi": 41, "category": "Good", "color": "#00E400", "parameter": "PM2.5", "reporting_area": "Seattle" }, { "date": "2026-08-04", "aqi": 29, "category": "Good", "color": "#00E400", "parameter": "PM2.5", "reporting_area": "Seattle" }, { "date": "2026-08-05", "aqi": 22, "category": "Good", "color": "#00E400", "parameter": "PM2.5", "reporting_area": "Seattle" } ], "aqi_standard": "EPA 40 CFR Part 58 Appendix G (2024 NAAQS, Good <= 9.0 ug/m3)"}Air Quality
Current AQI and hourly smoke and PM2.5 forecasts out to 120 hours for the contiguous US.
Current AQI with Smoke Cross-Check GET
Current AQI observation from the nearest US air quality monitoring station within 50 miles, plus an optional forecast cross-check for locations where the nearest station may be too far away to catch...

