IPv4 geolocation

FilesSizeFormatCreatedUpdatedLicenseSource
111.8 MBcsvalmost 7 years agoPublic Domain Dedication and LicenseMaxmind GeoLite2

Database of IPv4 address networks with their respective geographical location. Based on GeoLite2 Country Free Downloadable Databases as of Apr 21, 2015 http://dev.maxmind.com/geoip/geoip2/geolite2/...

Read more

Data Files

FileDescriptionSizeLast modifiedDownload
geoip2-ipv4
11.8 MBalmost 7 years ago
geoip2-ipv4

Data Previews

geoip2-ipv4

Schema

nametypedescription
networkstringThis is the IPv4 network in CIDR format such as 2.21.92.0/29.
geoname_idintegerA unique identifier for the network's location as specified by GeoNames.
continent_codestringThe continent code for this IP. Possible codes are: AF - Africa, AS - Asia, EU - Europe, NA - North America, OC - Oceania, SA - South America
continent_namestringThe continent name for this location
country_iso_codestringA two-character ISO 3166-1 country code for the country associated with the location.
country_namestringThe country name for this location.
is_anonymous_proxybooleanA 1 if the network is an anonymous proxy, otherwise 0.
is_satellite_providerbooleanA 1 if the network is for a satellite provider that provides service to multiple countries, otherwise 0.

badge

Database of IPv4 address networks with their respective geographical location.

Data

Based on GeoLite2 Country Free Downloadable Databases as of Apr 21, 2015 http://dev.maxmind.com/geoip/geoip2/geolite2/

Two files were used to generate this dataset:

GeoLite2-Country-Blocks-IPv4.csv  
GeoLite2-Country-Locations-en.csv  

with the following considerations:

  • Where geoname_id was not available, registered_country_geoname_id was used.
  • Where geoname_id and registered_country_genoname_id where empty, geoname_id, continent_code, continent_name, country_iso_code and country_name are empty.

Preparation

Original CSVs were imported into a MySQL database, then with a script an additional CSV was created combining Country names, locations and IPs.

License

Datapackage: Creative Commons Zero

Original CSV: This dataset includes GeoLite2 data created by MaxMind, available from www.maxmind.com