API access can be over HTTP or HTTPS, using the following endpoints based on your Ubidots account type.
Security NoteWe strongly advise you to use HTTPS to make sure your data travels encrypted and to avoid exposing your API token and/or sensor data.
HTTP/HTTPS
| Protocol | Ubidots Account | Endpoint | Port |
|---|---|---|---|
| HTTP | Industrial | http://industrial.api.ubidots.com | 80 |
| HTTPS | Industrial | https://industrial.api.ubidots.com | 443 |
Ubidots supports SSL v1.1, TLS v1.2, and TLS v1.3. You can download our root certificates in different formats:
- PEM file: A certificate chain with two root certificates from our certificate authorities (CAs).
- DER file: Same as the PEM file, with an alternative encoding.
- CRT file: Same as the PEM file, with a different extension. These files are often referred to as .crt, .cert, or .cer files.
NOTE: To avoid future inconveniences, we advise you to use both certificates in your device's authentication routines. While the second certificate is currently valid, we will use the first after 2021.
Fixed IPs
Ubidots also supports fixed IP addresses for data ingestion, but we strongly advise you to implement your firmware routines using the DNS endpoints instead of fixed IPs, as the fixed IPs may change in the future.
| Ubidots Account | IPv4 | IPv6 | Port |
|---|---|---|---|
| Industrial | 3.19.87.203 3.139.145.194 | 2600:1f16:b66:8d00:ae4c:d756:9ada:a38e 2600:1f16:b66:8d00:e43b:776f:23b6:bab2 | 80/443 |

