You can access the API through plain MQTT or secure MQTT with TLS, using the following endpoints based on your Ubidots Account type:
Update:
things.ubidots.com
In the past, Ubidots used to support industrial, educational and STEM users through the endpoint
things.ubidots.com
. As this endpoint will only be supported a limited time, we strongly advise you to update to the industrial endpoints listed below, without difference of the license type that 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 to use 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 inconveniences, we advise to use both certificates in your device's auth routines. While the first one is the current 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 IPs address for data ingestion, but we highly advise to our users to implement their firmware routines using the dns endpoints instead of fixed IPs, as these last ones may change in the future.
Ubidots Account | ipv4 | ipv6 | Port |
---|---|---|---|
Industrial / Stem | 3.19.87.203 3.139.145.194 | 2600:1f16:b66:8d00:ae4c:d756:9ada:a38e 2600:1f16:b66:8d00:e43b:776f:23b6:bab2 | 1883/8883 |