# MQTT Version 5.0 Protocol

**Canonical:** https://apis.io/apis/mqtt/protocol-v5/  
**Provider:** MQTT — https://apis.io/providers/mqtt/  
**Base URL:** mqtt://broker.example.com:1883  
**Documentation:** https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html

MQTT Version 5.0 Protocol is one of 2 APIs that [MQTT](https://apis.io/providers/mqtt/) publishes on the [APIs.io](https://apis.io/) network, described by an AsyncAPI event-driven specification. Tagged areas include MQTT 5.0, Protocol, Publish Subscribe, OASIS, and IoT. The published artifact set on APIs.io includes an AsyncAPI specification.

OASIS Standard publish/subscribe messaging protocol for IoT and M2M communication. MQTT v5.0 defines the wire format and behavior of CONNECT, PUBLISH, SUBSCRIBE, UNSUBSCRIBE, PINGREQ, DISCONNECT and other control packets exchanged between MQTT clients and brokers over TCP (typically 1883, or 8883 with TLS) or WebSockets. Authentication is broker-specific and may include username/password, X.509 client certificates, or OAuth/JWT enhanced authentication.

## Machine-readable artifacts (6)

- **Specification** — https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html
- **Specification PDF** — https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.pdf
- **OASIS Standard Page** — https://www.oasis-open.org/standard/mqtt-v5-0-os/
- **Specifications Index** — https://mqtt.org/mqtt-specification/
- **AsyncAPI** — https://raw.githubusercontent.com/api-evangelist/mqtt/refs/heads/main/asyncapi.yml
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/mqtt/refs/heads/main/apis.yml

## Other MQTT APIs (1)

- [MQTT Version 3.1.1 Protocol](https://apis.io/apis/mqtt/protocol-v3-1-1/)

## Tags

MQTT 5.0, Protocol, Publish Subscribe, OASIS, IoT

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/mqtt/protocol-v5/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/mqtt/.
