-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
I work for IPinfo and was checking out the project. I think if you are interested, you can package an IP geolocation database by incorporating the access token of the IPinfo Lite database. If you build out the download mechanism and package in the access token.
https://ipinfo.io/developers/ipinfo-lite-database
- 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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers