deviceTRUST external IP API

deviceTRUST offers various geolocation-gathering functions. One of them bases on Whois. It requires the external IP of a user's device. This article describes the API and the used data.

To get the external IP of a user's device, which is subsequently used to evaluate the device's location utilizing Whois, we decided not to utilize an already available 3rd party API. Instead, we created our own API. 

The deviceTRUST external IP API is to be found at the following URL: https://api.devicetrust.com/api/v1/whois

The communication is as follows

  • The Client (Browser) sends a HTTP GET to the API

api.devicetrust.com_get

  • The API reports back the external IP of the requesting device

api.devicetrust.com_res

  • No other/additional data is evaluated or reported, as you can see in the RAW exchanged data.