ScadoraUARUDownload

News ·

REST API and the scadora Python package

Since version 2026.12.04, the Scadora server has a REST API: tags and their values, writing, history, alarms and acknowledgement. Python scripts, MES, Excel (Power Query), Node-RED and any program that speaks HTTP and JSON can use it.

For Python there is a ready-made package, scadora. It uses only the standard library:

pip install scadora
from scadora import Scadora
scada = Scadora("https://scada-server:5101", token="sct_...", verify="scadora-server.cer")
print(scada.read("Tank1.Level"))
scada.write("Tank1.Setpoint", 42.5)
for s in scada.history("Tank1.Level", hours=24, max_points=500):
print(s.time, s.value)
  • API token sign-in. An administrator issues tokens in the editor under Users and roles → API tokens…, with a name and a validity period. The server keeps only a hash, and a revoked token stops working at once.
  • The same permissions as the operator station. A token gets its user’s permissions: only allowed tag tables and alarm areas are visible, and writing needs the Operate permission. Every write goes to the audit log.
  • A description on every server. The /api/v1/docs page works without internet access, and /api/v1/openapi.json fits Postman and client generators.

The same version adds tags from a pattern: Project → Add tags by pattern… creates Pump{1:20}.Speed with addresses DB1.DBD{0:76:4} in one step.

Details are in the documentation: REST API and Python.