List of traffic counters
The dataset returns the devices of the traffic counters module in the city of Trnava: vehicle and cyclist counters, cameras counting vehicles and pedestrians, and travel time detectors. For each device it gives the name, class, producer, model, location and operating status, and for vehicle counters also the lane configuration. The data can be used to show the measurement sites on a map and to link them with the other traffic counter datasets by the device identifier.
Publisher
Transport Department, City of Trnava
Format
API JSON
License
CC BY 4.0
Update frequency
Irregular
Last modified
11. 11. 2026
Download data
- API JSON Sample
- CSV Sample
- XML Sample
- API Documentation
Parameters
The dataset has no parameters, the request body is an empty object {}.
Request
POST https://opendata.trnava.sk/api/datasets/v2/traffic-counters/measurement-sites
Answer
[
{
"name": "CCTV KD1_K11 Nitrianska smer cintorín",
"type": "Device",
"class": "CctvCamera",
"producer": "Avigilon",
"connectorId": "624fecccd4f67877a6058f76",
"parentId": "655245396290fa00011c96dd",
"position": {
"type": "Point",
"coordinates": [
17.601339373896792,
48.36378288560928
]
},
"operatingStatus": "Active",
"id": "6544d3a86290fa0001007842"
},
{
"name": "CCTV KD2A_K2 Kollárova",
"type": "Device",
"class": "CctvCamera",
"producer": "Avigilon",
"connectorId": "624fecccd4f67877a6058f76",
"parentId": "65524bb56290fa00011cc4e3",
"position": {
"type": "Point",
"coordinates": [
17.594166564861382,
48.37339022162723
]
},
"operatingStatus": "Active",
"id": "6544d3dd6290fa0001007879"
}
]
id - Unique identifier of the device in the system (the same as itemId in the other traffic counter datasets).
name - Name of the device (usually its location).
type - Item type (Device).
class - Device class: TrafficCounter (counter), TravelTimeDetector (travel time detector), CctvCamera (camera), WimStation (weigh-in-motion station).
producer - Producer of the device or data provider.
model - Device model.
position - Location of the device as a GeoJSON Point, coordinates [longitude, latitude].
operatingStatus - Operating status of the device.
data.lanes - Lane configuration of the counter: lane number, name, description and direction.
Request
GET https://opendata.trnava.sk/api/datasets/v2/traffic-counters/measurement-sites?outputType=csv
Answer
"name","type","class","producer","connectorId","parentId","position.type","position.coordinates.0","position.coordinates.1","operatingStatus","id","data.lanes.timestamp","data.lanes.data.0.number","data.lanes.data.0.name","data.lanes.data.0.description","data.lanes.data.0.direction","data.lanes.data.1.number","data.lanes.data.1.name","data.lanes.data.1.description","data.lanes.data.1.direction","data.lanes.data.2.number","data.lanes.data.2.name","data.lanes.data.2.description","data.lanes.data.2.direction","data.lanes.data.3.number","data.lanes.data.3.name","data.lanes.data.3.description","data.lanes.data.3.direction","data.lanes.data.4.number","data.lanes.data.4.name","data.lanes.data.4.description","data.lanes.data.4.direction","data.lanes.data.5.number","data.lanes.data.5.name","data.lanes.data.5.description","data.lanes.data.5.direction","model","data.lanes.data.0.type","data.lanes.data.0.id","data.lanes.data.1.type","data.lanes.data.1.id","data.lanes.data.2.type","data.lanes.data.2.id","data.lanes.data.3.type","data.lanes.data.3.id","data.lanes.data.4.type","data.lanes.data.4.id","data.lanes.data.5.type","data.lanes.data.5.id","data.lanes.data.6.number","data.lanes.data.6.name","data.lanes.data.6.description","data.lanes.data.6.direction","data.lanes.data.6.type","data.lanes.data.6.id","data.lanes.data.7.number","data.lanes.data.7.name","data.lanes.data.7.description","data.lanes.data.7.direction","data.lanes.data.7.type","data.lanes.data.7.id","data.lanes.data.8.number","data.lanes.data.8.name","data.lanes.data.8.description","data.lanes.data.8.direction","data.lanes.data.8.type","data.lanes.data.8.id","data.lanes.data.9.number","data.lanes.data.9.name","data.lanes.data.9.description","data.lanes.data.9.direction","data.lanes.data.9.type","data.lanes.data.9.id","data.lanes.data.10.number","data.lanes.data.10.name","data.lanes.data.10.description","data.lanes.data.10.direction","data.lanes.data.10.type","data.lanes.data.10.id","data.lanes.data.11.number","data.lanes.data.11.name","data.lanes.data.11.description","data.lanes.data.11.direction","data.lanes.data.11.type","data.lanes.data.11.id","data.lanes.data.12.number","data.lanes.data.12.name","data.lanes.data.12.description","data.lanes.data.12.direction","data.lanes.data.12.type","data.lanes.data.12.id","data.lanes.data.13.number","data.lanes.data.13.name","data.lanes.data.13.description","data.lanes.data.13.direction","data.lanes.data.13.type","data.lanes.data.13.id","data.lanes.data.14.number","data.lanes.data.14.name","data.lanes.data.14.description","data.lanes.data.14.direction","data.lanes.data.14.type","data.lanes.data.14.id","data.lanes.data.15.number","data.lanes.data.15.name","data.lanes.data.15.description","data.lanes.data.15.direction","data.lanes.data.15.type","data.lanes.data.15.id","data.lanes.data.16.number","data.lanes.data.16.name","data.lanes.data.16.description","data.lanes.data.16.direction","data.lanes.data.16.type","data.lanes.data.16.id","data.lanes.data.17.number","data.lanes.data.17.name","data.lanes.data.17.description","data.lanes.data.17.direction","data.lanes.data.17.id","data.lanes.data.18.number","data.lanes.data.18.name","data.lanes.data.18.description","data.lanes.data.18.direction","data.lanes.data.18.id","data.lanes.data.19.number","data.lanes.data.19.name","data.lanes.data.19.description","data.lanes.data.19.direction","data.lanes.data.19.id","data.lanes.data.20.number","data.lanes.data.20.name","data.lanes.data.20.description","data.lanes.data.20.direction","data.lanes.data.20.id","data.lanes.data.21.number","data.lanes.data.21.name","data.lanes.data.21.description","data.lanes.data.21.direction","data.lanes.data.21.id","address"
"CCTV KD1_K11 Nitrianska smer cintorín","Device","CctvCamera","Avigilon","624fecccd4f67877a6058f76","655245396290fa00011c96dd","Point",17.601339373896792,48.36378288560928,"Active","6544d3a86290fa0001007842",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"CCTV KD2A_K2 Kollárova","Device","CctvCamera","Avigilon","624fecccd4f67877a6058f76","65524bb56290fa00011cc4e3","Point",17.594166564861382,48.37339022162723,"Active","6544d3dd6290fa0001007879",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
id - Unique identifier of the device in the system (the same as itemId in the other traffic counter datasets).
name - Name of the device (usually its location).
type - Item type (Device).
class - Device class: TrafficCounter (counter), TravelTimeDetector (travel time detector), CctvCamera (camera), WimStation (weigh-in-motion station).
producer - Producer of the device or data provider.
model - Device model.
position - Location of the device as a GeoJSON Point, coordinates [longitude, latitude].
operatingStatus - Operating status of the device.
data.lanes - Lane configuration of the counter: lane number, name, description and direction.
Request
GET https://opendata.trnava.sk/api/datasets/v2/traffic-counters/measurement-sites?outputType=xml
Answer
<root>
<item>
<name>CCTV KD1_K11 Nitrianska smer cintorín</name>
<type>Device</type>
<class>CctvCamera</class>
<producer>Avigilon</producer>
<connectorId>624fecccd4f67877a6058f76</connectorId>
<parentId>655245396290fa00011c96dd</parentId>
<position>
<type>Point</type>
<coordinates>
<item>17.601339373896792</item>
<item>48.36378288560928</item>
</coordinates>
</position>
<operatingStatus>Active</operatingStatus>
<id>6544d3a86290fa0001007842</id>
</item>
<item>
<name>CCTV KD2A_K2 Kollárova</name>
<type>Device</type>
<class>CctvCamera</class>
<producer>Avigilon</producer>
<connectorId>624fecccd4f67877a6058f76</connectorId>
<parentId>65524bb56290fa00011cc4e3</parentId>
<position>
<type>Point</type>
<coordinates>
<item>17.594166564861382</item>
<item>48.37339022162723</item>
</coordinates>
</position>
<operatingStatus>Active</operatingStatus>
<id>6544d3dd6290fa0001007879</id>
</item>
</root>
id - Unique identifier of the device in the system (the same as itemId in the other traffic counter datasets).
name - Name of the device (usually its location).
type - Item type (Device).
class - Device class: TrafficCounter (counter), TravelTimeDetector (travel time detector), CctvCamera (camera), WimStation (weigh-in-motion station).
producer - Producer of the device or data provider.
model - Device model.
position - Location of the device as a GeoJSON Point, coordinates [longitude, latitude].
operatingStatus - Operating status of the device.
data.lanes - Lane configuration of the counter: lane number, name, description and direction.