-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
Description
IPinfo.io also delivers data in the MMDB file format. The difference between MaxMind and DBIP's MMDB database format is that IPinfo uses a "tabular" data format.
Example from the IPinfo IP to Geolocation database:
| FIELD NAME | EXAMPLE | DATA TYPE | DESCRIPTION |
|---|---|---|---|
| start_ip | 1.253.242.0 | TEXT | Starting IP address of an IP address range |
| end_ip | 1.253.242.255 | TEXT | Ending IP address of an IP address range |
| join_key | 1.253.0.0 | TEXT | Special variable to facilitate join operation |
| city | Yangsan | TEXT | City of the location |
| region | Gyeongsangnam-do | TEXT | Region of the location |
| country | KR | TEXT | ISO 3166 country code |
| latitude | 35.34199 | FLOAT | Latitude value of the location |
| longitude | 129.03358 | FLOAT | Longitude value of the location |
| postal_code | 50593 | TEXT | Postal code of the location |
| timezone | Asia/Seoul | TEXT | Local time zone |
You can try our free databases as well:
The free database provides full accuracy, is updated daily, and combines IPv4 and IPv6 data in a single dataset. The free IP database is licensed under CC-BY-SA 4.0 and permits commercial usage.
Update mechanism
The simple update mechanism uses a storage bucket URI and the access token as a parameter. The MMDB dataset is not zipped and can be directly downloaded:
curl -L https://ipinfo.io/data/standard_privacy.mmdb?token=<YOUR_TOKEN> -o privacy.mmdb
IPinfo also has a checksums API endpoint.
Samples and documentation
- Samples: https://github.com/ipinfo/sample-database
- IP database documentation: https://ipinfo.io/developers/database-download
- Database schema: https://ipinfo.io/developers/database-types
- Download URIs: https://ipinfo.io/developers/database-types
Please let me know what you think. Thanks!