Skip to content

Webservice and API solution to identify country, region, city, latitude & longitude, ZIP code, time zone, ISP, VPN and residential proxies. IPAddress information is obtained from GeoIP2 and checking IPAddress is proxy or not is obtained from IP2Proxy.com.

Notifications You must be signed in to change notification settings

KevinKien/Webservice-API-IPInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webservice & API IPInfo

Identify Geographical Location and Proxy by IP Address

How It WorksInstallAPI Documentation

Webservice and API solution to identify country, region, city, latitude & longitude, ZIP code, time zone, ISP, VPN and residential proxies. IPAddress information is obtained from GeoIP2 and checking IPAddress is proxy or not is obtained from IP2Proxy.com.

How It Works

nuclei-flow

Install

Run with docker

Build image with dockerfile.

docker build -t ipinfo:1.0.0 -f Dockerfile .

Run container

docker run -it --name ipinfo -p 8080:8080 -h ipinfo ipinfo:1.0.0

Run with Python

Install python3 and pip3

sudo apt-get install python3 python3-pip

Install pakages

pip3 install -r requirements.txt

Run service

python3 runserver.py

Usage

Access to ip:port example: http://127.0.0.1:8080

API Documentation

API get ip info

curl http://192.168.1.108:8080/api/195.149.108.41
{"City":"Europe",
"Country":"Ukraine",
"IPAdress":"195.149.108.41",
"ISP":"The private businessman Buryanov Konstantin Volodi",
"Location":"32.263,48.5043",
"Time_zone":"Europe/Kiev"}

API check ip proxy

curl http://192.168.1.108:8080/api/proxy/195.149.108.41
{"IPAdress":"195.149.108.41","proxy":"true"}

About

Webservice and API solution to identify country, region, city, latitude & longitude, ZIP code, time zone, ISP, VPN and residential proxies. IPAddress information is obtained from GeoIP2 and checking IPAddress is proxy or not is obtained from IP2Proxy.com.

Resources

Stars

Watchers

Forks

Packages

No packages published