IP Geolocation
Pinpoint any IP address to its geographic location with city-level precision. Multi-source validation cross-references Regional Internet Registries, network operators, and proprietary signals for maximum accuracy.
$ curl https://api.iptruth.com/ip/8.8.8.8 { "ip": "8.8.8.8", "hostname": "dns.google", "organization": "Google LLC", "location": { "city": "Mountain View", "region": "California", "country_name": "United States", "country_code": "US", "postal_code": "94043", "latitude": 37.386, "longitude": -122.0838, "timezone": "America/Los_Angeles", "accuracy_radius_km": 5, "confidence": 0.97 }, "bgp_informed": true, "ipv6_native": false }
City-Level Precision
Multi-source validation ensures accurate city identification with confidence scoring across 250,000+ locations worldwide.
Multi-Source Validation
Cross-references Regional Internet Registries, ISP data, and proprietary signals to minimize error rates.
Real-Time Updates
Continuously updated from 1,000+ data sources with sub-hour refresh cycles for dynamic IP ranges.
How It Works
IPTruth geolocation draws from all five Regional Internet Registries (ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC), live BGP routing tables, and direct feeds from network operators worldwide. Every data point is cross-validated across multiple independent sources to eliminate stale or inaccurate entries.
When BGP announces a prefix change -- such as an IP block being reassigned to a new geography -- our geolocation data updates immediately rather than waiting for a monthly database refresh. This BGP-informed approach means IPTruth reflects the actual state of the internet, not a static snapshot.
Our multi-source validation pipeline compares data from 1,000+ sources in real time. Conflicting records are resolved through confidence-weighted consensus, and each result includes an accuracy radius and confidence score so you know exactly how reliable each lookup is.
Use Cases
Content Localization
Deliver region-specific content, language, and currency based on visitor location.
Ad Targeting
Improve advertising ROI with precise geographic targeting down to the city and postal code level.
Regulatory Compliance
Enforce geographic restrictions and data sovereignty requirements with reliable country identification.
Analytics & Insights
Enrich analytics with geographic dimensions to understand traffic patterns and user distribution.
Ready to get started?
Start with our free tier — no credit card required. Upgrade when you need more.