
Air Quality Scraper
hipersoft/air-quality-scraper
Get current air quality for any place name or coordinates: US & European AQI, PM2.5, PM10, ozone, NO2, SO2, CO, dust and UV, plus optional hourly series — as JSON, CSV or Excel for apps, dashboards, alerts and n8n.
Total users
1Monthly users
0Total runs
37Per location scraped
$0.0004Last rebuilt
Oct 26, 2026Overview
Get live air quality for anywhere on Earth with the Air Quality Scraper. Enter place names or coordinates and export the US and European AQI, PM2.5, PM10, ozone, nitrogen dioxide, sulphur dioxide, carbon monoxide, dust and UV index for each — one clean row per location as JSON, CSV or Excel.
Built for health and wellness apps, smart-home and IoT dashboards, air-quality alerts, real-estate and travel tools, and environmental research, it turns messy pollutant readings into a structured dataset you can drop into any product or workflow.
What it does
- 🌍 Global coverage — air quality for any place name or latitude/longitude, worldwide.
- 🏭 Full pollutant panel — US AQI, European AQI, PM2.5, PM10, ozone, NO₂, SO₂, CO, dust and UV index.
- 🌱 Pollen ready — request grass, birch, alder and ragweed pollen where available.
- ⏱️ Current + hourly — a live snapshot plus an optional hourly forecast series.
- 📍 Name or coordinates — type "Delhi" or pass exact coordinates; mix both in one run.
- 📤 Export anywhere — JSON, CSV or Excel, or straight into an app, alert or dashboard.
Example output
{
"name": "Delhi",
"country": "India",
"latitude": 28.65,
"longitude": 77.23,
"time": "2026-09-22T05:00",
"usAqi": 168,
"pm2_5": 91.4,
"pm10": 142.7,
"ozone": 38.0,
"nitrogenDioxide": 44.1,
"uvIndex": 6.2,
"timezone": "Asia/Kolkata"
}
How to use it
- Add place names (one per line) and/or exact coordinates.
- Optionally adjust the current variables and add an hourly series.
- Run, and download the results as JSON, CSV or Excel.
Input fields
| Field | Description |
|---|---|
| Places (by name) | Place names to resolve and look up (e.g. Singapore, Delhi, Los Angeles). |
| Locations (by coordinates) | Exact {name, latitude, longitude} objects when you already know the coordinates. |
| Current variables | Which current-conditions metrics to include (AQI, PM2.5, ozone, UV…). |
| Hourly variables | Optional hourly series (leave empty for current conditions only). |
| Forecast days | Days of hourly data to fetch, 1–7 (affects the hourly series). |
| Timezone | auto for each location's local time, or an IANA name like Asia/Singapore. |
Output fields
name, query, latitude, longitude, country, admin1, elevation, timezone, time, usAqi, europeanAqi, pm2_5, pm10, ozone, nitrogenDioxide, sulphurDioxide, carbonMonoxide, dust, uvIndex, ammonia, aerosolOpticalDepth, current, hourly, scrapedAt.
Popular use cases
- Health & wellness apps — show a live AQI and pollutant breakdown by city.
- Air-quality alerts — trigger notifications when PM2.5 or AQI crosses a threshold.
- Smart-home & IoT dashboards — enrich indoor sensors with outdoor reference readings.
- Real estate & travel — compare air quality across neighborhoods or destinations.
- Research & analytics — build multi-city pollutant datasets for study and reporting.
FAQ
Do I need an account or key? No. Enter your places or coordinates and run.
Which pollutants are included? US AQI and European AQI plus PM2.5, PM10, ozone, nitrogen dioxide, sulphur dioxide, carbon monoxide, dust and UV — with pollen available in supported regions.
Can I get an hourly forecast, not just current conditions?
Yes — add hourly variables (e.g. pm2_5, ozone) and set the number of forecast days.
Can I look up many cities at once? Yes — add as many place names or coordinate objects as you like; each returns its own row.
Can I export to Excel or Google Sheets? Yes — results download as JSON, CSV or Excel and integrate with apps, alerts and dashboards.
Structured global air-quality data — AQI, PM2.5, PM10, ozone, NO₂ and UV by place or coordinates — clean and export-ready for apps, alerts, dashboards and research.
Input
| Field | Type | Description |
|---|---|---|
placesPlaces (by name) | array | Place names to look up, one per line (e.g. "Singapore", "Delhi", "Los Angeles"). Each name is resolved to coordinates automatically before its air quality is fetched. Use this OR the Locations field below (you can combine both). |
locationsLocations (by coordinates) | array | Exact coordinates as a list of objects: {"name": "HQ", "latitude": 1.29, "longitude": 103.85}. The optional name is used as a label; latitude and longitude are required. Use this when you already know the coordinates. |
currentCurrent variables | array | Current-conditions variables to include, one per line. Common options: us_aqi, european_aqi, pm2_5, pm10, ozone, nitrogen_dioxide, sulphur_dioxide, carbon_monoxide, dust, uv_index, ammonia, aerosol_optical_depth. Pollen (Europe): alder_pollen, birch_pollen, gr Default: ["us_aqi", "pm2_5", "pm10", "ozone", "nitrogen_dioxide", "su |
hourlyHourly variables (optional) | array | Optional hourly series variables, one per line (e.g. pm2_5, pm10, ozone, us_aqi). Leave empty to return only current conditions. |
forecastDaysForecast days | integer | How many days of hourly forecast to fetch, from today forward (1–7). Only affects the hourly series. Default: 3 |
timezoneTimezone | string | Timezone for the returned timestamps. Use "auto" to match each location's local time, or an IANA name like "Asia/Singapore" or "UTC". Default: "auto" |
proxyConfigurationProxy (optional) | object | Optional proxy settings for the run. Not required — the data is fetched over plain HTTP. Default: {"useApifyProxy": false} |
API
curl -X POST "https://api.apify.com/v2/acts/hipersoft~air-quality-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"places": [
"Singapore",
"Delhi",
"Los Angeles"
],
"locations": []
}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/air-quality-scraper").call(run_input={
"places": [
"Singapore",
"Delhi",
"Los Angeles"
],
"locations": []
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/air-quality-scraper').call({
"places": [
"Singapore",
"Delhi",
"Los Angeles"
],
"locations": []
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid plans from |
|---|---|---|
| Location scraped Air quality returned for one location | $0.0004 | $0.0002 |
You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.
Related scrapers
CNN Fear & Greed Index Scraper
Scrape the CNN Fear & Greed Index: current market-sentiment score and rating, a full historical timeline, and all seven component indicators. Clean structured JSON, CSV or Excel for trading signals, backtesting, dashboards and alerting.
547 runs · 6 users · $0.003 / item scrapedDivar Scraper
Scrape classified ads from Divar, Iran's largest marketplace: title, price (Toman), category, city, district, images and the listing URL. Search any Iranian city with an optional keyword and export one clean row per ad as JSON, CSV or Excel. For market research, price tracking and n8n.
224 runs · 22 users · $0.003 / listing scrapedAirbnb Scraper
Search Airbnb by location and scrape listings: name, property type, price, rating, reviews, coordinates, photos, badges and link. For short-term rental, pricing and market research.
122 runs · 2 users · $0.005 / listing scrapedSingapore HDB Property Information Scraper
Export master data for every HDB block in Singapore (~13,300 blocks): address, town, year completed, max floor, total units, unit mix by flat type (sold & rental) and amenities (market/hawker, carpark, commercial, pavilion). Filter by town, street, year. Public open data, no setup.
113 runs · 1 users · $0.002 / block scrapedPropertyGuru Singapore Scraper
Scrape PropertyGuru Singapore property listings: price, beds, baths, size, address, property type, agent and URL. For property research and lead generation.
106 runs · 3 users · $0.004 / listing scrapedEdgeProp Singapore Property Scraper
Scrape EdgeProp Singapore property listings for sale and rent: price, address, beds, baths, size, PSF and URL.
105 runs · 1 users · $0.004 / listing scrapedSend the site and the fields. We build it and you get it first.