Parking system vehicle statistics
This dataset provides statistical information about vehicle parking duration within a parking system. Current data in graphical form as well as the display of parking lots on the map can be found on the public portal. Parking system vehicle statistics are not collected in Trnava yet, so the endpoint returns an empty array.
Publisher
Transport Department, City of Trnava
Format
API JSON
License
CC BY 4.0
Last modified
11. 11. 2026
Download data
- API JSON Sample
- CSV Sample
- XML Sample
- API Documentation
Parameters
{
"id": "6abf3bf05ad617000142eebf",
"from": "2026-11-10T00:00:00.000Z",
"to": "2026-11-10T23:59:59.999Z"
}
id (string) – Parking system identifier.
from (string) – Start of the monitored period.
to (string) – End of the monitored period.
Request
POST https://opendata.trnava.sk/api/datasets/v1/parking/statistics/parking-system-vehicle-stats
Answer
[
{
"from": "2026-04-28T12:00:00.000Z",
"to": "2026-04-28T13:00:00.000Z",
"average": 0,
"median": 0,
"quantile": {
"10": 0,
"90": 0
}
},
{
"from": "2026-04-28T13:00:00.000Z",
"to": "2026-04-28T14:00:00.000Z",
"average": 0,
"median": 0,
"quantile": {
"10": 0,
"90": 0
}
}
]
average (number) – Average parking duration.
median (number) – Median parking duration.
quantile (object) – Distribution of durations.
Request
GET https://opendata.trnava.sk/api/datasets/v1/parking/statistics/parking-system-vehicle-stats?outputType=csv
Answer
"from","to","average","median","quantile"
"2026-04-28T12:00:00.000Z","2026-04-28T13:00:00.000Z",0,0,"{""10"":0,""90"":0}"
"2026-04-28T13:00:00.000Z","2026-04-28T14:00:00.000Z",0,0,"{""10"":0,""90"":0}"
"2026-04-28T14:00:00.000Z","2026-04-28T15:00:00.000Z",0,0,"{""10"":0,""90"":0}"
average (number) – Average parking duration.
median (number) – Median parking duration.
quantile (object) – Distribution of durations.
Request
GET https://opendata.trnava.sk/api/datasets/v1/parking/statistics/parking-system-vehicle-stats?outputType=xml
Answer
<root>
<item>
<from></from>
<to></to>
<average>0</average>
<median>0</median>
<quantile>
<10>0</10>
<90>0</90>
</quantile>
</item>
</root>
average (number) – Average parking duration.
median (number) – Median parking duration.
quantile (object) – Distribution of durations.