Returns geographic location information for a given IP address.
URL Endpoints
GetLocationByIP Inputs
Name | Type | Description |
---|---|---|
IPAddress | String | IP address to look up, for example, “209.85.173.104” |
LicenseKey | String | Your license key to use the service. Sign up for a free trial key at https://www.serviceobjects.com/ip-address-validation/ |
GetLocationByIP Outputs
Name | Type | Values | Description |
---|---|---|---|
City | String | Varies | The city location of the IP address. |
Region | String | Varies | The state location of the IP address. |
Country | String | Varies | The country location of the IP address. |
Longitude | Double | Varies | The latitude coordinate for the IP address. |
Latitude | Double | Varies | The longitude coordinate for the IP address. |
Certainty | Int | 0 to 100 | Rating of how accurate the outputs are likely to be. |
IsProxy | String | “TRUE” or “FALSE” | Indicates whether the IP address is a known proxy. |
IsPublicProxy | String | Varies | Indicates whether the IP address is a known public proxy. |
Network | String | Varies | The network to which the IP address is registered. |
Error | String | Varies | See “Error Codes“. |