How can I determine my SIM's location via the REST API?

Hologram allows users on the Professional and Enterprise plans to get location information for their SIMs. To get this information via the REST API you need to make a GET request on:
https://dashboard.hologram.io/api/1/devices/YOUR_DEVICE_ID

If you aren't familiar with APIs, we highly recommend checking out or introduction to Hologram's REST API guide as well as using Postman to make the API calls mentioned in this guide.

This will return a lastsession JSON object with an approximation of your device's latitude and longitude. 

The information provided is based the last cell tower the device connected to on cell tower, so accuracy varies depending on the SIM's location and tower density in the region. For dense cities, the location of the SIM should be within a 1 kilometer (0.62 mile) radius. For more accurate location information, we suggest using a GPS module.

To look up a device's location via our Dashboard, go to this page.

Was this article helpful?
0 out of 0 found this helpful