Aggregated parking monitoring overview

Returns an aggregated overview of parking lot and parking zone occupancy (in %) for the last 24 hours in 10-minute intervals, grouped by hour. The optional area parameter (a list of parking lot or zone IDs) limits the output. Current data in graphical form as well as the display of parking lots on the map can be found on the public portal.

Publisher
Transport Department, City of Trnava

Format
API JSON

License
CC BY 4.0

Last modified
11. 11. 2026

Download data

Request

POST https://opendata.trnava.sk/api/datasets/v2/parking/monitoring-total-overview

Answer

[
    {
        "timestamp": "2026-11-11T14:00:00.000Z",
        "values": [
            {
                "timestamp": "2026-11-11T14:00:00.000Z",
                "value": 50
            },
            {
                "timestamp": "2026-11-11T14:10:00.000Z",
                "value": 100
            },
            {
                "timestamp": "2026-11-11T14:20:00.000Z",
                "value": 100
            },
            {
                "timestamp": "2026-11-11T14:30:00.000Z",
                "value": 50
            },
            {
                "timestamp": "2026-11-11T14:40:00.000Z",
                "value": 100
            },
            {
                "timestamp": "2026-11-11T14:50:00.000Z",
                "value": 50
            }
        ]
    },
    {
        "timestamp": "2026-11-11T13:00:00.000Z",
        "values": [
            {
                "timestamp": "2026-11-11T13:00:00.000Z",
                "value": 0
            },
            {
                "timestamp": "2026-11-11T13:10:00.000Z",
                "value": 0
            },
            {
                "timestamp": "2026-11-11T13:20:00.000Z",
                "value": 50
            },
            {
                "timestamp": "2026-11-11T13:30:00.000Z",
                "value": 100
            },
            {
                "timestamp": "2026-11-11T13:40:00.000Z",
                "value": 100
            },
            {
                "timestamp": "2026-11-11T13:50:00.000Z",
                "value": 50
            }
        ]
    }
]

Request

GET https://opendata.trnava.sk/api/datasets/v2/parking/monitoring-total-overview?outputType=csv

Answer

"timestamp","values.0.timestamp","values.0.value","values.1.timestamp","values.1.value","values.2.timestamp","values.2.value","values.3.timestamp","values.3.value","values.4.timestamp","values.4.value","values.5.timestamp","values.5.value"
"2026-11-11T14:00:00.000Z","2026-11-11T14:00:00.000Z",50,"2026-11-11T14:10:00.000Z",100,"2026-11-11T14:20:00.000Z",100,"2026-11-11T14:30:00.000Z",50,"2026-11-11T14:40:00.000Z",100,"2026-11-11T14:50:00.000Z",50
"2026-11-11T13:00:00.000Z","2026-11-11T13:00:00.000Z",0,"2026-11-11T13:10:00.000Z",0,"2026-11-11T13:20:00.000Z",50,"2026-11-11T13:30:00.000Z",100,"2026-11-11T13:40:00.000Z",100,"2026-11-11T13:50:00.000Z",50

Request

GET https://opendata.trnava.sk/api/datasets/v2/parking/monitoring-total-overview?outputType=xml

Answer

<root><item><timestamp>2026-11-11T14:00:00.000Z</timestamp><values><item><timestamp>2026-11-11T14:00:00.000Z</timestamp><value>50</value></item><item><timestamp>2026-11-11T14:10:00.000Z</timestamp><value>100</value></item><item><timestamp>2026-11-11T14:20:00.000Z</timestamp><value>100</value></item><item><timestamp>2026-11-11T14:30:00.000Z</timestamp><value>50</value></item><item><timestamp>2026-11-11T14:40:00.000Z</timestamp><value>100</value></item><item><timestamp>2026-11-11T14:50:00.000Z</timestamp><value>50</value></item></values></item><item><timestamp>2026-11-11T13:00:00.000Z</timestamp><values><item><timestamp>2026-11-11T13:00:00.000Z</timestamp><value>0</value></item><item><timestamp>2026-11-11T13:10:00.000Z</timestamp><value>0</value></item><item><timestamp>2026-11-11T13:20:00.000Z</timestamp><value>50</value></item><item><timestamp>2026-11-11T13:30:00.000Z</timestamp><value>100</value></item><item><timestamp>2026-11-11T13:40:00.000Z</timestamp><value>100</value></item><item><timestamp>2026-11-11T13:50:00.000Z</timestamp><value>50</value></item></values></item></root>