<%if (googleVerification) { %> <% } %>

<%= name %> — What is my IP address?

<%= lookup.ip %>

To force JSON output simply add Accept: application/json header or try <%= public %>/json endpoint

You could try <%= public %>/?ip= query string to query other IP addresses.

<%if (donation) { %>

Donation: <%= donation %>

<% } %>

What do we know about this IP address?

<%if (lookup.ip) { %> <% } %> <%if (lookup.country) { %> <% } %> <%if (lookup.registered_country) { %> <% } %> <%if (lookup.city) { %> <% } %> <%if (lookup.latitude) { %> <% } %> <%if (lookup.longitude) { %> <% } %> <%if (lookup.time_zone) { %> <% } %> <%if (lookup.asn) { %> <% } %> <%if (lookup.user_agent) { %> <% } %> <%if (text) { %> <% } %> <%if (json) { %> <% } %> <%if (stats) { %> <% } %>
IP address <%= lookup.ip %> $ curl <%= public %>/ip
Country <%= lookup.country %> $ curl <%= public %>/country<%= queryString %>
Country (ISO code) <%= lookup.country_iso %> $ curl <%= public %>/country-iso<%= queryString %>
In EU? <%= lookup.country_eu %>
Registered Country <%= lookup.registered_country %>
City <%= lookup.city %> $ curl <%= public %>/city<%= queryString %>
Latitude <%= lookup.latitude %>
Longitude <%= lookup.longitude %>
Timezone <%= lookup.time_zone %>
ASN <%= lookup.asn %> $ curl <%= public %>/asn<%= queryString %>
ASN (organization) <%= lookup.asn_org %> $ curl <%= public %>/asn-org<%= queryString %>
Is Tor? <%= lookup.tor %> $ curl <%= public %>/tor<%= queryString %>
Is Bad ASN? <%= lookup.bad_asn %> $ curl <%= public %>/bad_asn<%= queryString %>
User agent <%= (`${lookup.user_agent.product}/${lookup.user_agent.version}`) %>
User agent: Comment <%= lookup.user_agent.comment %>
User agent: Raw <%= lookup.user_agent.raw_value %>
Text <%= text %> $ curl <%= public %><%= queryString %>
JSON <%= json %> $ curl <%= public %>/json<%= queryString %>
Stats <%= stats %> $ curl <%= public %>/stats

By using this service and the source code you agree to the MaxMind's GeoLite2 End User License Agreement. We never collect or store any raw log of visitor's identifiable information. This page doesn't require javascript to be enabled by a visitor. <%if (noCloudflare) { %> This site is hosted from cloudflare-free environment. <% } %>