Returns the country that the IP address is located in.
URL Endpoints
GetCountryByIP 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/ |
GetCountryByIP Outputs
| Name | Type | Values | Description |
|---|---|---|---|
| Country | String | Varies | The country location of the IP address. |
| Cntry | String | Varies | The 3-letter country abbreviation. |
| Ctry | String | Varies | The 2-letter country abbreviation. |
| Longitude | Double | Varies | The longitude coordinate for the IP address. |
| Latitude | Double | Varies | The latitude coordinate for the IP address. |
| IsPublicProxy | String | Varies | Indicates whether the IP address is a known public proxy. |
| Error | Error | Varies | See “Error Codes“. |