How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

MQTT

MQTT is a lightweight, OASIS-standardized publish/subscribe messaging protocol designed for constrained devices and low-bandwidth, high-latency networks. It is widely used for IoT telemetry and command messaging with configurable quality-of-service levels.

MQTT is a lightweight publish/subscribe messaging protocol, standardized by OASIS, that was designed for constrained devices and unreliable, low-bandwidth, high-latency networks. A client publishes messages to a topic on a broker, and the broker fans them out to every client subscribed to that topic. Its tiny footprint is why it became the default nervous system for the Internet of Things.

  • Publish/subscribe over a broker - Producers and consumers are decoupled through topics, so neither needs to know the other exists.
  • Configurable quality of service - Three QoS levels trade off delivery guarantees against overhead, from fire-and-forget up to exactly-once.
  • Minimal overhead - A compact binary header keeps message size small enough for battery-powered and metered-connection devices.
  • Retained messages and last will - Brokers can hold a topic’s last value and announce ungraceful client disconnects, which matters for spotty device links.

In API operations, MQTT is one of the core event-driven protocols that sit alongside HTTP request/response, and it is a first-class binding in AsyncAPI so its topics and messages can be described, documented, and governed like any other interface. I see it most in IoT telemetry and command-and-control, and treating it as part of the API surface, rather than something outside governance, is what keeps a multi-protocol estate coherent.

Industry: IoT

Practices this standard realizes

The ways of working this standard exists to serve. A standard rarely arrives on its own — it is usually the artifact some practice needed before it could be more than an argument.

Event-driven Architecture

A transport the pattern is frequently built on, particularly where the publishers are devices.

Referenced on the API Evangelist blog

Where this standard shows up across sixteen years of my writing at apievangelist.com — how it fits into API design, governance, and the agentic turn.