Parking Occupancy Trend

Returns parking occupancy trend within the specified time period. 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

Update frequency
Hourly

Last modified
3. 11. 2026

Download data

Parameters

{
  "id": "6abf3bf05ad617000142eebf",
  "period": "day"
}

Request

POST https://opendata.trnava.sk/api/datasets/v1/parking/statistics/parking-occupancy-trend

Answer

[
    {
        "timestamp": "2026-10-11T16:00:00.000Z",
        "value": 100
    },
    {
        "timestamp": "2026-10-11T17:00:00.000Z",
        "value": 77
    }
]

Request

GET https://opendata.trnava.sk/api/datasets/v1/parking/statistics/parking-occupancy-trend?outputType=csv

Answer

"timestamp","value"
"2026-10-11T16:00:00.000Z",100
"2026-10-11T17:00:00.000Z",77

Request

GET https://opendata.trnava.sk/api/datasets/v1/parking/statistics/parking-occupancy-trend?outputType=xml

Answer

<root>
  <item>
    <timestamp>2026-10-11T16:00:00.000Z</timestamp>
    <value>100</value>
  </item>
  <item>
    <timestamp>2026-10-11T17:00:00.000Z</timestamp>
    <value>77</value>
  </item>
</root>