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

Wildfire smoke on a wooded hill

Wildfire Map Spotlight: Marseille, France Wildfire

A fire near Marseille, France has closed the airport and is forcing residents indoors. Learn more about this fast-moving wildfire.

Read more

Plume of ash rising from volcano

Volcanic Eruption Map Spotlight: Mount Lewotobi Laki-laki, Indonesia

A volcanic eruption in Indonesia sparked evacuations and flight cancellations. Find out more about this volcanic eruption.

Read more

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