Get the app

Free live air quality widget for your website

Show your readers today's air: a small card with your city's live AQI, its category and one line of advice, from official monitoring stations. Free for news sites, schools, running clubs and anyone else.

Showing Salt Lake City.

2. Pick a theme

Auto follows each reader's light or dark setting.

3. Copy the code

Script tag (recommended): paste where the card should appear. It sizes itself and loads only when scrolled into view.

<div data-goodair-city="usa/salt-lake-city-ut"><a href="https://goodairapp.com/air-quality/usa/salt-lake-city-ut/">Salt Lake City air quality</a></div>
<script src="https://goodairapp.com/embed.js" async></script>

Plain iframe, for site builders that strip scripts:

<iframe src="https://goodairapp.com/embed/usa/salt-lake-city-ut/" title="Salt Lake City air quality" width="320" height="180" loading="lazy" style="border:0;border-radius:20px;max-width:100%"></iframe>
<p style="margin:4px 0 0;font-size:12px"><a href="https://goodairapp.com/air-quality/usa/salt-lake-city-ut/">Salt Lake City air quality</a> by Good Air</p>

Terms

Widget questions

Where does the widget's data come from?

From the same official monitoring stations as Good Air's city pages: the US EPA's AirNow in the United States, Environment and Climate Change Canada, CPCB in India, Japan's Ministry of the Environment, and other government networks. When a station goes quiet the card says so and shows its last daily average with the date. It never shows a model estimate as a measurement.

How often does it update?

Stations report about once an hour, and the card picks up each new reading within 10 minutes. An open page reloads the card every 15 minutes, so a screen in a school hallway or a newsroom stays current.

Does it slow down my page or track my readers?

No. The card is one small HTML page with no scripts, cookies or trackers, and it loads lazily when it scrolls into view. The script option is under 2 KB.

Which cities can I show?

Any of the roughly 1,200 cities with a live page on Good Air, in the US, Canada, India, Japan, China, Southeast Asia, Europe and more. Search for yours above.

Need the raw data instead? See the free JSON API and MCP server.