Current air quality
get_air_qualityPM2.5 now in a city (mean of the latest reading of each eligible sensor, at most 60 minutes old) with its US EPA category and the weather now (temperature, humidity, pressure, wind, clouds, precipitation), plus the last completed day from the Atmy Data Hub with its weather. Pass city or lat/lon.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude; with lon, the nearest city with an Atmy summary within 50 km. | |
| lon | No | Longitude. | |
| city | No | City name in any of the site languages, a slug like "russia/krasnoyarsk", or the Atmy city id. | |
| lang | No | Language of city and country names and of the page link; default en. | |
| country | No | Country name, to tell apart cities with the same name. |