IP Geolocate
$0.01per callip.geolocateGet geographic location and network info for an IP address
Endpoint
POST /v1/tools/ip.geolocate/tasksInput
| Field | Type | Required | Description |
|---|---|---|---|
| ip | string | yes | IPv4 or IPv6 address |
Output
| Field | Type | Description |
|---|---|---|
| ip | string | |
| city | string | |
| region | string | Region/state full name |
| region_code | string | Region/state code |
| country | string | Country full name |
| country_code | string | Two-letter ISO country code |
| zip | string | |
| lat | number | |
| lng | number | |
| timezone | string | IANA timezone (e.g. America/Los_Angeles) |
| isp | string | |
| organization | string | |
| as | string | Autonomous system number and name |
| is_mobile | boolean | |
| is_proxy | boolean | |
| is_hosting | boolean | Whether the IP belongs to a hosting/datacenter provider |
Example
Request
{
"ip": "8.8.8.8"
}Response
{
"ip": "8.8.8.8",
"city": "Mountain View",
"region": "California",
"region_code": "CA",
"country": "United States",
"country_code": "US",
"zip": "94043",
"lat": 37.4056,
"lng": -122.0775,
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"organization": "Google LLC",
"as": "AS15169 Google LLC",
"is_mobile": false,
"is_proxy": false,
"is_hosting": true
}