An IP geolocation API takes an IP address and returns an estimated country, region, city, coordinates and network owner, usually as JSON in a few milliseconds. IPinfo and MaxMind lead on depth of data, ipgeolocation.io and ipdata give the most lookups per dollar, and IP2Location.io gives away 50,000 lookups a month.
Entry plans range from $12.99 a month on ipstack to $50 on ipdata, yet the sticker says little. Divided by the lookups each plan includes, the same entry tier costs anywhere from about 3 cents to 33 cents per 1,000 queries. The ten services below are ranked on what that money buys: city accuracy, network fields and the point where VPN and proxy flags switch on.
What an IP Geolocation API Can and Cannot Tell You
It estimates where a network sits, not where a person stands. MaxMind describes each city result as a circle drawn from a latitude, a longitude and an accuracy radius that runs from a few kilometers to 1,000 kilometers, and says its data should never be used to identify a particular address or household.
The raw material starts with address registration. IANA hands blocks of addresses to the five Regional Internet Registries (AFRINIC, APNIC, ARIN, LACNIC and RIPE NCC), which allocate them to internet providers in their regions. Geolocation vendors then layer on BGP routing data, latency measurements and geofeeds, the self-published prefix-to-location files defined in RFC 8805. IPinfo runs a probe network with more than 1,000 points of presence, and ipgeolocation.io pings and traceroutes networks from its own measurement points every day.
Precision drops as the question gets finer. ipdata benchmarks its database monthly against GPS-validated datasets and reports 99.8% correct country, 80.4% to 99.36% for region and 59.41% to 92.67% for city, varying by country. IPinfo, ipdata, ipgeolocation.io and IP2Location.io all state support for both address families; our explainer on IPv4 vs IPv6 covers why the newer format matters.
IP Geolocation API Plans by Entry Price, Free Tier and Unit Cost
Cost per 1,000 is the entry plan’s monthly list price divided by the lookups it includes. For ipdata, whose quota is daily, it assumes all 50,000 daily lookups are used across a 30-day month.
| # | API | Best for | Starting price | Free plan or trial | Cost per 1,000 at entry plan |
|---|---|---|---|---|---|
| 1 | IPinfo | Network and privacy data | Core $26/mo, 150k | Lite: unlimited country and ASN | $0.17 |
| 2 | MaxMind GeoIP | Pay per query, no plan | City Plus $0.0003 per query | GeoLite: 1,000 lookups/day | $0.30 |
| 3 | ipgeolocation.io | Free tier allowed in production | Starter $19/mo, 150K credits | 1,000 credits/day | $0.13 |
| 4 | IP2Location.io | Large free monthly quota | Starter $49/mo, 150K | 50K/month with attribution | $0.33 |
| 5 | ipdata | High daily volume | Startup $50/mo, 50,000/day | 1,000 city lookups/day, no key | $0.033 |
| 6 | Abstract API | Small apps, quick setup | Starter $19/mo, 200,000 | 1,000 requests once | $0.10 |
| 7 | ipregistry | Every field on every plan | Starter $29/mo, 100,000 credits | 20,000 credits once | $0.29 |
| 8 | BigDataCloud | Full response at low volume | Bronze US$29.95/mo, 100k | 10k/month | $0.30 |
| 9 | ipstack | Lowest entry price | Basic $12.99/mo, 50,000 | 100 requests/month | $0.26 |
| 10 | ipapi.co | Keyless testing | $15/mo, 60,000 | Up to 100/day, testing only | $0.25 |
Ten Lookup Services Ranked by Data per Dollar
1. IPinfo: Privacy Flags From the First Paid Plan

