How to Identify IP Address Info in Go

If you’re looking for ways to better understand your clients, gathering key intelligence about their IP addresses can be an easily accessible resource. IP addresses contain the geolocation of each user, which can be valuable for researching the demographics and trends in the various areas. However, while IP addresses can be leveraged to benefit your business, they can also be infiltrated by users with malicious intent. The following API can be used to provide not only the location of the IP address, but also to identify if it’s a known threat IP, known bot, or Tor exit node.

To use the API simply input your IP address and API key into the code below:

package main

To retrieve your personal API key, visit the Cloudmersive website to create a free account and gain access to 800 calls/month across our wide array of APIs.

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.