Air Quality API

GET

Show particulate matter and health recommendations in your app.

Air Quality reports particulate pollution levels and health recommendations for any city or zip code. Look up PM2.5 and PM10 concentrations to check current air conditions; paid plans add ozone, toxic gases, and EPA index scores.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/airquality?city=San%20Francisco
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "pm2_5": 16.75,
    "pm10": 18.85,
    "carbonMonoxide": 387.85,
    "ozone": 9,
    "nitrogenDioxide": 38.55,
    "sulfurdioxide": 5.95,
    "usEpaIndex": 2,
    "gbDefraIndex": 2,
    "recommendation": "The air quality in San Francisco is good. It is safe to go outside.",
    "city": "San Francisco"
  }
}

About the Air Quality API

Air Quality works by retrieving the air quality data from various reliable sources and providing it in a structured format. You can expect accurate and up-to-date information.

What people use it for

HVAC Air Intake Automation
Smart thermostat controllers read local PM2.5 and PM10 concentrations to automatically switch ventilation systems to internal recirculation during high pollution spikes.
Outdoor Workout Planning
Fitness mobile apps show runners actionable health recommendations and particulate ratings by city before they start an outdoor training session.
Property Environmental Profiles
Display local particulate measurements and health advice on real estate listings so buyers can evaluate neighborhood environmental quality.
School Sports Scheduling
When particulate counts exceed safe thresholds, athletic directors consult real-time pollution readings and health recommendations to move student practices indoors.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Air Quality

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Air Quality API.

Read the docs
How many air quality checks does the Free plan cover?
The Free plan gives you 20 checks every month at 10 credits per call. For higher volume, the Starter plan covers 20,000 monthly checks, which works out to about $1.50 per 1,000 calls.
Do I get US EPA index ratings and gas pollutant levels on the Free plan?
No, index ratings and specific gas readings require a paid plan. The Free plan returns particulate matter measurements (PM2.5 and PM10) alongside health recommendations. Upgrading to Starter or above unlocks the US EPA index, UK DEFRA index, carbon monoxide, ozone, nitrogen dioxide, and sulfur dioxide data.
Can I query air quality by postal code as well as city name?
Yes, you can look up readings using either a city name or a postal zip code through separate endpoints. Both endpoints return the same pollutant measurements and health recommendations, with index ratings on paid plans.
What health guidance is provided with the pollution readings?
Every successful response includes an assessment and actionable health recommendation based on current air quality. It accompanies the PM2.5 and PM10 particulate levels on all plans, and aligns with the EPA and DEFRA index scales on paid plans.
Can I display this air quality data inside a commercial product?
Yes, as long as you are on a paid plan. Commercial use is permitted on Starter and above to power health monitors, local dashboards, or customer alerts. You may not resell or redistribute the raw air quality data as-is.

Ready to build with Air Quality? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs