~$ curl http://api.db-ip.com/v2/free/165.173.233.165/countryName
United States

The free API is limited to 1,000 daily requests and returns city level location data only, if you require larger query volumes or more information such as latitude/longitude, ISP details or threat level assessment, please see our commercial offers.