New. Onion Domain

whoami

Instantly see your public IP address, geolocation, ISP, ASN, timezone, and browser details.

fetching...

About

whoami.upset.dev is a high-performance IP API service written in Go. It returns your IP address, geolocation, network, and browser information as JSON. CLI clients like curl, wget, and HTTPie receive ANSI-colored, column-aligned plain text output instead.

Use cases

Common ways developers and ops folks use whoami.

Self-hosted IP lookup

Run your own alternative to ipinfo.io or ip-api.com with no rate limits or third-party dependencies.

Network debugging

Verify what IP and headers a server sees when troubleshooting proxies, VPNs, or CDN configurations.

Frontend geolocation

Use the CORS-enabled JSON API directly from a browser to localize content or show region-specific UI.

CI/CD diagnostics

Check the egress IP of a runner or deployment environment from a pipeline script.

Privacy check

Confirm whether a VPN or proxy is working by comparing the returned IP and ASN against the expected exit node.

Features

What ships in the response.

  • IP geolocationCountry, city, coordinates, timezone, and ASN via MaxMind GeoLite2.
  • Reverse DNSResolves the PTR record for the client IP.
  • Reverse proxy supportReads CF-Connecting-IP, X-Forwarded-For, and X-Real-IP in priority order.
  • CORS enabledAccessible from any origin via browser fetch().
  • ANSI colored outputSyntax-highlighted, column-aligned output for CLI clients.
  • UA sanitizationStrips control characters, ANSI injection, and limits length.
  • Health checkAvailable at /health.

API

Free, CORS-enabled, no authentication required.

curl
curl https://whoami.upset.dev
JavaScript
const res = await fetch("https://whoami.upset.dev");
const { ip, country, city } = await res.json();