Returns the country that the IP address is located in.

URL Endpoints

GetCountryByIP Inputs

IPAddressStringIP address to look up, for example, “”
LicenseKeyStringYour license key to use the service.
Sign up for a free trial key at

GetCountryByIP Outputs

CountryStringVariesThe country location of the IP address.
CntryStringVariesThe 3-letter country abbreviation.
CtryStringVariesThe 2-letter country abbreviation.
LongitudeDoubleVariesThe longitude coordinate for the IP address.
LatitudeDoubleVariesThe latitude coordinate for the IP address.
IsPublicProxyStringVariesIndicates whether the IP address is a known public proxy.
ErrorErrorVariesSee “Error Codes“.