IP Database service refer to the collection, analysis, and provision of data related to Internet Protocol (IP) addresses. This information can be used for a variety of purposes, such as improving website analytics, identifying and preventing fraudulent activities, personalizing user experiences, and more.
For example, few provide can offers GeoIP2 data services and databases that cover 99.9999% of IP addresses in use and are updated weekly.
Step 1: Purchase and dowload the IP dataset or IP database from IPIP, IPPlus360, MaxMind, IP2location, etc
- Save the file to ./data directory
- Update the config.yaml file
git clone https://github.com/airdb/ipdb
cd ipdb
make build
make start
$ curl 127.0.0.1:8080/
==== Welcome to ipdb service ====
Usage: visit or curl the url directly, then you will get the ip information.
IP2Location: https://www.ip2location.com/
GET /v1/ip2location/
GET /v1/ip2location/{ip}
IPIP: https://www.ipip.net/
GET /v1/ipip/
GET /v1/ipip/{ip}
MaxMind: https://www.maxmind.com/
GET /v1/maxmind/
GET /v1/maxmind/{ip}
IPPlus360: https://www.ipplus360.com/
GET /v1/ipplus360/
GET /v1/ipplus360/{ip}
Thank you for following us!!
https://github.com/airdb