Once the REST service is enabled, the API needs to be secured to prevent unauthorized access. WinCC supports multiple authentication mechanisms.
Siemens continues to enhance the REST API. Expected future capabilities include:
# Configuration url = "https://wincc-server:443/api/v1/tags/Pump_Setpoint" user = "WinCCOperator" password = "SecurePassword123"
The introduction of the REST API is a significant indicator of Siemens' commitment to openness and interoperability. As WinCC continues to evolve, we can expect further enhancements to these modern interfaces. The development of the system points to a future where data querying is even more powerful and client-driven. We are also seeing community projects that build on these APIs, such as the WinCC V8 MCP Server , which creates an interface between the WinCC REST API and large language models (LLMs), enabling AI-driven interactions with SCADA data. wincc rest api
Querying archive tags and process data for reporting or analysis.
Starting from WinCC V7.5 SP2, Siemens introduced a REST API, fundamentally changing the paradigm for data exchange. It acts as a bridge, connecting the robust world of OT with the flexible, ever-evolving realm of Information Technology (IT). This modern interface allows any application that supports the RESTful API specification to read or write WinCC data securely using standard HTTPS and JSON.
The REST (Representational State Transfer) interface is a software architecture that uses web protocols to exchange data. In the context of WinCC, the API provides a secure way to read and write process values, manage alarms, and access historical data. Unlike traditional OLE-DB or OPC UA connections, REST is platform-independent and can be consumed by almost any modern programming language, including Python, JavaScript, and C#. Key Capabilities and Features Once the REST service is enabled, the API
WinCC OA offers a more enterprise-grade, flexible REST API. It is part of the standard HTTP manager.
In modern industrial automation, the separation between Operations Technology (OT) and Information Technology (IT) is rapidly disappearing. Factories no longer operate in isolated silos; they require real-time data pipelines feeding into Enterprise Resource Planning (ERP) systems, Manufacturing Execution Systems (MES), cloud platforms, and custom web dashboards.
Python is the preferred language for data analysis and IT-OT integration. Below is a practical example demonstrating how to read a live process tag value from a WinCC REST API endpoint using Python's requests library. Expected future capabilities include: # Configuration url =
The exact name of the tag configured in WinCC (e.g., Station1_Temperature ). The Python Code
Reading and writing real-time tag values and configuration data. Historical Retrieval:
An authorized API user account (e.g., username: api_user , password: SecretPassword123 ).