Feature request: Using IPinfo Lite DB
I am requesting to add support for IPinfo's Lite to the project. The database has the following features:
- It is updated daily, with zero compromise to accuracy. There is no range clustering, and the database provides full accuracy.
- It includes country and ASN information in the same database.
- The data granularity reaches individual IP level.
- It is licensed under CC-BY-SA 4.0, permitting commercial usage, redistribution, and repackaging.
- Available file formats include: CSV, MMDB, JSON and Parquet
- The data is tabular and unnested, making it very easy to use. The dataset includes both IPv4 and IPv6 in a single file.
Database schema
| Field Name | Example | Data Type | Descrption |
|---|---|---|---|
| network | 154.24.39.204/30 | TEXT | CIDR/IP range or single IP address |
| country | Canada | TEXT | Country name |
| country_code | CA | TEXT | Two-letter ISO 3166 country code of the IP addresses |
| continent | North America | TEXT | Continent name of the IP location |
| continent_code | NA | TEXT | Two-letter continent code of the IP location |
| asn | AS174 | TEXT | Autonomous System Number, an organization that owns the IP range block |
| as_name | Cogent Communications | TEXT | Name of the AS (Autonomous System Number) organization |
| as_domain | cogentco.com | TEXT | Official domain or website of the ASN organization |
Documentation: https://ipinfo.io/developers/ipinfo-lite-database
Samples: https://github.com/ipinfo/sample-database/tree/main/IPinfo%20Lite
The IP database can be simply downloaded with only an free access token:
curl -L https://ipinfo.io/data/ipinfo_lite.csv.gz?token=$TOKEN -o ipinfo_lite.csv.gz
We also have a free IPinfo Lite API service based on this database that supports unlimited requests. Let me know what you think. Thanks!
This seems like a solid alternative to the maxmind IP geoloc DB, unsure if there are any differences between the two.
@rwjack I work for IPinfo. Our data is backed by active measurements from our Probe Network (1,200 servers running ping, traceroute, and other active measurements from 500 cities). We also incorporate dozens of different sources of data, ranging from geofeed, WHOIS, and to advanced network-driven and machine learning data to cutting-edge research-driven data.
You can access the country and ASN level data for free through the IPinfo Lite data service. There is absolutely zero compromise to the data, even though it is free.
Traditional IP geolocation services primarily rely on self-reported data from geofeeds and WHOIS databases. Moreover, their free products are intentionally less accurate and less updated.
Of course, there is a significant difference in terms of reliability and accuracy.
There is absolutely zero compromise to the data, even though it is free.
I absolutely want to trust you, but I appreciate you guys not forcing the user to trust you - I'd still prefer just having a local DB and querying it, instead of reporting every IP that connects to my server, to an external service.
@rwjack Thank you very much. I was definitely asking the project to use the offline database.
https://ipinfo.io/developers/ipinfo-lite-database
You only need to connect to our server once to download the database, then you can use it as an offline local database. No need to make any further requests.