Smart bin – detail

Returns detailed information about the selected smart bin at a container station (waste type, volume, location, status) together with the list of its Sensoneo sensors and their current fill level in %.

Publisher
Chief Executive's Office, City of Trnava

Format
API JSON

License
CC BY 4.0

Update frequency
Continuously updated

Last modified
3. 11. 2026

Download data

Parameters

{
  "id": "6544b644feb6f7000149dcf7"
}
id – smart bin identifier (required; bin ID, e.g. item.id from the Smart bin waste collections dataset)

Request

POST https://opendata.trnava.sk/api/datasets/v1/smart-bins/bin/detail

Answer

{
  "bin": {
    "id": "6544b644feb6f7000149dcf7",
    "name": "Kontejner Komunál Botanická 32",
    "type": "Container",
    "class": "SmartBin",
    "address": "Botanická 32, 917 08 Trnava, Slovakia",
    "producer": "Sensoneo",
    "connectorId": "6544b33ce81c2c7e6a8411d4",
    "position": {
      "type": "Point",
      "coordinates": [
        17.569349901750687,
        48.37153697946175
      ]
    },
    "meta": {
      "type": "Residual",
      "volume": 5000
    },
    "operatingStatus": "Active",
    "malfunctions": [],
    "systemStatus": {
      "status": "Ok",
      "timestamp": "2026-10-15T12:23:21.428Z",
      "changed": "2026-10-04T17:22:38.820Z",
      "issues": []
    },
    "parentId": "6544b644feb6f7000149dcf3"
  },
  "sensors": [
    {
      "id": "6544b88e6290fa0001002d34",
      "name": "BIN_Komunál Botanická 32",
      "class": "BinGarbageSensor",
      "systemStatus": {
        "status": "Ok",
        "timestamp": "2026-10-15T11:22:38.918Z",
        "changed": "2026-09-20T08:47:01.247Z",
        "issues": []
      },
      "data": {
        "level": 30
      }
    },
    {
      "id": "6544b88e6290fa0001002d39",
      "name": "BIN_P21P21002",
      "class": "BinGarbageSensor",
      "systemStatus": {
        "status": "Ok",
        "timestamp": "2026-10-15T12:23:21.428Z",
        "changed": "2026-10-04T17:22:38.820Z",
        "issues": []
      },
      "data": {
        "level": 100
      }
    }
  ]
}
bin.id – bin identifier
bin.name – bin name
bin.type – device type (Container)
bin.class – device class (SmartBin)
bin.address – address
bin.producer – sensor manufacturer
bin.connectorId – connector (data source) identifier
bin.position – location (GeoJSON Point, coordinates [lon, lat])
bin.meta.type – waste type (Residual, Paper, Plastic, Glass …)
bin.meta.volume – bin volume in litres
bin.operatingStatus – operating status (Active …)
bin.malfunctions – list of malfunctions
bin.systemStatus.status – system status (Ok, Warn, Error, Unreachable)
bin.systemStatus.timestamp – time of the last status update
bin.systemStatus.changed – time of the last status change
bin.systemStatus.issues – list of issues
bin.parentId – container station identifier
sensors.id – sensor identifier
sensors.name – sensor name
sensors.class – sensor class (BinGarbageSensor – fill level sensor, BinDoorSensor – door sensor)
sensors.systemStatus – sensor system status (status, timestamp, changed, issues)
sensors.data.level – current fill level in % (fill level sensor)
sensors.data.status – door status Open/Closed/Jam (door sensor)

Request

GET https://opendata.trnava.sk/api/datasets/v1/smart-bins/bin/detail?outputType=csv

Answer

