{"api":{"id":"api_d872fab1291ae26bcf1298ef","slug":"us-air-quality-index","name":"US Air Quality Index API","description":"Observed, yesterday and forecast air quality index (AQI) for every US reporting area from the EPA AirNow daily file: pollutant, AQI value, category, coordinates, action-day flag and the forecast discussion.","kind":"ready_made","visibility":"public","domain":"files.airnowtech.org","source_url":"https://files.airnowtech.org/airnow/today/reportingarea.dat","category":"environment","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":17,"created_at":"2026-12-06T03:57:27.723Z","updated_at":"2026-12-06T03:57:27.723Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Row key from area, state, pollutant, type and valid time.","required":true,"coverage":1,"example":"Baton Rouge Area|LA|PM2.5|observed|2026-12-05|21:00"},{"name":"issue_date","type":"date","description":"The day AirNow issued the row.","required":false,"coverage":1,"example":"2026-12-05"},{"name":"valid_date","type":"date","description":"The day the row is about.","required":false,"coverage":1,"example":"2026-12-05"},{"name":"valid_time","type":"string","description":"Hour of an observation, HH:MM; empty for daily values.","required":false,"coverage":0.6,"example":"21:00"},{"name":"time_zone","type":"string","description":"Time zone of valid_time, such as CST.","required":false,"coverage":1,"example":"CST"},{"name":"data_type","type":"string","description":"observed (latest), yesterday or forecast.","required":false,"coverage":1,"example":"observed"},{"name":"is_primary","type":"boolean","description":"Whether this pollutant sets the area's overall AQI.","required":false,"coverage":1,"example":true},{"name":"reporting_area","type":"string","description":"The reporting area, usually a city or region.","required":false,"coverage":1,"example":"Baton Rouge Area"},{"name":"state","type":"string","description":"Two-letter state code.","required":false,"coverage":1,"example":"LA"},{"name":"lat","type":"number","description":"Latitude of the reporting area.","required":false,"coverage":1,"example":30.449},{"name":"lon","type":"number","description":"Longitude of the reporting area.","required":false,"coverage":1,"example":-91.126},{"name":"parameter","type":"string","description":"Pollutant: PM2.5, PM10 or OZONE.","required":false,"coverage":1,"example":"PM2.5"},{"name":"aqi","type":"integer","description":"Air quality index value, 0 to 500.","required":false,"coverage":1,"example":45},{"name":"category","type":"string","description":"Good, Moderate, Unhealthy for Sensitive Groups, Unhealthy, Very Unhealthy or Hazardous.","required":false,"coverage":1,"example":"Good"},{"name":"action_day","type":"boolean","description":"Whether the agency called an air quality action day.","required":false,"coverage":1,"example":false},{"name":"discussion","type":"string","description":"The agency's forecast discussion.","required":false,"coverage":0.4,"example":"Saturday, as a cold front approaches from the west, southerly to south-southeasterly winds will strengthen in the…"},{"name":"agency","type":"string","description":"The agency that reported the area.","required":false,"coverage":1,"example":"Louisiana Department of Environmental Quality"}],"inputs":[{"name":"states","type":"array","description":"Two-letter state codes to keep. Empty means all states.","example":["SD"]},{"name":"cities","type":"array","description":"Reporting area names to keep, such as Aberdeen. Empty means all areas.","example":["Aberdeen"]},{"name":"include_forecast","type":"boolean","description":"Keep forecast rows too. Turn off for observed and yesterday rows only.","default":true,"example":true},{"name":"pollutant","type":"string","description":"Only this pollutant: PM2.5, PM10 or OZONE.","example":"PM2.5","enum":["PM2.5","PM10","OZONE"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"action_day":{"description":"Whether the agency called an air quality action day.","type":"boolean"},"agency":{"description":"The agency that reported the area.","type":"string"},"aqi":{"description":"Air quality index value, 0 to 500.","type":"integer"},"category":{"description":"Good, Moderate, Unhealthy for Sensitive Groups, Unhealthy, Very Unhealthy or Hazardous.","type":"string"},"data_type":{"description":"observed (latest), yesterday or forecast.","type":"string"},"discussion":{"description":"The agency's forecast discussion.","type":"string"},"id":{"description":"Row key from area, state, pollutant, type and valid time.","type":"string"},"is_primary":{"description":"Whether this pollutant sets the area's overall AQI.","type":"boolean"},"issue_date":{"description":"The day AirNow issued the row.","format":"date","type":"string"},"lat":{"description":"Latitude of the reporting area.","type":"number"},"lon":{"description":"Longitude of the reporting area.","type":"number"},"parameter":{"description":"Pollutant: PM2.5, PM10 or OZONE.","type":"string"},"reporting_area":{"description":"The reporting area, usually a city or region.","type":"string"},"state":{"description":"Two-letter state code.","type":"string"},"time_zone":{"description":"Time zone of valid_time, such as CST.","type":"string"},"valid_date":{"description":"The day the row is about.","format":"date","type":"string"},"valid_time":{"description":"Hour of an observation, HH:MM; empty for daily values.","type":"string"}},"required":["id"],"title":"US Air Quality Index API","type":"object"},"samples":[{"id":"Baton Rouge Area|LA|PM2.5|observed|2026-12-05|21:00","issue_date":"2026-12-05","valid_date":"2026-12-05","valid_time":"21:00","time_zone":"CST","data_type":"observed","is_primary":true,"reporting_area":"Baton Rouge Area","state":"LA","lat":30.449,"lon":-91.126,"parameter":"PM2.5","aqi":45,"category":"Good","action_day":false,"discussion":null,"agency":"Louisiana Department of Environmental Quality"},{"id":"Baton Rouge Area|LA|OZONE|observed|2026-12-05|21:00","issue_date":"2026-12-05","valid_date":"2026-12-05","valid_time":"21:00","time_zone":"CST","data_type":"observed","is_primary":false,"reporting_area":"Baton Rouge Area","state":"LA","lat":30.449,"lon":-91.126,"parameter":"OZONE","aqi":16,"category":"Good","action_day":false,"discussion":null,"agency":"Louisiana Department of Environmental Quality"},{"id":"Baton Rouge Area|LA|PM10|observed|2026-12-05|21:00","issue_date":"2026-12-05","valid_date":"2026-12-05","valid_time":"21:00","time_zone":"CST","data_type":"observed","is_primary":false,"reporting_area":"Baton Rouge Area","state":"LA","lat":30.449,"lon":-91.126,"parameter":"PM10","aqi":11,"category":"Good","action_day":false,"discussion":null,"agency":"Louisiana Department of Environmental Quality"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"action_day":1,"agency":1,"aqi":1,"category":1,"data_type":1,"discussion":0,"id":1,"is_primary":1,"issue_date":1,"lat":1,"lon":1,"parameter":1,"reporting_area":1,"state":1,"time_zone":1,"valid_date":1,"valid_time":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_d872fab1291ae26bcf1298ef/run","openapi":"https://pullrow.dev/v1/apis/api_d872fab1291ae26bcf1298ef/openapi.json","contract":"https://pullrow.dev/v1/apis/api_d872fab1291ae26bcf1298ef/contract.json","page":"https://pullrow.dev/catalog/us-air-quality-index"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["AirNow data are preliminary and unvalidated; they are not for regulatory use. AirNow asks users to credit AirNow (EPA and the reporting agencies) and not to alter AQI values.","A snapshot of the current AirNow daily file, about 5,800 rows across all areas, refreshed through the day (observations hourly); one run reads the whole file once.","aqi is empty for some forecast rows where the agency gave only a category.","discussion is filled only for forecast rows of agencies that write one, and is the same text on every row of that area.","Rows come ordered observed, forecast, then yesterday. Each area has several rows: one per pollutant and forecast day, and is_primary marks the pollutant that sets the area's overall AQI. At most 10,000 rows per run.","Reporting areas are US cities and regions (plus a few territories); there is no street-level or sensor-level data."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Row key from area, state, pollutant, type and valid time.","group":"Technical","shown":false,"written":false},{"name":"issue_date","label":"Issue date","description":"The day AirNow issued the row.","group":"Dates","shown":true,"written":false},{"name":"valid_date","label":"Valid date","description":"The day the row is about.","group":"Dates","shown":true,"written":false},{"name":"valid_time","label":"Valid time","description":"Hour of an observation, HH:MM; empty for daily values.","group":"Dates","shown":true,"written":false},{"name":"time_zone","label":"Time zone","description":"Time zone of valid_time, such as CST.","group":"Dates","shown":true,"written":false},{"name":"data_type","label":"Kind of record","description":"observed (latest), yesterday or forecast.","group":"Basics","shown":true,"written":false},{"name":"is_primary","label":"Primary","description":"Whether this pollutant sets the area's overall AQI.","group":"Basics","shown":true,"written":false},{"name":"reporting_area","label":"Reporting area","description":"The reporting area, usually a city or region.","group":"Basics","shown":true,"written":false},{"name":"state","label":"Two-letter state code","description":"","group":"Location","shown":true,"written":false},{"name":"lat","label":"Latitude","description":"Latitude of the reporting area.","group":"Basics","shown":true,"written":false},{"name":"lon","label":"Longitude","description":"Longitude of the reporting area.","group":"Basics","shown":true,"written":false},{"name":"parameter","label":"Parameter","description":"Pollutant: PM2.5, PM10 or OZONE.","group":"Basics","shown":true,"written":false},{"name":"aqi","label":"Aqi","description":"Air quality index value, 0 to 500.","group":"Basics","shown":true,"written":false},{"name":"category","label":"Category","description":"Good, Moderate, Unhealthy for Sensitive Groups, Unhealthy, Very Unhealthy or Hazardous.","group":"Basics","shown":true,"written":false},{"name":"action_day","label":"Action day","description":"Whether the agency called an air quality action day.","group":"Basics","shown":true,"written":false},{"name":"discussion","label":"Discussion","description":"The agency's forecast discussion.","group":"Basics","shown":true,"written":false},{"name":"agency","label":"Agency","description":"The agency that reported the area.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"states","label":"States","help":"Two-letter state codes to keep. Empty means all states.","example":"SD","written":false},{"name":"cities","label":"Cities","help":"Reporting area names to keep, such as Aberdeen. Empty means all areas.","example":"Aberdeen","written":false},{"name":"include_forecast","label":"Include forecast","help":"Keep forecast rows too. Turn off for observed and yesterday rows only.","example":"true","written":false},{"name":"pollutant","label":"Pollutant","help":"Only this pollutant: PM2.5, PM10 or OZONE.","example":"PM2.5","written":false}]}},"incidents":[]}