@ip-location-db/geolite2-city-mmdb
v2.3.2024112018
Published
Ip to location database
Downloads
700
Maintainers
Readme
ip-location-db/geolite2-city-mmdb
Download
| Database | Type | License | Updated | IPv4 | IPv6 | IPv4-num | IPv6-num | |---|---|---|---|---|---|---|---| | GeoLite2 | City | GeoLite2 License by MaxMind | Twice weekly | CSV.gzCSV.7zMMDB | CSV.gzCSV.7zMMDB | CSV.gzCSV.7z | CSV.gzCSV.7z |
MMDB Format
country_code, city, state1, state2, latitude, longitude, postcode, timezone
country_code
country_code
is the two-letter code defined in ISO 3166-1 alpha-2.
You can get the country name, capital, continent, currency, languages, etc.
from the country_code
by Countries Database in JSON, CSV, SQL format.
Referenced Database and License
GeoLite2 database [Update: Twice weekly]
GeoLite2 is created by MaxMind. The license of GeoLite2 is written in GEOLITE2_LICENSE and End User License Agreement (EULA) is written in GEOLITE2_EULA. Please carefully read the GEOLITE2_LICENSE and GEOLITE2_EULA files, if you use these database. This package comes with certain restrictions and obligations, most notably:
- You cannot prevent the library from updating the databases.
- You cannot use the GeoLite2 data:
- for FCRA purposes,
- to identify specific households or individuals.
You can read the latest version of GeoLite2 EULA. GeoLite2 databse is provided under CC BY-SA 4.0 by MaxMind, so, you must create attribution to MaxMind for using GeoLite2 database. If you need better accuracy, please use the commercial version GeoIp2.