Price: Core $26 a month ($310 a year) for 150k requests | Free plan: Lite, unlimited country and ASN | Per 1,000: $0.17
IPinfo packs the most into its cheapest paid tier. Core adds city-level location, ASN details, connection context and privacy detection for VPN, Tor, proxy and relay traffic, so a fraud check and a store locator can share one call. Plus at $68 adds the accuracy radius, mobile carrier and venue name, and Max at $212 covers 250k requests and adds residential proxy detection.
Overage is billed per 1,000 lookups at $0.34 on Core, $0.91 on Plus and $1.68 on Max, with no minimum subscription period. IPinfo quotes 99.99% uptime, average responses of 50 to 200 ms and libraries for Python, Go, Rust, PHP, Java and more. The limit to know: the free Lite tier stops at country level.
2. MaxMind GeoIP: Pay Per Query With No Monthly Plan

Price: Country $0.0001, City Plus $0.0003, Insights $0.002 per query | Free plan: GeoLite, 1,000 lookups a day per service | Per 1,000: $0.30 on City Plus
MaxMind created GeoIP and says businesses have relied on it for more than 20 years, yet its web services need no subscription at all. You buy credit in amounts between $20 and $25,000 and each query draws it down, which suits traffic that swings from month to month. City Plus resolves to postal code and returns the ISP or organization, and commercial use needs no extra licence.
Proxy and anonymizer data sits only on Insights, at $2.00 per 1,000 lookups, more than six times the City Plus rate. Insights also adds confidence factors, user type and a static IP score. One display rule applies to every tier: when you show latitude and longitude, MaxMind requires the accuracy radius alongside them.
3. ipgeolocation.io: A Free Plan You Can Ship to Production

Price: Starter $19 a month ($190 a year) for 150K credits | Free plan: 1,000 credits a day | Per 1,000: $0.13 for location only
ipgeolocation.io bills in credits and charges only for successful HTTP 200 responses. A location lookup costs 1 credit, the Security module adds 2 and the Abuse contact adds 1, and no plan carries per-second or per-minute rate limits. Every plan, free included, reads from the same database, which refreshes daily.
The catch is how quickly modules multiply the bill. Location plus Security costs 3 credits, so Starter’s effective price rises to $0.38 per 1,000. Overage is on by default at $5 per 25K credits on Starter and can be switched off, and unused credits do not roll over.
4. IP2Location.io: 50,000 Free Lookups Every Month

Price: Starter $49 a month for 150K | Free plan: 50K a month with a key, attribution required | Per 1,000: $0.33
IP2Location.io comes from IP2Location, a long-running database vendor, and its free key covers 50,000 queries a month with 11 attributes. Starter raises that to 20 attributes, Plus at $249 reaches 59 attributes with VPN, Tor and residential proxy detection, and Security at $499 adds data center and AI crawler detection plus a fraud score, with a 7-day trial and no card.
It is the dearest entry plan here per lookup, and VPN detection at $249 for 300K works out to $0.83 per 1,000. Unused queries are forfeited each month and upgrades are charged in full rather than prorated. Overage on Starter is $10 per 30K, and the database behind every plan updates daily.
5. ipdata: Daily Quotas at the Lowest Unit Cost

Price: Startup $50 a month, or $40 billed yearly, for 50,000 a day | Free plan: 1,000 city-level lookups a day, no key | Per 1,000: $0.033 with the daily quota fully used
ipdata sells daily quotas instead of monthly ones, so Startup’s 50,000 a day is up to 1.5 million lookups in a 30-day month. There are no overage charges, the quota is padded by 10%, and average responses come in under 40 ms. Startup adds company data and OSINT blocklists; Business at $120 a month ($96 yearly) brings VPN detection, reputation scores and a 7-day trial.
Daily quotas cut both ways: a quiet Sunday cannot bank lookups for a busy Monday. Refunds are not offered. ipdata also publishes its accuracy figures by resolution, runs an EU endpoint and states that it does not log or keep lookup records.
6. Abstract API: 200,000 Lookups for $19

