Returns an Geolocation object.
GET {{baseUrl}}/ip?ip={{ip}}&callback=<string>&exclude=<string>&format=<string>&key=<string>
Returns a geolocation object. Given an IP address. If no IP supplied, will use request IP address.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ip | string | ||
callback | string | Wraps return in jsonp callback. Example: callback=func | |
exclude | string | exclude=all => return IP address only | |
format | string | &format=none => return IP address as string | |
key | string | Your registered API key. |