Skip to content
§
§ · free tool

IP geolocation lookup. Live ipapi.co fetch.

Enter any IPv4 or IPv6 address (or leave blank to detect your own). Returns country, region, city, ISP, ASN, timezone, currency, and full geographic metadata via the ipapi.co free public API.

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.

§ 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 .