IP-API Geolocation
FREE NO AUTHFast and free IP geolocation API returning country, city, ISP, timezone, and coordinates.
Base URL
http://ip-api.com/json
Overview & Specs
Query visitor IPv4 or IPv6 addresses to determine country, region, city, zip code, latitude/longitude, timezone, and ISP in milliseconds.
Rate Limit
45 req/min (Non-commercial)
Format
REST / JSON
HTTPS
✓ Enabled
CORS
✓ Allowed (*)
Endpoints Specification
Live Interactive Sandbox
Test this API endpoint directly inside your browser. Select a method and click Send Request.
Response Payload
200 OK
38 ms
{
"status": "success",
"country": "Canada",
"countryCode": "CA",
"regionName": "Quebec",
"city": "Montreal",
"lat": 45.5017,
"lon": -73.5673,
"timezone": "America/Toronto"
}
Language Code Examples
curl -X GET "http://ip-api.com/json/" \
-H "Accept: application/json"
API Status & Latency
Operational
Checked real-time • 100% Uptime target
38 ms
Avg Response