AgentNative

All datasets

EPA annual Air Quality Index summary by county, last ten years

EPA AirData annual AQI summary for every US county with monitoring, one row per county and year for the last ten calendar years including the current partial year: days with an AQI, days in each category (good, moderate, unhealthy for sensitive groups, unhealthy, very unhealthy, hazardous), maximum, 90th percentile and median AQI, and days each pollutant (CO, NO2, ozone, PM2.5, PM10) was the main pollutant. County FIPS codes are not in the source file. AgentNative normalizes the source and charges a fee for querying it. The data is available directly from https://aqs.epa.gov/aqsweb/airdata/download_files.html#AQI.

Source
https://aqs.epa.gov/aqsweb/airdata/download_files.html#AQI
Data as of
2026-12-01
Refresh cadence
About every 24 hours
Rows
9,890
Source terms
No explicit licence found; see source terms

Questions this answers

Columns and sample rows

ColumnTypeUnitDescriptionSample 1Sample 2Sample 3
statestring-State nameAlabamaAlabamaAlabama
countystring-County nameBaldwinClayColbert
yearinteger-Calendar year; the current year is partial201720172017
days_with_aqiinteger-Days with an AQI value270118283
good_daysinteger-Days AQI 0 to 5022476244
moderate_daysinteger-Days AQI 51 to 100454239
unhealthy_sensitive_daysinteger-Days AQI 101 to 150100
unhealthy_daysinteger-Days AQI 151 to 200000
very_unhealthy_daysinteger-Days AQI 201 to 300000
hazardous_daysinteger-Days AQI above 300000
max_aqiinteger-Maximum daily AQI1086967
aqi_90th_percentileinteger-90th percentile daily AQI565753
median_aqiinteger-Median daily AQI394039
days_cointeger-Days carbon monoxide was the main pollutant000
days_no2integer-Days nitrogen dioxide was the main pollutant000
days_ozoneinteger-Days ozone was the main pollutant1880202
days_pm25integer-Days PM2.5 was the main pollutant8211881
days_pm10integer-Days PM10 was the main pollutant000

Query it

Over MCP

Free: three sample rows

{"tool":"sample_imported_dataset","arguments":{"dataset_id":"core-epa-aqi-county-annual"}}

Free: an unfiltered page of 25 rows

{"tool":"query_imported_dataset","arguments":{"dataset_id":"core-epa-aqi-county-annual","top":25,"skip":0}}

Query fee applies: filter by a column value

{"tool":"query_imported_dataset","arguments":{"dataset_id":"core-epa-aqi-county-annual","where":[{"field":"state","op":"contains","value":"text"}],"top":10}}

Over HTTP

Free: three sample rows

curl 'https://agentnative.dennery.ai/v1/warehouse/sample/core-epa-aqi-county-annual'

Free: an unfiltered page of 25 rows

curl 'https://agentnative.dennery.ai/v1/warehouse/query/core-epa-aqi-county-annual?$top=25&$skip=0'

Query fee applies: filter by a column value

curl 'https://agentnative.dennery.ai/v1/warehouse/query/core-epa-aqi-county-annual?$filter_field=state&$filter_value=text&$top=10'

An unpaid filtered request returns HTTP 402 with the number of matching rows, the price and the exact call to pay for it.

Query fee, not a data sale

We do not sell this dataset and it is not available only through us. You can get it from the source at any time. The fee pays for the work of finding it, keeping it current, normalizing it, filtering and calculating over it and answering in one small response. Unfiltered pages of up to 25 rows and top-10 summaries are free. A non-empty filtered, sorted or larger result costs USD 0.01.

Common questions

Where does this data come from?

Every answer names the source and links to it: https://aqs.epa.gov/aqsweb/airdata/download_files.html#AQI.

How current is it?

The data is as of 2026-12-01 and is refreshed about every 24 hours.

What does a query cost?

Three sample rows, unfiltered pages of 25 rows and top-10 summaries are free. A non-empty filtered, sorted or larger result costs USD 0.01.