IP, ASN, geolocation, timezone, security, user-agent in plain text, JSON or HTTP headers.
ip.app is a free API for retrieving the public IP address of the requesting client along with related network and request information. It exposes multiple endpoints covering the IP address itself, ASN, HTTP headers, location, timezone, user-agent, a security/bot-detection endpoint, and a "whereami" endpoint that returns geolocation coordinates compatible with the Mozilla Location Service API. Responses are available in plain text or JSON, and the IP address and IP version are also returned via the HTTP headers x-ipapp-ip and x-ipapp-ip-version regardless of endpoint or format used.
The API supports GET, POST, and HEAD requests, with POST data being ignored, and HEAD requests returning only headers without a response body. Client-sent HTTP headers are echoed back prefixed with x-ipapp-, and the ASN endpoint returns the AS number paired with the organization name. An OpenAPI specification, an MCP server, and a Python package are provided.
It is intended for developers who need to programmatically check a public IP address or inspect request metadata such as ASN, location, timezone, or headers, whether from the command line, scripts, or applications. The page states the service has no ads, trackers, or unusual requirements, and documents rate limiting and geographic restrictions as part of its usage terms.
Yes, it is described as a free and easy way to check your current IP address and related information, with no ads or trackers.
It supports plain text, JSON, and HTTP header responses, and always returns the IP address and version in the x-ipapp-ip and x-ipapp-ip-version headers.
You can retrieve ASN, location, timezone, HTTP headers, user-agent, and security/bot-detection information via separate endpoints.
It can be called with simple HTTP requests using tools like cURL, wget, or HTTPie, and there are examples for Python, JavaScript, PHP, Ruby, Rust, Swift, C#, Dart, and PowerShell, plus a dedicated Python package.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Map an IP to a country.
Find geolocation with ip address.
Find location with IP address or domain.
IP geolocation web service to get more than 55 parameters.
Bundle of Free IP geolocation and WHOIS API.
Detect proxy and VPN using IP address.