Freely display indoor or outdoor air quality data on your website by using AirVisual’s air quality widget template.

Depending on your needs, you can create 3 different types of widget:

  1. City widget. Display either a selected city’s current air quality (e.g., useful for a city’s event listing or travel site), or be made to dynamically change based on the viewer's IP address location (e.g., useful for an international or nation-wide company or publication website).

  2. City + Pro/Node widget (indoor/outdoor). Display the contrast between indoor and outdoor conditions in your chosen location, between data from a Pro/Node and its nearest outdoor station. A handy tool for enterprises and organizations to be transparent with indoor air quality.

  3. Pro/Node widget. Display data from a Pro/Node anywhere

See an example by visiting: https://www.iqair.com/air-quality-widget

[hovering over the small black ‘pill’ causes additional information to appear below]

Widget showing Beijing AQI

Start creating your own customized widget here

Return to AirVisual Knowledge Base

Related news

View all

Red skies over smoky hills

Wildfire Map Spotlight: Madre Fire, California

The Madre Fire is the largest wildfire by acreage of 2025. Find out more about this fast-expanding fire.

Read more

Fire burning in the woods

Wildfire Map Spotlight: Interior Alaska Wildfires

Numerous wildfire complexes are burning in Alaska’s dry interior. Learn more about these fires.

Read more

Fire in a wooded hillside

Wildfire Map Spotlight: Wolf Fire, California

Evacuation orders have been given for a growing fire in Riverside County, California. Find out more about this fire.

Read more