Geo
IP Lookup
Returns geolocation and timezone data for a given IPv4 or IPv6 address. Pass auto:ip to auto-detect the caller's IP.
get/ip.json
Query parameters
keystring required
Example:YOUR_API_KEY
Your WeatherAPI.com API key.
qstring required
Example:auto:ip
IPv4, IPv6 address, or auto:ip for caller's IP.
Response
IP geolocation data