Price: Starter $19 monthly or $17 billed annually, 200,000 a month | Free plan: 1,000 requests on sign-up, no card | Per 1,000: $0.10
Abstract API sells a suite of simple developer endpoints, and its IP geolocation call returns city, region, postal code, coordinates, ASN, time zone, currency and a flag. Starter allows 10 requests a second, and the same tier scales to 500,000 lookups for $39 and 1 million for $69. Abstract cites sub-20ms responses and more than 250,000 mapped cities.
Company data needs Standard ($35 monthly) and VPN and fraud signals need Professional ($39). The 1,000 free requests are a one-off allowance on sign-up, limited to 1 request a second, and commercial licence wording appears only on the Enterprise card.
7. ipregistry: Nothing Held Back for Higher Tiers

Price: Starter $29 a month, or $290 a year, for 100,000 credits | Free plan: 20,000 credits once, no time limit | Per 1,000: $0.29
ipregistry gives every plan the same response: city-level location, ASN and company data, carrier, VPN and proxy detection, Tor and iCloud Private Relay. One lookup is one credit. It refreshes geolocation data at least daily and threat data every 15 minutes on average.
Credits can also be bought outright and never expire: 15,000 for $10 or 1,750,000 for $500. Professional at $79 covers 300,000 credits.
8. BigDataCloud: Every Field on a 10k Free Tier

Price: Bronze US$29.95 a month for 100k | Free plan: 10k requests a month | Per 1,000: $0.30
BigDataCloud, based in Australia, opens all endpoints and response fields on every plan, including confidence areas and hazard detection, with no rate limits and a 99.999% SLA. Its location data blends router service-area mapping with evidence from real users. Overage on Bronze is US$2.995 per 10k, and yearly billing gives two months free.
It also publishes a daily accuracy report that tests several providers against GPS ground truth. BigDataCloud runs that test and places itself first, so treat it as a useful method rather than a neutral verdict. Self-serve plans are licensed for internal use within your organisation, and a request over quota returns HTTP 403 unless pay-as-you-go is on.
9. ipstack: The Cheapest Paid Plan to Start

Price: Basic $12.99 a month, or $140.99 a year, for 50,000 | Free plan: 100 requests a month, non-commercial | Per 1,000: $0.26
ipstack, an apilayer product, gates features by module. Basic and Professional ($59.99 for 500,000) add time zone, currency and connection data, while proxy, VPN and Tor threat detection and the bulk endpoint arrive only on Professional Plus at $99.99 for 2,000,000. ipstack reports 2 to 3 billion requests a day and up to 24 database updates a day.
Its free tier, at 100 requests a month, is the smallest here and excludes commercial use. Overage fees start once a plan’s quota is spent, with alerts at 75%, 90% and 100%.
10. ipapi.co: Single-Field Endpoints for Quick Scripts

