Developers
IP2Location™ offers several open source APIs to support application integration by using IP2Location™ Binary (.BIN) data file.
- Perl Module
- C Library
- PHP Module
- Ruby Library
- Python Library
- Apache Module
- Cocoa / Objective C Library
- C# Class *
- VB.NET Class *
- Java Class *
- ASP/Visual Basic Class *
* Commercial License
The following evaluation copy of the database file is having limited range of IP address information. You can query all IP addresses from 0.0.0.0 to 99.255.255.255 only.
- IP2Location™ DB1 Sample BIN database (308.92 kB)
- IP2Location™ DB2 Sample BIN database (38.45 MB)
- IP2Location™ DB3 Sample BIN database (10.75 MB)
- IP2Location™ DB4 Sample BIN database (43.54 MB)
- IP2Location™ DB5 Sample BIN database (16.86 MB)
- IP2Location™ DB6 Sample BIN database (50.08 MB)
- IP2Location™ DB7 Sample BIN database (48.64 MB)
- IP2Location™ DB8 Sample BIN database (55.54 MB)
- IP2Location™ DB9 Sample BIN database (18.88 MB)
- IP2Location™ DB10 Sample BIN database (58.38 MB)
- IP2Location™ DB11 Sample BIN database (19.27 MB)
- IP2Location™ DB12 Sample BIN database (58.77 MB)
- IP2Location™ DB13 Sample BIN database (17.80 MB)
- IP2Location™ DB14 Sample BIN database (59.42 MB)
- IP2Location™ DB15 Sample BIN database (20.60 MB)
- IP2Location™ DB16 Sample BIN database (62.02 MB)
- IP2Location™ DB17 Sample BIN database (22.22 MB)
- IP2Location™ DB18 Sample BIN database (67.82 MB)
- IP2Location™ DB19 Sample BIN database (57.30 MB)
- IP2Location™ DB20 Sample BIN database (69.40 MB)
- IP2Location™ DB21 Sample BIN database (22.59 MB)
- IP2Location™ DB22 Sample BIN database (72.02 MB)
- IP2Location™ DB23 Sample BIN database (57.63 MB)
- IP2Location™ DB24 Sample BIN database (72.57 MB)
Tutorials
Display Visitor's Country Currency
Display Advertisement by Country
- Using ASP and COM Technology
- Using ASP and MS-SQL Database
- Using PHP and MySQL Database
- Using .NET Framework in C# or VB.NET
Redirect Web Visitors By Country
- Using ASP and COM Technology
- Using ASP and MS-SQL Database
- Using PHP and MySQL Database
- Using .NET Framework in C# or VB.NET
Credit Card Fraud Prevention
- Using ASP and COM Technology
- Using ASP and MS-SQL Database
- Using PHP and MySQL Database
- Using .NET Framework in C# or VB.NET
Determine Web Visitors Country of Origin in the Drop Down List
- Using ASP and COM Technology
- Using ASP and MS-SQL Database
- Using PHP and MySQL Database
- Using .NET Framework in C# or VB.NET
Geolocation using HTML 5
Joomla!: IP2Location Visitor Location & Weather Extension
This extension is using IP2Location database to trace your visitor's actual location with latitude and longitude, city name, state/region, country name and even the current weather status at their place.
http://extensions.joomla.org/extensions/external-contents/widgets-a-documents/9877
Drupal: IP2Location GeoLocation API
This is a IP2Location GeoLocation API to query IP2Location BIN database.
OSCommerce: IP2Location Form Auto Selector v1.0
Auto Selector detects the visitor's physical location automatically. It will fill up user registration forms and shipping forms based on the visitor's origin. Fields supported by this module include Post Code, City, State/Province, Country, and Area Code. This will accelerate the purchasing process and provide a more user-friendly interface for users.
WordPress: IP2Location Tags
Use the [ip2loc][/ip2loc] tags to dislay geolocation information of your visitors. You can use this plugin to block/display customized post content as well.
DotNetNuke module: IP2Location IP Country Redirection
IP2Location.com IP Country Redirection module detects the web visitor's country via their IP address and redirects to another page if that country has been blocked in the Country Configuration. You'll no longer have to manually block web visitors from certain IP address range.
