GeoIP2 City Database
Do I Need a Commercial Site License?
Online pricing of the GeoIP databases is meant for internal Restricted Business purposes only. Use in support of a commercial product requires the purchase of a commercial license. Refer to the licensing overview for more information.
Product Summary: Determine the country, subdivisions (regions), city, and postal code associated with IPv4 and IPv6 addresses worldwide.
To access our most accurate IP geolocation data, use GeoIP2 Precision: City or Insights, which accurately geolocate 4% more IPs to cities and 9% more IPs to postal codes in the United States than the GeoIP2 City database.
The GeoIP2 City database is a more accurate version of our free GeoLite2 City database.
View Product Features
Purchase GeoIP2 City Database
$100 / month
Individual Continents
$48 / month
Product Features
Updated weekly. Last updated: 2021-06-11
Site license allows use on all machines within purchasing organization
99.8% accurate on a country level, 80% accurate on a state level, 68% accurate on a city level for the US within a 50 kilometer radius. More details.
Includes the following fields: ( Technical Details )
EU Country
Country of Registration
EU Registered Country
Country Represented and Type of Representation (For military bases)
Subdivisions (regions)
City Name
Postal Code
Longitude (Latitude and Longitude are often near the center of population. These values are not precise and should not be used to identify a particular address or household.)
Accuracy Radius (km)
Metro Code (US only)
Time zone
GeoNames IDs (for localization and pairing outside data)
Includes localized names for select locations in Simplified Chinese, French, German, Japanese, Spanish, Brazilian Portuguese, and Russian
Open Source APIs are available for most popular languages
Automated updates are available
Available Formats
This database is available in the following formats:
GeoIP2 binary MMDB format
GeoIP2 comma-separated values
Note: MaxMind no longer provides access to GeoIP Legacy databases with new purchases. New customers, please consider purchasing GeoIP2 services and databases.
Review Technical Details
The GeoIP2 version of this database incorporates GeoNames geographical data, which is made available under the Creative Commons Attribution 4.0 License.
MaxMind, GeoIP, minFraud, and related trademarks belong to MaxMind, Inc.
minFraud Services
GeoIP2 Anonymous IP Database
GeoIP2 Enterprise Database
GeoIP2 Precision Web Services
GeoIP2 Databases
GeoLite2 Free Geolocation Data
Support Center
System Status
Frequently Asked Questions
GeoIP Data Correction Request
Do Not Sell My Personal Information
Notice of Collection
Dev Center
Frequently Asked Questions
About MaxMind
Working at MaxMind
Commitment to Security
Charitable Giving
Contact Us
Terms of Use | Privacy Policy
My Account My Order
Products minFraud ServicesGeoIP2 Anonymous IP DatabaseGeoIP2 Enterprise DatabaseGeoIP2 Precision Web ServicesGeoIP2 DatabasesGeoLite2 Free Geolocation Data Support Support CenterSystem StatusFrequently Asked QuestionsGeoIP Data Correction RequestDo Not Sell My Personal InformationNotice of Collection Developers Dev CenterminFraudGeoIPFrequently Asked Questions Company About MaxMindWorking at MaxMindCommitment to SecurityCharitable GivingContact Us Blog Contact
GeoIP2 Precision Web Service Demo GeoIP2 City Database Demo Locate My IP Address Country City Insights Free Trial Account Country City City Database by Continent ISP Domain Name Connection Type GeoLite2 Commercial Redistribution Anonymous IP (Proxy Detection) Enterprise