Returns geographic location information for a given IP address.

URL Endpoints

GetLocationByIP Inputs

NameTypeDescription
IPAddressStringIP address to look up, for example, “209.85.173.104”
LicenseKeyStringYour license key to use the service.
Sign up for a free trial key at
https://www.serviceobjects.com/ip-address-validation/

GetLocationByIP Outputs

NameTypeValuesDescription
CityStringVariesThe city location of the IP address.
RegionStringVariesThe state location of the IP address.
CountryStringVariesThe country location of the IP address.
LongitudeDoubleVariesThe latitude coordinate for the IP address.
LatitudeDoubleVariesThe longitude coordinate for the IP address.
CertaintyInt0 to 100Rating of how accurate the outputs are likely to be.
IsProxyString“TRUE” or “FALSE”Indicates whether the IP address is a known proxy.
IsPublicProxyStringVariesIndicates whether the IP address is a known public proxy.
NetworkStringVariesThe network to which the IP address is registered.
ErrorStringVariesSee “Error Codes“.

References