Stream API

MQTT streaming API for real-time Haltian IoT device data

Overview

Use the Stream API to receive sensor events in real time — your application subscribes to a topic and receives a push message within seconds of a sensor reporting. This is ideal for live dashboards, alerting systems, and any integration that needs to react immediately to changes.

Connection details and API keys are provided separately per customer during onboarding. Note that Stream API credentials are separate from Service API credentials — see the MQTT API Key Management guide for details.

Key Characteristics

  • Capabilities: Real-time event push as sensors report
  • Best for: Live dashboards, real-time alerting, event-driven integrations

When to Use Stream API vs. Other APIs

  • Need live events as they happen → Stream API
  • Need historical data on demand → Service API queries
  • Need bulk data for analytics/warehousing → Data API

In This Section

  • Topics - MQTT topic structure and naming conventions
  • Examples - Python and Node.js code samples for subscribing to data streams
  • Cloud Binary Passthrough - Raw Wirepas data via Haltian IoT Cloud MQTT

Topics

MQTT topic structure and naming conventions

Examples

Code examples for connecting to the MQTT Stream API

Cloud Binary Passthrough

Raw binary data passthrough via Haltian IoT Cloud MQTT for third-party Wirepas devices