Skip to content

IP geolocation lookup. Live ipapi.co fetch.

Enter any IPv4 or IPv6 address (or leave blank for your own IP). The lookup hits ipapi.co's free public API and returns country, region, city, ISP, ASN, timezone, currency, and reverse-DNS metadata. Browser-only, your IP query is sent only to ipapi.co; nothing is logged on Digital Heroes servers.

result
Click a preset or enter an IP and press Look up.
Sources used

The IP you query is sent only to ipapi.co's free API for the lookup. Digital Heroes does not log or store IPs. ipapi.co handles the data per their privacy policy.

Privacy: the IP is sent only to ipapi.co. Digital Heroes does not log it. Recent lookups use browser localStorage.

§ · written guide

How to use the IP Geolocation Lookup

This lookup shows the estimated location of an IPv4 or IPv6 address: country, region, city and timezone, plus the network that runs it and more. It sends the address to the free public ipapi.co service and lays out what comes back. Use it to check your own public IP, trace a visitor or server address from your logs, or see which provider runs an address.

Step by step

  1. Choose an address

    Type an IPv4 address such as 8.8.8.8 or an IPv6 address into the box. Leave the box empty to look up the public IP your own connection is using.

  2. Or use a preset

    Press My IP, Cloudflare 1.1.1.1, Google 8.8.8.8 or IPv6 sample. A preset fills the box and starts the lookup straight away. The IPv6 sample is 2606:4700:4700::1111.

  3. Run the lookup

    Press Look up or Enter. The result panel says it is calling ipapi.co, then fills in. If something fails, it shows the error and a list of likely causes.

  4. Read the details

    The IP and the country with its two letter code sit at the top. Below them are rows such as Region, City, Postal, Latitude / Longitude, Timezone, UTC offset, Currency, ISP / Org, ASN and Network.

Reading the result

  • Country is the most reliable part of the answer. City, postal code and coordinates are an estimate of where the network is based, not where a person is sitting, so treat them as approximate.
  • ISP / Org and ASN name the network that announces the address. A cloud or hosting company here usually means a server, VPN or proxy rather than a home connection.
  • Network is the address block the IP belongs to, and UTC offset is the timezone's current offset from UTC, such as +0530.
  • The row labeled Country (continent) shows the continent code, for example NA for North America or EU for Europe.
  • Rows the service has no data for are left out rather than shown empty.

Tips and common mistakes

  • Private and reserved addresses, such as 192.168.x.x, 10.x.x.x or 127.0.0.1, have no public location. The service returns an error for them.
  • If you are on a VPN, My IP shows the VPN's exit address, not your home connection.
  • Mobile networks often share one public address among many users and route through a distant gateway, so city results for phones are often far off.
  • Check the spelling of the address if you get an error. A stray space at either end is removed for you, but a missing digit or colon is not.

Privacy and limits

This tool sends a request from your browser to ipapi.co, a third party service. The address you typed is part of that request, and, like any web request, ipapi.co also sees your own public IP. Nothing is stored on this site or in your browser. ipapi.co's free tier allows about 1,000 lookups a day per IP, and past that the lookup returns an error.

Back to the tool

§ 02 · what IP geolocation does

IP-to-place is an approximation.

IP geolocation maps an IP address to a likely geographic location by traversing the chain: which Regional Internet Registry (RIR) allocated the block, who operates the block (the ISP / ASN), and where their points-of-presence are. Country-level accuracy is 99%+ for nearly all public IPs. City-level accuracy degrades to 55-80%, the same residential IP can geolocate to different cities depending on the provider's database update cadence. Mobile-carrier IPs and CGNAT-shared IPs are inherently less accurate because the gateway aggregates traffic from a wide region.

Three operating uses for IP geolocation. One, audience analytics, splitting traffic by country/region for content + commerce decisions. Two, fraud + bot detection, datacenter ASNs (AWS, GCP, OVH) on consumer-facing flows are heavily skewed bot. Three, geo-routing + locale defaults, selecting currency, language, and shipping templates based on country. The accuracy ceiling matters most for the third, never block legitimate users on city-level mismatches.

Tools in the same cluster: WHOIS Lookup for the domain-registration view. DNS Lookup for the A/AAAA record that produced the IP. Web Server Detector for the origin tier behind the IP.

§ 03 · questions

Five answers.

How does IP geolocation work?

IP geolocation maps an IP address to a geographic location by looking up which Regional Internet Registry (RIR) allocated the IP block, who operates that block (the ISP/ASN), and where their points-of-presence are. Accuracy is country-level for nearly 100% of public IPs, region-level for 70-90%, and city-level for 50-80% depending on the provider's database freshness. Mobile carriers and corporate VPNs reduce accuracy because their gateway IPs may serve users hundreds of miles from the gateway location.

What's an ASN and why does it matter?

ASN (Autonomous System Number) identifies the network operator that controls a block of IPs. AS13335 is Cloudflare. AS15169 is Google. AS32934 is Facebook. AS14618 is Amazon AWS. ASN tells you whether an IP is residential ISP (Comcast, Vodafone, Reliance Jio), datacenter / cloud (AWS, GCP, Azure, OVH), VPN service (Mullvad, ExpressVPN), CDN (Cloudflare, Fastly), or hosting provider (Hetzner, DigitalOcean). The ASN type matters for fraud scoring, bot detection, and ad-tech allowlist/blocklist work.

How accurate is geolocation in 2026?

Country-level accuracy is 99%+ for most providers. Region/state level accuracy is 75-90% for residential IPs. City-level accuracy ranges 55-80%, the same residential IP can geolocate to different cities depending on the provider's database update cadence. Mobile-carrier IPs are inherently less accurate because the gateway aggregates traffic from a wide region. CGNAT (Carrier-Grade NAT, used by mobile + some residential ISPs) means many users share a single public IP. For audience-targeting decisions, treat city-level results as approximate.

Why are some IPs missing data?

Several reasons. One, the IP belongs to an unallocated or reserved block (private 10.x, 172.16.x, 192.168.x, link-local, multicast). Two, the IP is brand-new and the provider's database has not picked it up yet (usually fresh allocations are indexed within 30-60 days). Three, the operator has not updated their geolocation registration with the RIR, so the database has stale or incorrect data. Four, IPv6 addresses are sometimes less complete than IPv4 because IPv6 deployment is newer and registry data is sparser.

Does this tool save my data?

The IP you query is sent to ipapi.co's public free API for the lookup; their free tier allows ~1,000 requests/day per IP without registration. Digital Heroes does not log or store the IP. The 'recent lookups' panel uses your browser's localStorage and stays on your device only. ipapi.co's privacy policy details their data handling.

§ 04 · geo + infra audit

Need a geo strategy?

Our web development engagements ship country-aware routing, locale + currency defaults, and CDN-tier-appropriate edge configuration for global ecommerce + SaaS audiences.

Published · Last updated .

Priya sent you a message Online now

Talk to a Developer Now

Share your name and email to reply.

Reply