Dennery AgentNative

All API connectors

EPA Air Quality System: certified air pollution measurements by site, county and year

US EPA Air Quality System (AQS): the regulatory record of outdoor air pollution measured at monitoring sites across the United States. Annual summaries (means, maxima, percentiles, exceedances of the national standards) by site, county or bounding box; daily values with the Air Quality Index for a site; monitor details; quality assurance audits; and the state, county, site, metro area and parameter code lists.

No API key needed to call. The provider needs an API key; AgentNative holds it.

Source
US EPA Air Quality System (AQS) Data Mart API
Licence and terms
US federal work, 17 U.S.C. 105(a); AQS API user limits apply
Coverage
United States, Puerto Rico and the US Virgin Islands; 1980 to the most recent certified and provisional data
Refresh cadence
Answers are shared and cached for 86400 seconds.

Questions you can ask

Operations

AQS state codes

Answers: what is the two-digit code AQS uses for each state and territory?

Example: Which state codes does the EPA Air Quality System use?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_states","params":{}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_states'

AQS counties in a state

Answers: which counties does a state have in AQS, and what is each county's three-digit code? Optionally filter by name.

staterequired, string, Two-digit state FIPS code, from epa_aqs_states (06 is California).
name_containsoptional, string, Keep counties whose name contains this text.

Example: What is the AQS county code for Santa Clara County, California?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_counties","params":{"state":"06","name_contains":"Santa"}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_counties?state=06&name_contains=Santa'

AQS monitoring sites in a county

Answers: which air monitoring sites are in a county, and what is each site's number and local name?

staterequired, string, Two-digit state FIPS code, from epa_aqs_states (06 is California).
countyrequired, string, Three-digit county FIPS code, from epa_aqs_counties.

Example: Which air quality monitoring sites are in Santa Clara County?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_sites","params":{"state":"06","county":"085"}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_sites?state=06&county=085'

AQS metro area (CBSA) codes

Answers: what is the Core Based Statistical Area code for a metro area? Filter by name; there are about 1,000.

name_containsrequired, string, Text the metro area name contains.

Example: What is the CBSA code for the San Jose metro area?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_cbsas","params":{"name_contains":"San Jose"}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_cbsas?name_contains=San+Jose'

AQS parameter classes

Answers: which groups of pollutants and measurements does AQS organise its parameter codes into (criteria pollutants, air toxics, meteorology and so on)?

Example: What kinds of air measurements does the EPA Air Quality System hold?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_parameter_classes","params":{}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_parameter_classes'

AQS parameter codes in a class

Answers: which parameter codes belong to a class, for example the criteria pollutants, so they can be used with the data operations?

classrequired, string, Class code from epa_aqs_parameter_classes, such as CRITERIA or AIRNOW MAPS.
name_containsoptional, string, Keep parameters whose name contains this text.

Example: What are the AQS parameter codes for the criteria air pollutants?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_parameters","params":{"class":"CRITERIA"}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_parameters?class=CRITERIA'

Air monitors in a county for a pollutant

Answers: which monitors measure a pollutant in a county, who operates them, what method and network they use, and when they opened or closed?

paramrequired, string, Five-digit AQS parameter code: 88101 PM2.5, 81102 PM10, 44201 ozone, 42602 nitrogen dioxide, 42401 sulfur dioxide, 42101 carbon monoxide, 14129 lead. More from epa_aqs_parameters.
staterequired, string, Two-digit state FIPS code, from epa_aqs_states (06 is California).
countyrequired, string, Three-digit county FIPS code, from epa_aqs_counties.
yearrequired, integer, Calendar year.

Example: Which PM2.5 monitors operate in Santa Clara County?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_monitors","params":{"param":"88101","state":"06","county":"085","year":2024}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_monitors?param=88101&state=06&county=085&year=2024'

Annual air quality summary for every site in a county

Answers: for a pollutant and year, what were the annual mean, highest values, 98th and 99th percentiles and exceedance counts at each monitoring site in a county?

paramrequired, string, Five-digit AQS parameter code: 88101 PM2.5, 81102 PM10, 44201 ozone, 42602 nitrogen dioxide, 42401 sulfur dioxide, 42101 carbon monoxide, 14129 lead. More from epa_aqs_parameters.
staterequired, string, Two-digit state FIPS code, from epa_aqs_states (06 is California).
countyrequired, string, Three-digit county FIPS code, from epa_aqs_counties.
yearrequired, integer, Calendar year.
eventsoptional, string, included | excluded | all, default included, Exceptional events such as wildfires: included keeps every measurement, excluded drops values the agency flagged as events, all returns both views.

Example: What was the annual average PM2.5 at each monitor in Santa Clara County in 2023?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_annual_county","params":{"param":"88101","state":"06","county":"085","year":2023}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_annual_county?param=88101&state=06&county=085&year=2023'

