| IP | |
| City | |
| Region | |
| Country/Code | |
| Zip Code | |
| Time Zone | |
| Lat/Lon |
<output> as root element
GET /v1/geolocation/format?q=ip4|ip6|hostname
- /v1/geolocation/json
- /v1/geolocation/json?q=example.com
- /v1/geolocation/xml?q=8.8.8.8
- /v1/geolocation/xml?q=2a00:1450:4006:803::200e
{
"ip": "8.8.8.8",
"country_code": "US",
"country_name": "United States",
"region_name": "Virginia",
"city": "Ashburn",
"zip_code": "20149",
"time_zone": "America/New_York",
"latitude": 39.03,
"longitude": -77.5
}