MaxMind
Support My Account FAQ My Order
Support My Account FAQ My Order

Request Support
Frequently Asked Questions
GeoIP Installation
Linux/Unix APIs
Windows APIs
Web Service Sample Code


Support Center

MaxMind Forum
minFraud Support Center

License Documents

Electronic License Agreement Signature Form
GeoIP Site License Explanation

GeoIP Database Installation

Below are some sample guidelines on how to install GeoIP databases. The guidelines may reference a specific GeoIP product but the concept can usually be applied to the other GeoIP databases as well.

GeoIP Country Database (Binary format) GeoIP City Database (Binary format)
GeoIP Automated Updates (Binary format)
GeoIP Database with MySQL(CSV format) Sample GeoIP Database CSV Structure
GeoIP Database with Oracle (CSV format)
GeoIP Database with phpAdsNew
GeoIP Database with AWStats (GeoIP Region and City)

Please contact your product provider directly if the product that you are integrating GeoIP with is not listed above. Contact info@maxmind.com if you would like to submit installation documentation for GeoIP integration.

GeoIP APIs

We offer a number of APIs that are optimized for speed, memory usage, and database size. All the APIs work with GeoIP Country but may not work with other GeoIP databases. Please make sure to check if the APIs support the database your are using. Contact support@maxmind.com to request additional APIs.

Linux/Unix APIs:
Apache Module C Library Java Class Pascal Perl Module PHP Module Python Class Ruby Module
Windows APIs:
C DLL C# Class Java Class Pascal Perl PPM Module MS COM Object VB.NET

We also have a listing of 3rd party resources for GeoIP.

Web Service APIs

Examples on how to use the MaxMind GeoIP web services from server-side scripts are available in Perl, ASP and PHP. Any programming language that supports HTTP client calls should be able to use MaxMind web services.
Country Usage City Usage City/ISP/Org Usage Proxy Usage Error Codes
GeoIP Documentation

ISO 3166-1 Codes (Country Codes)
ISO 3166-2 Codes (Convert US/Canada region codes to names)
FIPS 10-4 Codes (Convert world region codes to names)
Worldwide Countries Lat/Long Coordinates
US States Lat/Long Coordinates
US Metro Codes
IP Location and GeoIP Explained


MaxMind, GeoIP and related marks are registered trademarks of MaxMind, Inc.
Copyright © 2008 MaxMind, Inc. All Rights Reserved. Terms of use.