IP Geolocation API
Accurate IP-to-location mapping with ASN ownership, organization data, and threat context. Power fraud detection, compliance geofencing, and security alert enrichment.
What you can do
Real outcomes teams achieve with IP Geolocation
Geographic Location
Get country, region, city, coordinates, timezone, and postal code for any IPv4 or IPv6 address with high accuracy.
Privacy & Anonymization Signals
Flag Tor exit nodes, hosting / datacenter ASNs, iCloud Private Relay and Cloudflare WARP egress ranges, and known VPN networks — built into the geolocation response so fraud and access-control rules don't need a second API call.
Network Intelligence
Identify ASN ownership, ISP/organization operating the IP range, network type (residential, business, datacenter), and RPKI Route Origin Validation status — the canonical signal for BGP hijack and route-leak detection. Organization name populates for every allocated ASN, not just a curated list.
Reverse DNS & Email Deliverability
PTR lookups with forward-confirmed reverse DNS validation across up to 10 hostnames, plus a one-word deliverability verdict (pass / warn_generic / warn_no_fcrdns / fail_no_ptr) so mail-ops teams skip writing their own scoring logic.
Abuse Contact Lookup
Top-level `abuse_contact` field on every IP WHOIS and IP range response — pulled from `role=abuse` RDAP entities first, then RIPE-style `abuse-mailbox` vCard extensions, so both ARIN and RIPE networks yield a directly-usable abuse email without a second lookup.
Bogon Detection
Identify private, reserved, and invalid IP addresses that should never appear on the public internet.
Simple Integration
Get started in minutes with our RESTful API, or connect via MCP and let your AI call these endpoints directly. Clean documentation, predictable responses, and comprehensive error handling.
- RESTful JSON API
- Global edge-delivered responses
- Comprehensive documentation
- 99.9% uptime target
- MCP-compatible — use with Claude, ChatGPT, or Gemini
const response = await fetch(
'https://api.edgedns.dev/v1/ip/geolocation?ip=8.8.8.8',
{ headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }
);
const { data } = await response.json();
console.log({
country: data.country.name, // "United States"
city: data.city, // "Mountain View"
organization: data.asn.organization // "Google LLC"
});Related Endpoints
6 endpoints available for ip geolocation
Real-World Use Cases
See how teams are using IP Geolocation in production
Put IP Geolocation to work — via API or AI
Start free with 200 requests/month. Call the API directly or connect your AI through MCP. Upgrade to Pro when you need private monitoring and higher limits.
No credit card required
Already have an account? Sign in