Lanes
Returns the sum of vehicles by lanes and classes within a specified time range.
Publisher
Transport Department, City of Trnava
Format
API JSON
License
CC BY 4.0
Update frequency
Continuously updated
Last modified
3. 11. 2026
Download data
- API JSON Sample
- CSV Sample
- XML Sample
- API Documentation
Parameters
{
"from": "2026-10-21T00:00:00.000Z",
"itemId": "6565b787d8d78d00013c4fcf",
"to": "2026-10-22T00:00:00.000Z"
}
Request
POST https://opendata.trnava.sk/api/datasets/v1/traffic-counters/statistics/lanes
Answer
[
{
"count": 32420,
"timestamp": "2026-10-21T00:00:00.000Z"
}
]
Request
GET https://opendata.trnava.sk/api/datasets/v1/traffic-counters/statistics/lanes?outputType=csv
Answer
"count","timestamp"
32420,"2026-10-21T00:00:00.000Z"
Request
GET https://opendata.trnava.sk/api/datasets/v1/traffic-counters/statistics/lanes?outputType=xml
Answer
<root>
<item>
<count>32420</count>
<timestamp>2026-10-21T00:00:00.000Z</timestamp>
</item>
</root>