IQAir Air Quality Scraper avatar

IQAir Air Quality Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
IQAir Air Quality Scraper

IQAir Air Quality Scraper

Scrape IQAir.com for real-time air quality data - city and country AQI rankings, PM2.5, PM10, ozone levels, and historical data. No API key required.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Scrape IQAir.com for real-time air quality data — city and country AQI rankings, PM2.5, PM10, ozone levels, and more. IQAir is the world's leading air quality data platform covering 10,000+ cities across 100+ countries.

Features

  • City AQI rankings — get ranked lists of most/least polluted cities by country or globally
  • Country AQI rankings — global country-level air quality rankings
  • City AQI lookup — get AQI data for specific cities by name
  • Continent rankings — filter city rankings by continent (Asia, Europe, Americas, etc.)

Input

FieldTypeDescription
modeselectcityRankings, countryRankings, cityAQI, continentRankings
countrystringFilter city rankings by country (e.g. US, India, China)
continentselectFilter by continent for continentRankings mode
citiesarrayList of city names for cityAQI mode
maxItemsintegerMaximum records to return (default: 20, max: 500)

Output

FieldDescription
cityCity name
countryCountry name
stateState/province
rankPollution rank
aqiAir Quality Index (US AQI scale)
aqiCategoryGood / Moderate / Unhealthy for Sensitive Groups / Unhealthy / Very Unhealthy / Hazardous
pm25PM2.5 concentration (μg/m³)
pm10PM10 concentration (μg/m³)
o3Ozone level
no2Nitrogen dioxide level
populationCity population
cityUrlIQAir city page URL
countryUrlIQAir country page URL
scrapedAtISO timestamp of scrape

AQI Categories

AQI RangeCategory
0–50Good
51–100Moderate
101–150Unhealthy for Sensitive Groups
151–200Unhealthy
201–300Very Unhealthy
301+Hazardous

Example Input

{
"mode": "cityRankings",
"country": "US",
"maxItems": 20
}

Example Output

{
"city": "Los Angeles",
"country": "USA",
"state": "California",
"rank": 1,
"aqi": 120,
"aqiCategory": "Unhealthy for Sensitive Groups",
"pm25": 35.2,
"pm10": 55.0,
"population": 4000000,
"cityUrl": "https://www.iqair.com/usa/los-angeles",
"scrapedAt": "2026-06-02T10:00:00+00:00"
}

FAQs

Do I need an API key? No. This scraper uses IQAir's public website data without requiring registration.

How current is the data? IQAir updates data frequently (often hourly). Data reflects the state at time of scraping.

What's the AQI scale? US AQI (0–500). Higher values = worse air quality. AQI > 150 is considered unhealthy for general population.

What's PM2.5? Fine particulate matter with diameter < 2.5 micrometers — the most health-significant air pollutant tracked by IQAir.