Cell ID LAT & LON API

Hello,
based on which cell id (mcc, mnc, tac) the sim connects to by LTE-M,
would monogoto have a latitude & longitude api for that cell id?
There are some third party api’s for this,
but checking if monogoto has something like that.
thank-you,
Simon

2 Likes

Hi Simon,

Yes, we got an API call for that. When sending a GET request to: https://console.monogoto.io/thing/{ThingId}/ you will receive (among others) data about its LastLocation, comprising the latitude and longitude of the cell id.

See the documentation page below for more information:

Laurens

1 Like

Hello,
I did three tests with,
“ThingName”:“ICCID 8999911240071789852”
at,
2022-08-29 14:24:21 1661783061
2022-08-29 14:20:40 1661782840
2022-08-29 14:11:37 1661782297

receiving,
“AddressSignal”:null,
“CustomerId”:“cid_xxxx-xxxx-xxxx-xxxx-xxxxx”,
“DateAssignedToCustomer”:1649842407685,
“State”:“ACTIVE”,
“GeoDistance”:0,
“ThingTags”:[],
“Curr_Latitude”:null,
“Curr_Longitude”:null,
“FencingRadius”:0,
“UnavailabilityTime”:0

The GET returned is somewhat different then what is shown here,

with missing,
“Latitude”: 50.046051,
“Longitude”: 5.851612,

Current location is around LAT 44, LON -85,
but I’m not seeing those numbers in the GET.

I believe the network is AT&T (but could be T-Mobile),
and hoping that this is not case for these carriers,
“some networks do not share exact SIM card location”.

thank-you,

Dear Customer,

We have ran the mentioned API and we can see the Latitude and Longitude in the API, it is not exactly what you have mentioned, but we still can see it. You can find picture showing the location that we get from the API (the location is censored a bit for privacy purposes).
API
If the location does not match exactly, it might indicate that the used operator is not sharing the exact location of your SIM card.

Kind Regards,
Monogoto Support

the timestamp shows 1657801436787 which is,
GMT : Thursday, July 14, 2022 12:23:56.787 PM
somewhat in the past.
Would you have a return closer to 1661783061?
thank-you,

Dear Customer,

Please note that we have tried to run the API to get the location and we are still seeing same results with the location, it would seem your device either did not update location or that was the last time local operator has provided the location for your SIM.
We have tried to use get location feature from Monogoto console, but due to your device being disabled today, the command did not return any information.

Kind Regards,
Monogoto Support

Then that’s what is probably happening.
AT&T (local operator) is not sending the location for the SIM,
and back on July 14 it could have been T-Mobile or Verizon that sent the location.
Since July it’s probably been all AT&T (or maybe att stopped sending).

Going back to the original question if Monogoto has already accumulated LAT & LON data for the cell id’s that it’s customers have connected too, and an API to tap into this database of cell id’s to get lat & lon.

thank-you,

Dear Customer,

Please note that in our database we are seeing same LAT & LON for roughly last 30 days.
However, we see that CellID and LAC had some variation. If you want to receive this information, we can send it to you via your user email, since we would prefer to not share it publicly on the forum.

Kind Regards,
Monogoto Support

Let’s try it this way;
if I curl cellid, lac, mcc, mnc,
can one of your API’s send back LAT & LON?

thank-you,

Dear Customer,

Sadly but we do not have your mentioned functionality.
We get the Latitude, Longitude, CellID and LAC from the operator that your SIM are using. But as you are already aware, some operators due to privacy or local restrictions do not send the exact SIM/device location and there is not much we can do about it.
You can try searching if there are any 3rd party tools that can show you the approximate device location based on the CellID, LAC, MCC and MNC. But we doubt it will show you the exact location of the SIM/device in cases like this.

Kind Regards,
Monogoto Support

1 Like

ok, will look at 3rd party…thank-you