Wincc Rest Api Online

In Your Network

The first network without user IDs.
You own your contacts, groups and channels.

Trail of Bits 2022 2024

Security
Audits

Unlocking Industrial Data: A Complete Guide to the WinCC REST API

Unlocking Industrial Data: A Complete Guide to WinCC REST API

What Exactly Is the WinCC REST API?

The WinCC REST API is an OPC UA–based RESTful interface that allows external clients to interact with a running WinCC project using standard HTTP methods (GET, POST, PUT, DELETE). It exposes:

Unlike older DCOM or OPC DA interfaces, REST uses JSON over HTTP/HTTPS—meaning any programming language (Python, JavaScript, C#, etc.) or tool (Postman, Node-RED, Power BI) can integrate without special COM libraries or Windows-only dependencies.

Note: The REST API does not replace WinCC’s internal OPC UA server. It acts as a higher-level, developer-friendly wrapper, often simplifying authentication and data formatting.


Request / response patterns

Example (pseudo-HTTP) — read a single tag value: Request: GET /api/tags/Plant/Unit1/TankLevel Authorization: Bearer Response (JSON): "tag": "Plant/Unit1/TankLevel", "value": 72.4, "quality": "GOOD", "timestamp": "2026-04-10T09:23:12.123Z"

Example — write a tag value (pseudo): PUT /api/tags/Plant/Unit1/PumpStart Authorization: Basic Content-Type: application/json Body: "value": true

Response: 200 OK or 204 No Content

Example — query historical values (pseudo): POST /api/history/query Body: "tags": ["Plant/Unit1/TankLevel"], "from": "2026-04-09T00:00:00Z", "to": "2026-04-10T00:00:00Z", "aggregation": "raw"

2. Scope and Versions

It is vital to distinguish between the two major Siemens WinCC architectures, as their REST API implementations differ significantly:

Part 5: Core API Endpoints and Examples

Let’s assume your WinCC server is at http://192.168.1.100. Here are the critical REST endpoints.

Join SimpleX Communities

More than 2 million people downloaded SimpleX apps.

Find your channels and communities in directory and create your own!

View SimpleX Directory