Annual air quality summary for one site

Answers: for a pollutant and year at one monitoring site, what were the annual mean, highest values, percentiles and exceedances of the national standards?

paramrequired, string, Five-digit AQS parameter code: 88101 PM2.5, 81102 PM10, 44201 ozone, 42602 nitrogen dioxide, 42401 sulfur dioxide, 42101 carbon monoxide, 14129 lead. More from epa_aqs_parameters.
staterequired, string, Two-digit state FIPS code, from epa_aqs_states (06 is California).
countyrequired, string, Three-digit county FIPS code, from epa_aqs_counties.
siterequired, string, Four-digit site number, from epa_aqs_sites.
yearrequired, integer, Calendar year.
eventsoptional, string, included | excluded | all, default included, Exceptional events such as wildfires: included keeps every measurement, excluded drops values the agency flagged as events, all returns both views.

Example: How many days did ozone exceed the standard at the San Jose Jackson Street monitor in 2023?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_annual_site","params":{"param":"44201","state":"06","county":"085","site":"0005","year":2023}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_annual_site?param=44201&state=06&county=085&site=0005&year=2023'

Annual air quality summary near a point

Answers: for a pollutant and year, what were the annual summaries at monitoring sites near a latitude and longitude? Searches a box around the point.

paramrequired, string, Five-digit AQS parameter code: 88101 PM2.5, 81102 PM10, 44201 ozone, 42602 nitrogen dioxide, 42401 sulfur dioxide, 42101 carbon monoxide, 14129 lead. More from epa_aqs_parameters.
yearrequired, integer, Calendar year.
eventsoptional, string, included | excluded | all, default included, Exceptional events such as wildfires: included keeps every measurement, excluded drops values the agency flagged as events, all returns both views.
latituderequired, number, Latitude of the point.
longituderequired, number, Longitude of the point.
radius_degreesoptional, number, default 0.25, Half-width of the box in degrees (about 111 km per degree of latitude).

Example: What were the 2023 ozone levels at monitors near downtown San Jose?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_annual_near","params":{"param":"44201","year":2023,"latitude":37.3382,"longitude":-121.8863}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_annual_near?param=44201&year=2023&latitude=37.3382&longitude=-121.8863'

Daily air quality values and AQI for one site

Answers: what was the daily mean and highest value of a pollutant, and the daily Air Quality Index, at a monitoring site over a date range of up to 31 days?

paramrequired, string, Five-digit AQS parameter code: 88101 PM2.5, 81102 PM10, 44201 ozone, 42602 nitrogen dioxide, 42401 sulfur dioxide, 42101 carbon monoxide, 14129 lead. More from epa_aqs_parameters.
staterequired, string, Two-digit state FIPS code, from epa_aqs_states (06 is California).
countyrequired, string, Three-digit county FIPS code, from epa_aqs_counties.
siterequired, string, Four-digit site number, from epa_aqs_sites.
start_daterequired, string, First day, YYYY-MM-DD.
end_daterequired, string, Last day, YYYY-MM-DD, in the same year and at most 31 days after the first.

Example: What was the daily PM2.5 and AQI at the San Jose Jackson Street monitor in the first week of 2024?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_daily_site","params":{"param":"88101","state":"06","county":"085","site":"0005","start_date":"2024-01-01","end_date":"2024-01-07"}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_daily_site?param=88101&state=06&county=085&site=0005&start_date=2024-01-01&end_date=2024-01-07'

Quality assurance audits of monitors in a state

Answers: how did a state's monitors for a pollutant perform in their annual quality assurance audits? For each audit, the monitor reading against the known audit concentration at each tested level, and the percent difference.

paramrequired, string, Five-digit AQS parameter code: 88101 PM2.5, 81102 PM10, 44201 ozone, 42602 nitrogen dioxide, 42401 sulfur dioxide, 42101 carbon monoxide, 14129 lead. More from epa_aqs_parameters.
staterequired, string, Two-digit state FIPS code, from epa_aqs_states (06 is California).
yearrequired, integer, Calendar year.
countyoptional, string, Keep audits for this three-digit county code only.

Example: How did ozone monitors in Santa Clara County do in their 2023 quality audits?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"epa_aqs","operation":"epa_aqs_qa_audits","params":{"param":"44201","state":"06","year":2023,"county":"085"}}}

Over HTTP

curl '/v1/connectors/epa_aqs/epa_aqs_qa_audits?param=44201&state=06&year=2023&county=085'

Source notice

Source: US Environmental Protection Agency, Air Quality System. Recent values can be revised by the reporting agency until certified. US federal government works are not subject to copyright: 17 U.S.C. 105(a) states "Copyright protection under this title is not available for any work of the United States Government". Not endorsed by the EPA.