You can access the API through plain MQTT or secure MQTT with TLS using the following endpoints, depending on your Ubidots account type:
Update:things.ubidots.comIn the past, Ubidots supported industrial, educational, and STEM users through the endpoint
things.ubidots.com. As this endpoint will only be supported for a limited time, we strongly advise you to update to the industrial endpoints listed below, regardless of the license type you own.
MQTT
| Security | Ubidots Account | Endpoint | Port |
|---|---|---|---|
| No TLS | Industrial | industrial.api.ubidots.com | 1883 |
| TLS | Industrial | industrial.api.ubidots.com | 8883 |
You can download the Ubidots PEM certificate for TLS here.
Security Note: We strongly advise using MQTT with TLS to make sure your data travels encrypted, avoiding the exposure of your API token and/or sensor data to third parties.
NOTE: To avoid future issues, we advise using both certificates in your device's auth routines. While the first one is the currently valid certificate, we may change this after 2021.
MQTT over WebSockets
| Security | Ubidots Account | Endpoint | Port |
|---|---|---|---|
| No TLS | Industrial | industrial.api.ubidots.com | 8083 |
| TLS | Industrial | industrial.api.ubidots.com | 8084 |
Fixed IPs
Ubidots also supports fixed IP addresses for data ingestion, but we strongly advise users to implement firmware routines using DNS endpoints instead of fixed IPs, as fixed IPs may change in the future.
| Ubidots Account | IPv4 | IPv6 | Port |
|---|---|---|---|
| Industrial / STEM | 3.19.87.2033.139.145.194 | 2600:1f16:b66:8d00:ae4c:d756:9ada:a38e 2600:1f16:b66:8d00:e43b:776f:23b6:bab2 | 1883/8883 |

