ThingSpeak MQTT API
Lightweight pub/sub MQTT broker at `mqtt3.thingspeak.com` over TCP (1883), TLS (8883), WebSocket (80), and secure WebSocket (443, path `/mqtt`). Publish to `channels/{channelID}/publish` and subscribe via `channels/{channelID}/subscribe/fields/field{n}/{readAPIKey}`. QoS 0 only; connections time out after one hour of inactivity. Devices use MQTT-specific Client ID / Username / Password credentials provisioned in ThingSpeak.
ThingSpeak MQTT API is one of 12 APIs that ThingSpeak publishes on the APIs.io network, described by an AsyncAPI event-driven specification.
Tagged areas include IoT, MQTT, Pub/Sub, and Real-Time. The published artifact set on APIs.io includes API documentation and an AsyncAPI specification.
This event API exposes 4 operations across 4 channels, and defines 3 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.
The API connects through 4 servers: mqtt3.thingspeak.com:1883 (mqtt), mqtt3.thingspeak.com:8883 (mqtts), mqtt3.thingspeak.com:80/mqtt (ws), mqtt3.thingspeak.com:443/mqtt (wss).
Metadata
The identity and technical contract details declared by the specification.
Channels & Operations 4
Across 4 channels, the API surfaces 4 operations. Each is listed below with its action, channel, parameters, and response codes.
Messages & Schemas 3
The contract defines 3 schemas that model the data carried by its messages. Each schema is shown below with its type and property counts.
Specification
The full machine-readable AsyncAPI contract behind this narrative.
Source
More from ThingSpeak 11
Other APIs ThingSpeak publishes across the network.