Public API
Simple, fast JSON endpoint for IP lookups. Perfect for scripts, bots, and applications.
GET https://seemyip.com/api.php?ip=8.8.8.8
{
"ip": "8.8.8.8",
"version": "IPv4",
"hostname": "dns.google",
"city": "Mountain View",
"region": "California",
"country": "United States",
"country_code": "US",
"postal": "94043",
"lat": 37.4056,
"lon": -122.0775,
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"org": "Google Public DNS",
"asn": "AS15169",
"as_name": "Google LLC",
"is_proxy": false,
"is_vpn": false,
"is_tor": false,
"is_hosting": true,
"connection_type": "Hosting / Datacenter",
"location": "Mountain View, California, United States",
"coordinates": "37.4056, -122.0775",
"attribution": "MaxMind GeoLite2, ip-api.com, ipapi.co",
"api_version": "1.0"
}
Parameters
ip— IPv4 or IPv6 address (required)pretty— Set to 1 for pretty-printed JSON
Rate Limits
30 requests per minute per IP address.
Exceeding the limit returns HTTP 429.
Example cURL
curl "https://seemyip.com/api.php?ip=1.1.1.1&pretty=1"
This API is free for light to moderate use. For heavy production traffic or guaranteed SLAs, we will offer premium plans in the future.