IP Geolocation APIs
Resolve an IP address to location, ISP/ASN, and threat/proxy intelligence as an API.
TL;DR: Top pick: MaxMind GeoIP2. 12 APIs compared, 9 with a free tier; cheapest published entry $10 month (ipdata). Why →
What is an IP Geolocation API?
An IP Geolocation API lets developers resolve an ip address to location, isp/asn, and threat/proxy intelligence as an api over HTTP. The IP Geolocation APIs below are compared on pricing, compliance, capabilities, and developer experience from structured, cited data.
| # | API | Pricing | Free | Self-serve | SOC 2 | HIPAA | GDPR | Webhooks | Actions |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MaxMind GeoIP2 | Hybrid | ✓ | ✓ | Type II | ✗ | ✓ | ✗ | 18 |
| 2 | IPGeolocation.io | Subscription | ✓ | ✓ | · | · | ✓ | ✗ | 17 |
| 3 | IPinfo | Subscription | ✓ | ✓ | - | ✗ | ✓ | ✗ | 16 |
| 4 | ipdata | Subscription | ✓ | ✓ | · | · | ✓ | ✗ | 14 |
| 5 | IP2Location | Subscription | ✓ | ✓ | · | · | ✓ | ✗ | 13 |
| 6 | Abstract IP Geolocation API | Subscription | ✓ | ✓ | Type II | ✗ | ✓ | ✗ | 10 |
| 7 | ip-api.com | Subscription | ✓ | ✓ | - | ✗ | ✓ | ✗ | 9 |
| 8 | Ipregistry | Usage | ✗ | ✓ | · | · | ✓ | ✗ | 11 |
| 9 | DB-IP | Subscription | ✓ | ✓ | · | ✗ | ✓ | ✗ | 8 |
| 10 | ipapi.co | Subscription | ✓ | ✓ | · | ✗ | ✓ | ✗ | 5 |
| 11 | ipstack | Subscription | ✗ | ✓ | · | · | ✓ | ✗ | 10 |
| 12 | Digital Element (NetAcuity) | Sales-led | ✗ | ✗ | · | · | ✓ | ✗ | 12 |
The APIs
#1 MaxMind GeoIP2
60 / 100MaxMind GeoIP2 is an IP geolocation service covering IPv4 and IPv6 addresses across 190+ countries, used for content localization, fraud prevention, proxy and VPN detection, ad targeting, and compliance geofencing. Pricing starts at $0.0001 per lookup with a free tier of 1,000 lookups per day via the GeoLite2 web service, though GeoLite2 requires attribution and is not intended for commercial use. Official SDKs span seven languages including Python, Java, Node.js, and PHP, and the service holds SOC 2 Type II certification and GDPR compliance. Databases are updated every weekday, and paid accounts receive unlimited web service queries.
PricingHybrid · from $0.0001 1,000 lookups · free tier ✓TrustSOC 2 Type II · GDPRDoesThe catchThe industry standard with downloadable databases for fast offline lookups, but the free GeoLite2 tier is coarser, attribution-gated, and city-level accuracy is modest (~68% within 50km in the US).#2 IPGeolocation.io
76 / 100IPGeolocation.io is a REST API for IP-based geolocation and threat intelligence, covering both IPv4 and IPv6 across 30.2 million IP ranges with country-level accuracy near 99% and city-level accuracy around 75%. It supports use cases including fraud prevention, content localization, ad targeting, and security enrichment, with actions spanning proxy/VPN/Tor detection, ASN lookups, carrier data, and reverse DNS. Paid plans start at $19 per month with no rate limits; a permanent free tier offers 1,000 credits per day for non-commercial use, no credit card required. SDKs are available in ten languages, an MCP server is supported, and customers on record include Atlassian, Intuit, SpaceX, and Verizon.
PricingSubscription · from $19 month · free tier ✓TrustGDPRDoesUsed byAtlassian, Intuit, SpaceX, VMwareThe catchGenerous data and a permanent free tier with no card required, but the free tier is non-commercial only.#3 IPinfo
68 / 100IPinfo is an IP data API launched in 2013, serving use cases from content localization and fraud prevention to proxy/VPN detection and network intelligence. Paid plans start at $49/month for up to 150,000 requests, with city-level geolocation and privacy detection available on the Core tier and above; a free Lite tier offers unlimited country-level and ASN lookups with attribution required. The REST API uses API key auth and ships official SDKs for over a dozen languages including Python, Go, Rust, and Swift, and an MCP server is available. GDPR compliance and a published SLA are documented; database downloads require a separate sales agreement.
PricingSubscription · from $49 month · free tier ✓TrustGDPRDoesUsed byBupa, GreyNoise, Fingerprint, TransferGoAvoid ifYou have strict compliance requirements#4 ipdata
67 / 100ipdata is an IP geolocation and threat intelligence API, launched in 2017, that returns location, ASN, carrier, company, timezone, currency, and threat profile data for any IPv4 or IPv6 address. It targets use cases such as content localization, fraud prevention, VPN and proxy detection, and GDPR/CCPA compliance geofencing. Pricing starts at $10/month with a free tier of 1,500 requests per day for non-commercial use, and advanced features like VPN detection and commercial blocklists are gated to Business and Enterprise plans. SDKs are available in 11 languages, the API uses simple key-based REST calls, and customers include Disney, Adobe, Cisco, and NASA's Jet Propulsion Lab.
PricingSubscription · from $10 month · free tier ✓TrustGDPRDoesUsed byDisney, NASA Jet Propulsion Lab, Tencent, CiscoAvoid ifYou have strict compliance requirements#5 IP2Location
64 / 100IP2Location is a REST-based IP intelligence service, established in 2002, that resolves IPv4 and IPv6 addresses to geolocation, ASN, carrier, proxy and VPN detection, threat scoring, and company data for uses ranging from content localization and fraud prevention to ad targeting. Commercial database subscriptions start at $49 per month with 99.5% country accuracy and daily updates, while a free tier covers 50,000 queries per month with attribution required. SDKs span 18 languages including PHP, Python, Go, Rust, and Haskell, and an MCP server is available; GDPR compliance and a published SLA are documented.
PricingSubscription · from $49 month · free tier ✓TrustGDPRDoesAvoid ifYou have strict compliance requirements#6 Abstract IP Geolocation API
73 / 100Abstract IP Geolocation API is a REST-based lookup service covering 4 billion+ IPs across 190+ countries at city-level precision, returning location, ASN, timezone, currency, connection type, and VPN/proxy detection in a single call. It suits developers building content localization, fraud prevention, geofencing, and analytics enrichment into their products. Paid plans start at $17/month after a free tier of 1,000 requests/month, with self-serve signup and SDKs for JavaScript, Python, and PHP. The service is SOC 2 Type 2 certified and GDPR compliant, with a published SLA and enterprise plans available.
PricingSubscription · from $17 month · free tier ✓TrustSOC 2 Type II · GDPRDoesUsed bySalesforce, Google, PepsiCo, Wells Fargo#7 ip-api.com
55 / 100ip-api.com is a REST-based IP geolocation service, active since 2012, covering global IPv4 and IPv6 addresses with lookups for location, ASN, carrier data, timezone, currency, and proxy/VPN/Tor detection. A free tier allows up to 45 requests per minute for non-commercial use over HTTP only, while the Pro subscription adds HTTPS, unlimited requests, and access to a larger anycast network spanning 23 points of presence. Pro plans require annual billing and self-serve signup is available without a sales call. The service is GDPR-compliant and ISO 27001 certified.
PricingSubscription · free tier ✓TrustGDPR · ISO 27001DoesThe catchGenuinely free with no signup for non-commercial use, but the free endpoint is HTTP-only and bars commercial use; the Pro tier is a flat annual subscription.#8 Ipregistry
55 / 100Ipregistry is an IP intelligence API covering geolocation, ASN lookup, proxy and VPN detection, user agent parsing, and threat intelligence for use cases ranging from fraud prevention and geo-blocking to ad targeting and GDPR enforcement. It covers roughly 99.99% of IPv4 and IPv6 addresses globally, with geolocation data refreshed daily and threat data updated every 15 minutes. Pricing is credit-based starting at $10 for 50,000 lookups with no expiry, and new accounts receive a one-time 100,000-lookup free trial for personal use. Notable customers include Coinbase and Accenture, and SDKs are available for JavaScript, Python, and Java.
PricingUsage · from $10 50,000 lookups (prepaid credits, no expiry) · free tier ✗TrustGDPRDoesUsed byAccenture, Coinbase, Kustomer, SlidoAvoid ifYou want to try it free before paying#9 DB-IP
56 / 100DB-IP is an IP geolocation and network intelligence service, active since 2010, covering IPv4 and IPv6 addresses across 215,000+ cities with daily-updated commercial data. It supports lookups, ASN queries, proxy/VPN/Tor detection, and threat intelligence via a REST API with API key auth, plus downloadable CSV and MMDB database files. Pricing is subscription-based with a free tier of 500 requests per day (HTTP only) and paid plans scaling to enterprise unlimited volume. Customers include Amazon, Microsoft, and Samsung, and the service publishes an SLA and is GDPR compliant.
PricingSubscription · free tier ✓TrustGDPRDoesUsed byAmazon, Fujitsu, Microsoft, SamsungThe catchCheap, with downloadable databases, but the free API is HTTP-only and the better accuracy and fields sit behind paid tiers.#10 ipapi.co
62 / 100ipapi.co is a REST API for IP address geolocation, suited for content localization, geo-redirects, timezone and currency detection, and bot filtering. It resolves IPv4 and IPv6 addresses to city, country, and postal-code level using data sourced from DB-IP and MaxMind GeoLite2, updated daily. Paid plans start at $12 per month with a free tier of 1,000 lookups per day for testing, and an enterprise tier reaching 15 million monthly lookups. The API uses key-based auth, offers Python and Node.js SDKs, and is GDPR compliant, though data caching and sublicensing are prohibited under its terms.
PricingSubscription · from $12 month · free tier ✓TrustGDPRDoesAvoid ifYou have strict compliance requirements#11 ipstack
56 / 100ipstack is a real-time IP geolocation REST API, active since 2009, that returns location, ISP, timezone, currency, connection type, and ASN data for both IPv4 and IPv6 addresses across 2 million-plus locations worldwide. It targets developers building content localization, fraud prevention, ad targeting, and compliance workflows. Paid plans start at $12.99 per month with a one-time 5,000-request free trial; proxy, VPN, and Tor detection and bulk lookups require the Professional+ tier at $99.99 per month. Notable customers include Microsoft, Airbnb, and HubSpot, and the service is GDPR-compliant with a published SLA.
PricingSubscription · from $12.99 month · free tier ✗TrustGDPRDoesUsed byMicrosoft, Airbnb, Samsung, ActivisionAvoid ifYou want to try it free before paying#12 Digital Element (NetAcuity)
11 / 100Digital Element's NetAcuity is an enterprise IP geolocation database and API that has been in market since 1999, covering 99.9999% of routable IPv4 and IPv6 addresses with country-level accuracy above 99.9% and city-level accuracy above 97%. It serves use cases including ad targeting, content localization, fraud prevention, proxy and VPN detection, and compliance geofencing, with customers such as Netflix, LinkedIn, Adobe, and The Trade Desk. Pricing is fully custom and requires a sales engagement, with no published tiers, no free tier, and no self-serve signup. The data is delivered as a downloadable flat-file database or via REST API with weekly geolocation updates and daily proxy intelligence refreshes, and the product is built on a privacy-by-design methodology that collects no PII.
PricingSales-led · free tier ✗TrustGDPRDoesUsed byThe Trade Desk, eBay, CNN, OracleThe catchThe enterprise incumbent (NetAcuity) with the deepest proxy and B2B intelligence, but it is sales-led with no public pricing, no free tier, and no self-serve signup.