Public APIs
ip.app favicon

ip.app

Geocoding

IP, ASN, geolocation, timezone, security, user-agent in plain text, JSON or HTTP headers.

ip.app's website screenshot

About ip.app

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.

Key features

  • Returns the requesting client's public IP address (IPv4 or IPv6)
  • Provides ASN, location, timezone, and user-agent lookups via dedicated endpoints
  • Includes a security endpoint with bot detection
  • Supports plain text, JSON, and HTTP header response formats
  • Works with GET, POST, and HEAD methods
  • Ships an OpenAPI specification, MCP server, and Python package

Frequently asked questions

Is ip.app free to use?

Yes, it is described as a free and easy way to check your current IP address and related information, with no ads or trackers.

What response formats does the API support?

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.

What information can I retrieve besides my IP address?

You can retrieve ASN, location, timezone, HTTP headers, user-agent, and security/bot-detection information via separate endpoints.

How do I integrate it into my code?

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.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product