deck icon indicating copy to clipboard operation
deck copied to clipboard

Feature request: Using IPinfo Lite DB

Open abdullahdevrel opened this issue 2 months ago • 0 comments

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!

abdullahdevrel avatar Oct 15 '25 17:10 abdullahdevrel