Request
POST https://odpzilina.invipo.partners/api/datasets/v2/environment-monitoring/history
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).
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
},
...
]
timestamp (string) – Timestamp to which the aggregated (hourly) measurement values relate.
airCo (number) – Average concentration of carbon monoxide (CO) for a given hour.
airSo2 (number) – Average concentration of sulfur dioxide (SO₂) for a given hour.
airPm1 (number) – Average concentration of PM1 particles for a given hour.
airPm4 (number) – Average concentration of PM4 particles for a given hour.
airPm10 (number) – Average concentration of PM10 particles for a given hour.
airPm25 (number) – Average concentration of PM2.5 particles for a given hour.
airNo2 (number) – Average concentration of nitrogen dioxide (NO₂) for a given hour.
roadStatus (array) – Optional information about the road condition at a given time (the field can be empty if data is not available).
fog (boolean) – Information about the occurrence of fog in the monitored time period (true = fog, false = no fog).
The response can contain multiple objects in the array, each representing one time period (e.g. one hour) in the specified interval.