Get country, city, timezone, and ISP from any IP address. Cached for speed, simple REST interface.
3 free requests/day without API key
https://ip-geo-tau.vercel.appX-API-Key: your_key (header) or ?key=your_key (query)Get your free key below/api/geolocate?ip=8.8.8.8Get geolocation data for an IP address. Omit the ip parameter to auto-detect the caller's IP.
ipstringnoIPv4 or IPv6 address. If omitted, detects caller IP{
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"city": "Mountain View",
"region": "California",
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"lat": 37.4056,
"lon": -122.0775,
"cached": true
}// 400 — Bad Request
{ "error": "Invalid IP address" }
// 401 — Unauthorized
{ "error": "Invalid API key" }
// 429 — Rate Limited
{ "error": "Daily limit reached. Upgrade your plan." }
// 502 — Service Error
{ "error": "Geolocation service error: ..." }Get a free API key for 6 requests/day. No credit card required.
X-API-Key: your_key?key=your_keyStart free. Pay only when you need more.