geo
Get geolocation information for an IP address
Changed onget/geo/{ip}
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/geo/{ip}
- Auth: HTTP bearer
Path parameters
ipstring required
IP address to geolocate (IPv4 or IPv6)
Response
Geolocation information retrieved
Example response
{
"city": "Mountain View",
"country": "United States",
"country_code": "US",
"ip": "8.8.8.8",
"latitude": 37.386,
"longitude": -122.0838,
"region": "California",
"timezone": "America/Los_Angeles"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning