• Download
  • Products
    • Product Highlights
      • DataHub Smart MQTT Broker
      • DataHub IoT Gateway
      • DataHub OPC Gateway
      • DataHub service for Azure
      • DataHub OPC Bridge
      • OPC DataHub
      • DataHub WebView
      • DataHub Modbus OPC Server
    • Tunnellers
      • DataHub UA Tunneller
      • DataHub DA Tunneller
      • DataHub Tunnel A&E
      • DataHub Modbus Tunneller
      • DataHub DDE Tunneller
      • Individual Features
        • Redundancy
        • Data Diode Mode
        • Audit
        • Monitoring
    • Historians
      • Connect to InfluxDB
      • Connect to Amazon Kinesis
      • Connect to AVEVA CONNECT
      • Connect to AVEVA Historian
      • Connect to AVEVA Insight
      • Connect to AVEVA PI
      • Connect to RESTful Systems
      • Connect to Kafka
      • Connect to ODBC
      • Connect to Azure Event Hubs
      • Connect to OPC Classic HDA
    • Notifications
      • Alarm and Notification
      • Email / SMS
      • OPC A&E support
      • OPC UA A&C support
    • Excel and DDE
      • DataHub Add-In
        for Microsoft Excel
      • DDE / Excel
    • Loggers
      • DataHub OPC Logger
      • DataHub Modbus Logger
  • Purchasing
    • How to Purchase
    • Request a Quote
    • Feature Matrix
    • Software Subscription Plan
    • Maintenance Support Plan
    • Educational Program
  • Learning Hub
    • Industries & Use Cases
      • Wind & Solar
      • Conventional Energy
      • Oil & Gas
      • Minerals & Mining
      • Manufacturing
      • Food & Beverage
      • Pharma & Healthcare
      • System Integration
      • Machines & Tools
    • Knowledge Center
      • Videos
      • Webinars
      • How-To
      • Case Studies
      • White Papers
      • Essential Guides
        • MQTT & Sparkplug Essentials
        • DataHub Security Essentials
    • Connecting
      • Industrial AI
      • Industrial IoT
      • Secure OT to IT
      • OPC
      • Historian
      • MQTT
        • Sparkplug
      • Database
      • Modbus
      • Excel
      • Web
      • Embedded
      • Open APIs
      • DHTP
      • Architecture
  • Support
    • FAQ
    • Documentation
    • Release Notes
    • Technical Specifications
  • About
    • Partners
    • Customers
    • Testimonials
    • Legal Notices
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
  • Download
  • Products
    • DataHub Smart MQTT Broker
    • DataHub IoT Gateway
    • DataHub OPC Gateway
    • DataHub service for Azure
    • DataHub OPC Bridge
    • OPC DataHub
    • DataHub WebView
    • DataHub Modbus OPC Server
    • Tunnellers
      • DataHub UA Tunneller
      • DataHub DA Tunneller
      • Tunnel A&E
      • DataHub Modbus Tunneller
      • DataHub DDE Tunneller
    • Historians
      • Connect to InfluxDB
      • Connect to Amazon Kinesis
      • Connect to AVEVA Historian
      • Connect to AVEVA Insight
      • Connect to AVEVA PI
      • Connect to RESTful Systems
      • Connect to Kafka
      • Connect to Azure Event Hubs
      • Connect to ODBC
      • Connect to OPC Classic HDA
    • Notifications
      • Alarm and Notification
      • Email / SMS
      • OPC A&E support
      • OPC UA A&C support
    • Excel and DDE
      • DataHub Add-in for Microsoft Excel
      • DDE / Excel
    • Loggers
      • DataHub OPC Logger
      • DataHub Modbus Logger
      • Monitoring
    • Individual Features
      • Redundancy
      • Data Diode Mode
      • Monitoring
  • Purchasing
    • How to Purchase
    • Request a Quote
    • Feature Matrix
    • Software Subscription Plan
    • Maintenance Support Plan
    • Educational Program
  • Learning Hub
    • Industries & Use Cases
      • Wind and Solar
      • Conventional Energy
      • Oil & Gas
      • Minerals & Mining
      • Manufacturing
      • Food and Beverage
      • Pharma and Healthcare
      • System Integration
      • Machines and Tools
    • Knowledge Center
      • Videos
      • Webinars
      • How-to
      • Case Studies
      • White Papers
    • Essential Guides
      • MQTT and Sparkplug Essentials
      • DataHub Security Essentials
    • Connecting
      • Industrial AI
      • Industrial IoT
      • Secure OT to IT
      • OPC
      • Historian
      • MQTT
        • Sparkplug
      • Database
      • Modbus
      • Excel
      • Web
      • Embedded
      • Open APIs
      • DHTP
      • Architecture
  • Support
    • FAQ
    • Documentation
    • Release Notes
    • Technical Specifications
  • About
    • Partners
    • Customers
    • Testimonials
    • Privacy Policy
    • Terms of Use
    • Legal Notices

Cogent DataHub™ APIs

Connect custom programs

The DataHub APIs are a fully open set of application development interfaces that allow you to connect custom programs to the Cogent DataHub™ software, using DHTP. These APIs are provided with both object code and source code examples and set out a very simple set of commands that allow you to both read and write data to the DataHub. The DataHub architecture allows each custom program to exchange data with every other application connected to the DataHub, regardless of protocol.

datahub custom-connections diagram
Try it now
Get a quote

Python API

The DataHub™ API for Python is a Python implementation for connecting to Cogent DataHub software in real time over TCP. It is available in GitHub. Please see the README.md file for more information.

C++, .NET and Java APIs

Each of these APIs lets you write programs in that connect to the DataHub over TCP. The DataHub API for C++ is for connecting C++ programs. The DataHub API for Java lets you connect programs written in Java. The DataHub API for .NET is implemented in C#, but can be used with any .NET language. These are all documented here.

Direct TCP and other connection options

If these APIs do not meet your needs, it is also possible to to send DataHub commands directly to a DataHub instance, and exchange data, using a bi-directional TCP socket.  This option is documented here.

Other connection options include the DataHub Web Server and the Embedded Toolkit (ETK).

Licensing

These DataHub APIs do not require a license. However, if you create programs using them, or if you send DataHub commands using TCP, each concurrent connection to the DataHub requires its own TCP Link License.

More Information

For more information please view our online documentation.

  • Data Protocols
    • OPC UA
    • OPC DA
    • OPC A&E
    • MQTT Client
    • ODBC
    • Modbus Driver
    • DDE / Excel
  • Integration
    • Aggregation
    • Tunnel / Mirror
    • MQTT Broker
    • Database Write
    • Database Read
    • Audit
    • Bridging
    • Redundancy
  • Data Isolation
  • Visualization
    • WebView
    • Camera
    • QuickTrend
  • Remote Access
    • Remote Config
    • Embedded Devices
  • Customize
    • DataHub APIs
    • Scripting
  • Utilities
    • Event Streams
    • External Historian
    • InfluxDB
    • Notification
    • Email / SMS
    • Security
    • Web Server
    • System Monitor
    • Historian
Cogent DataHub footer logo white
  • Download
  • Products
  • Purchasing
  • Learning Hub
  • Support
  • About
  • Back to Top

Skkynet
302-2233 Argentia Road
Mississauga, ON L5N 2X7

International: 1-905-702-7851
US toll free: 1-888-702-7851

support@skkynet.com
sales@skkynet.com
marketing@skkynet.com
info@skkynet.com

Follow us
on social media!

© 2026 Skkynet | All rights reserved | Legal notices
Scroll to top Scroll to top Scroll to top
GDPR Cookie Banner

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .