Historical air quality measurements (hourly averages) (XML)

This dataset provides historical data on air quality and related environmental parameters from selected environmental stations. The data are aggregated in hourly intervals and contain average values ​​of concentrations of pollutants, dust particles and other quantities in the specified time range. The dataset is suitable for analytical purposes, long-term trend monitoring and air quality assessment. Graphical data visualization as well as the display of device locations on the map can be found on the public portal.

Author
Platforma Invipo

Format
XML

License
Open Database License (ODbL)

Last modified
26. 3. 2026

Request

GET https://opendata.zilina.sk/api/datasets/v2/environment-monitoring/history?outputType=xml

Parameters

{
  "itemId": [
    "651ebcc63d55d70001ff67ba"
  ],
  "type": "hourly",
  "from": "2025-12-09 07:00:00.000Z",
  "to": "2025-12-09 13:00:00.000Z"
}
itemId (array of string, required) – List of environmental station identifiers for which historical data should be loaded.
type (string, required) – Data aggregation method. The value "hourly" means hourly averages of measured quantities.
from (string, required, date and time) – Starting time point of the interval from which data should be loaded (inclusive). The format corresponds to date and time in UTC (e.g. "2025-12-09 07:00:00.000Z").
to (string, required, date and time) – End time point of the interval to which data should be loaded (inclusive).


USER GUIDE

Detailed instructions for querying datasets are available here.

Answer

[
  {
    "timestamp": "2025-12-09T07:00:00.000Z",
    "airCo": 79.82142857142857,
    "airSo2": 2.8569999999999998,
    "airPm1": 24.928571428571427,
    "airPm10": 28.5,
    "airPm25": 27.714285714285715,
    "airNo2": 20.033687129295686,
    "roadStatus": [],
    "fog": false,
    "airPm4": 28
  },
  {
    "timestamp": "2025-12-09T08:00:00.000Z",
    "airCo": 60.90277777777778,
    "airSo2": 2.8569999999999998,
    "airPm1": 26.88888888888889,
    "airPm10": 31.61111111111111,
    "airPm25": 30.055555555555557,
    "airNo2": 18.82047954275931,
    "roadStatus": [],
    "fog": false,
    "airPm4": 30.72222222222222
  },
  ...
]
Datasets user guide