"bin.id","bin.name","bin.type","bin.class","bin.address","bin.producer","bin.connectorId","bin.position.type","bin.position.coordinates.0","bin.position.coordinates.1","bin.meta.type","bin.meta.volume","bin.operatingStatus","bin.malfunctions","bin.systemStatus.status","bin.systemStatus.timestamp","bin.systemStatus.changed","bin.systemStatus.issues","bin.parentId","sensors.0.id","sensors.0.name","sensors.0.class","sensors.0.systemStatus.status","sensors.0.systemStatus.timestamp","sensors.0.systemStatus.changed","sensors.0.systemStatus.issues","sensors.0.data.level","sensors.1.id","sensors.1.name","sensors.1.class","sensors.1.systemStatus.status","sensors.1.systemStatus.timestamp","sensors.1.systemStatus.changed","sensors.1.systemStatus.issues","sensors.1.data.level"
"6544b644feb6f7000149dcf7","Kontejner Komunál Botanická 32","Container","SmartBin","Botanická 32, 917 08 Trnava, Slovakia","Sensoneo","6544b33ce81c2c7e6a8411d4","Point",17.569349901750687,48.37153697946175,"Residual",5000,"Active",,"Ok","2026-10-15T12:33:27.202Z","2026-10-04T17:22:38.820Z",,"6544b644feb6f7000149dcf3","6544b88e6290fa0001002d34","BIN_Komunál Botanická 32","BinGarbageSensor","Ok","2026-10-15T11:22:38.918Z","2026-09-20T08:47:01.247Z",,30,"6544b88e6290fa0001002d39","BIN_P21P21002","BinGarbageSensor","Ok","2026-10-15T12:33:27.202Z","2026-10-04T17:22:38.820Z",,100
bin.id – bin identifier
bin.name – bin name
bin.type – device type (Container)
bin.class – device class (SmartBin)
bin.address – address
bin.producer – sensor manufacturer
bin.connectorId – connector (data source) identifier
bin.position – location (GeoJSON Point, coordinates [lon, lat])
bin.meta.type – waste type (Residual, Paper, Plastic, Glass …)
bin.meta.volume – bin volume in litres
bin.operatingStatus – operating status (Active …)
bin.malfunctions – list of malfunctions
bin.systemStatus.status – system status (Ok, Warn, Error, Unreachable)
bin.systemStatus.timestamp – time of the last status update
bin.systemStatus.changed – time of the last status change
bin.systemStatus.issues – list of issues
bin.parentId – container station identifier
sensors.id – sensor identifier
sensors.name – sensor name
sensors.class – sensor class (BinGarbageSensor – fill level sensor, BinDoorSensor – door sensor)
sensors.systemStatus – sensor system status (status, timestamp, changed, issues)
sensors.data.level – current fill level in % (fill level sensor)
sensors.data.status – door status Open/Closed/Jam (door sensor)

Request

GET https://opendata.trnava.sk/api/datasets/v1/smart-bins/bin/detail?outputType=xml

Answer

<root>
  <bin>
    <id>6544b644feb6f7000149dcf7</id>
    <name>Kontejner Komunál Botanická 32</name>
    <type>Container</type>
    <class>SmartBin</class>
    <address>Botanická 32, 917 08 Trnava, Slovakia</address>
    <producer>Sensoneo</producer>
    <connectorId>6544b33ce81c2c7e6a8411d4</connectorId>
    <position>
      <type>Point</type>
      <coordinates>
        <item>17.569349901750687</item>
        <item>48.37153697946175</item>
      </coordinates>
    </position>
    <meta>
      <type>Residual</type>
      <volume>5000</volume>
    </meta>
    <operatingStatus>Active</operatingStatus>
    <malfunctions/>
    <systemStatus>
      <status>Ok</status>
      <timestamp>2026-10-15T12:23:21.428Z</timestamp>
      <changed>2026-10-04T17:22:38.820Z</changed>
      <issues/>
    </systemStatus>
    <parentId>6544b644feb6f7000149dcf3</parentId>
  </bin>
  <sensors>
    <item>
      <id>6544b88e6290fa0001002d34</id>
      <name>BIN_Komunál Botanická 32</name>
      <class>BinGarbageSensor</class>
      <systemStatus>
        <status>Ok</status>
        <timestamp>2026-10-15T11:22:38.918Z</timestamp>
        <changed>2026-09-20T08:47:01.247Z</changed>
        <issues/>
      </systemStatus>
      <data>
        <level>30</level>
      </data>
    </item>
    <item>
      <id>6544b88e6290fa0001002d39</id>
      <name>BIN_P21P21002</name>
      <class>BinGarbageSensor</class>
      <systemStatus>
        <status>Ok</status>
        <timestamp>2026-10-15T12:23:21.428Z</timestamp>
        <changed>2026-10-04T17:22:38.820Z</changed>
        <issues/>
      </systemStatus>
      <data>
        <level>100</level>
      </data>
    </item>
  </sensors>
</root>
bin.id – bin identifier
bin.name – bin name
bin.type – device type (Container)
bin.class – device class (SmartBin)
bin.address – address
bin.producer – sensor manufacturer
bin.connectorId – connector (data source) identifier
bin.position – location (GeoJSON Point, coordinates [lon, lat])
bin.meta.type – waste type (Residual, Paper, Plastic, Glass …)
bin.meta.volume – bin volume in litres
bin.operatingStatus – operating status (Active …)
bin.malfunctions – list of malfunctions
bin.systemStatus.status – system status (Ok, Warn, Error, Unreachable)
bin.systemStatus.timestamp – time of the last status update
bin.systemStatus.changed – time of the last status change
bin.systemStatus.issues – list of issues
bin.parentId – container station identifier
sensors.id – sensor identifier
sensors.name – sensor name
sensors.class – sensor class (BinGarbageSensor – fill level sensor, BinDoorSensor – door sensor)
sensors.systemStatus – sensor system status (status, timestamp, changed, issues)
sensors.data.level – current fill level in % (fill level sensor)
sensors.data.status – door status Open/Closed/Jam (door sensor)