Get started
Air quality in Duaer
In Duaer: Daily air quality for a place, forecast and recent past: US AQI peak, PM2.5 and PM10 averages, ozone, and NO₂ from the Open-Meteo CAMS models. One successful search uses 1 credit.
What you get
Duaer Air quality folds hourly Open-Meteo air-quality model values into one row per local day, so an agent sees the daily PM2.5 mean and the worst US AQI hour at a glance.
Pick Duaer Data → Air quality in the node creator, or open the data market. Related: Weather forecast, WHO health statistics.
When to use it
- Warn staff or customers about a bad air day, or schedule outdoor work on cleaner days.
- Add pollution context to a health, retail, or travel report.
When not to use it
- Official station readings for regulatory use. These are model estimates on a grid of about 10 to 40 km.
- Temperature and rain. Use Weather forecast.
Search on the canvas
- Open the node creator and pick Duaer Data → Air quality.
- Fill Place (such as Delhi). Optional: Latitude, Longitude, Days, Past Days.
- Limit defaults to 10, max 20. Execute.
A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.
Call the API
- GET https://api.duaer.com/v1/data/air-quality?place=Delhi&days=3
- Authorization: Bearer <Duaer key>
The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.
Call skill
Same text as Copy skill.
---
name: duaer-air-quality
description: >-
Duaer Air quality. Daily air quality for a place, forecast and recent past: US AQI peak, PM2.5 and PM10 averages, ozone, and NO₂ from the Open-Meteo CAMS models.
One successful search uses 1 Duaer credit.
---
# Duaer Air quality
Duaer Air quality folds hourly Open-Meteo air-quality model values into one row per local day, so an agent sees the daily PM2.5 mean and the worst US AQI hour at a glance.
## When to use
- Warn staff or customers about a bad air day, or schedule outdoor work on cleaner days.
- Add pollution context to a health, retail, or travel report.
## When not to use
- Official station readings for regulatory use. These are model estimates on a grid of about 10 to 40 km.
- Temperature and rain. Use https://skills.duaer.com/weather.md.
## Call
`GET https://api.duaer.com/v1/data/air-quality?place=Delhi&days=3`
Header: `Authorization: Bearer <Duaer key>`
Use an account key or a model API key.
Get a Duaer key: https://skills.duaer.com/keys.md
## Parameters
Provide `place`, or `latitude` and `longitude`.
- `place` — City or place name. Leave empty when you enter latitude and longitude.
- `latitude` — Optional. Decimal degrees from -90 to 90. Use with longitude instead of a place.
- `longitude` — Optional. Decimal degrees from -180 to 180.
- `days` — Optional. Forecast days from 1 to 7. Default 5.
- `pastDays` — Optional. Also return up to 92 past days. Default 0.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.
## Examples
- `GET https://api.duaer.com/v1/data/air-quality?place=Delhi&days=3` — next three days in Delhi.
- `GET https://api.duaer.com/v1/data/air-quality?place=Beijing&days=1&pastDays=7` — the last week and today.
## Result
The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:
- `place`, `latitude`, `longitude` — where the rows are for.
- `date` — local day.
- `usAqiMax` — highest hourly US AQI that day.
- `pm25Mean`, `pm25Max` — PM2.5 daily mean and peak in µg/m³.
- `pm10Mean` — PM10 daily mean in µg/m³.
- `ozoneMax`, `no2Mean` — ozone peak and NO₂ mean in µg/m³.
Fields without a value are left out.
## Credits
A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.
## Related
- https://skills.duaer.com/weather.md — Duaer Weather forecast
- https://skills.duaer.com/who-gho.md — Duaer WHO health statistics
Questions
How many credits does a Air quality search use in Duaer?
One credit when Duaer returns rows. A search with no rows or an error uses 0.
Is Duaer air quality a station reading?
No. Duaer air quality comes from the CAMS atmosphere models via Open-Meteo, which estimate values on a grid.
In this section
Weather forecast in Duaer
In Duaer: Daily forecast for any city or coordinates, up to 16 days: conditions, high and low, rain amount and chance, and peak wind, from Open-Meteo. One successful search uses 1 credit.
Get startedWHO health statistics in Duaer
In Duaer: Country health statistics from the WHO Global Health Observatory: life expectancy, mortality, disease burden, risk factors, and health systems, by year and sex. One successful search uses 1 credit.