Price: $15 a month for 60,000, or $12 a month billed yearly | Free plan: up to 100 lookups a day, testing only | Per 1,000: $0.25
ipapi.co lets a script ask for one field at a time, such as /8.8.8.8/currency/. Responses carry less common fields like calling code, EU membership, capital, languages, area and population alongside city, postal code and ASN.
No VPN or proxy fields are documented, and the free allowance is offered for a limited time for testing and development, not production. ipapi.co notes that coordinates are often near the centre of population. The next tiers are $25 for 150,000 and $49 for 500,000.
What 300,000 Lookups a Month Costs on Each Service
Take a store with about 10,000 sessions a day, one lookup per session, or 300,000 a month. Here is the cheapest monthly-billed setup for city-level data on each service, overage included.
- ipdata: Startup’s 50,000 a day covers it at $50.
- ipgeolocation.io: Starter’s 150K plus six overage blocks of 25K at $5 is $19 + $30 = $49, the same as Plus at $49 for 500K.
- ipstack: Professional at $59.99 for 500,000.
- IPinfo: Core’s 150k plus 150 overage blocks at $0.34 is $26 + $51 = $77.
- ipregistry: Professional at $79 for 300,000 credits.
- BigDataCloud: Bronze plus 20 overage blocks of 10k: 20 x US$2.995 = US$59.90, so US$29.95 + US$59.90 = US$89.85.
- MaxMind City Plus: 300,000 x $0.0003 = $90.
- IP2Location.io: Starter plus five blocks of 30K at $10 is $49 + $50 = $99.
Add VPN and proxy flags and the order shifts. IPinfo stays at $77 and ipregistry at $79 because both include detection. ipgeolocation.io with the Security module needs 900K credits, which Pro covers at $79 for 1M. ipstack moves to Professional Plus at $99.99, ipdata to Business at $120, IP2Location.io to Plus at $249 and MaxMind Insights to $600. Detection of home-IP VPN exits is its own problem; our explainer on the residential VPN covers how home addresses differ from data center ones.
Accuracy Figures and How to Read Them
Every accuracy number in this category is published by the vendor that sells the data, so each one is a claim with a stated method, not a neutral score.
- ipdata lists country, region, city and postal accuracy separately, benchmarked monthly; postal ranges from 72.49% to 94.21% by country.
- MaxMind returns an accuracy radius with every city result, and an IP it can only place in a country gets a point near that country’s centre with a very large radius.
- BigDataCloud updates a public report daily against GPS ground truth, run by BigDataCloud itself.
- IPinfo headlines its Lite page “Rated #1 for IP Data Accuracy” and updates its data every 24 hours.
The practical test is your own traffic. Export a few hundred IPs whose location you know, such as logged-in users with a shipping address, run them through two or three free tiers, and compare city hit rates. Coordinates mark a representative point, usually a city centre, so judge by city name, not distance.
Quota Caps, Overage and What Happens at the Limit
Running out mid-month plays out differently by vendor, and it decides whether a traffic spike costs money or breaks a page.
- Keeps answering, bills extra: IPinfo, ipgeolocation.io (switchable), IP2Location.io paid plans and ipstack.
- Never bills extra: ipdata pads the daily quota by 10% and charges no overage.
- Stops answering: ipgeolocation.io’s free plan returns HTTP 429 until 00:00 UTC, IP2Location.io’s free service halts at the cap, and BigDataCloud returns 403 unless pay-as-you-go is enabled.
- Draws down credit: MaxMind deducts each query from prepaid funds, so a spike only shortens how long the balance lasts.
How to Choose an IP Geolocation API
- Country only, at any volume: IPinfo Lite, free and unlimited with attribution.
- City-level in production for free: ipgeolocation.io at 1,000 credits a day.
- Hundreds of thousands of lookups at the lowest unit price: ipdata Startup, if traffic is steady day to day.
- VPN and proxy flags on a modest budget: IPinfo Core or ipregistry, both under $80 at 300,000 a month.
- Spiky or unpredictable traffic: MaxMind’s pay-per-query credit.
- A generous free month for a side project: IP2Location.io’s 50,000 queries.
Frequently Asked Questions
How accurate is an IP geolocation API?
Country-level results are the most reliable, and ipdata reports 99.8% correct country. City accuracy varies widely by country, from 59.41% to 92.67% in ipdata’s benchmark. MaxMind’s accuracy radius can reach 1,000 kilometers for addresses it cannot place well.
Can an IP geolocation API find a street address?
No. Results are estimates centred on a city or region, and MaxMind states its data should not be used to identify an address or household. For a precise location, ask the user or use the device’s own location permission.
Which IP geolocation API flags VPNs on its cheapest plan?
IPinfo Core ($26) includes VPN, Tor, proxy and relay detection, and ipregistry and BigDataCloud include threat data on every plan. ipgeolocation.io charges 2 extra credits per lookup for its Security module.
What happens when I exceed my lookup quota?
It depends on the vendor. IPinfo and IP2Location.io paid plans bill overage, ipdata never charges extra, and BigDataCloud returns an HTTP 403 error unless pay-as-you-go is on.
Related Articles
Get the Fox Bulletin briefing
The stories that matter, in your inbox. No spam, unsubscribe anytime.
Newsletter signup will be available soon.
