• Your shopping cart is empty!

IP2Proxy Lua Package

This Lua package supports all IP2Proxy™ BIN database products to query an IP address if it is being used as VPN anonymizer, open proxies, web proxies, Tor exits, data center & web hosting range (DCH), search engine robots (SES) and residential proxy (RES). It has been optimized for speed and memory utilization.

Installation

luarocks install ip2proxy

Sample Codes
ip2proxy = require('ip2proxy')

local ip2prox = ip2proxy:open('./IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP-DOMAIN-USAGETYPE-ASN-LASTSEEN-THREAT-RESIDENTIAL-PROVIDER.BIN')

local result = ip2prox:get_all('37.252.228.50')

print("country_short: " .. result.country_short)
print("country_long: " .. result.country_long)
print("region: " .. result.region)
print("city: " .. result.city)
print("isp: " .. result.isp)
print("domain: " .. result.domain)
print("usagetype: " .. result.usagetype)
print("asn: " .. result.asn)
print("as: " .. result.as)
print("lastseen: " .. result.lastseen)
print("threat: " .. result.threat)
print("provider: " .. result.provider)
print("proxytype: " .. result.proxytype)
print("isproxy: " .. result.isproxy)

ip2prox:close()
Sample IP2Proxy Databases (BIN)
Sample Packages IPv4 + IPv6
IP2Proxy PX1 Sample BIN File Download (20.69 MB)
IP2Proxy PX2 Sample BIN File Download (23.17 MB)
IP2Proxy PX3 Sample BIN File Download (27.55 MB)
IP2Proxy PX4 Sample BIN File Download (32.29 MB)
IP2Proxy PX5 Sample BIN File Download (33.72 MB)
IP2Proxy PX6 Sample BIN File Download (34.01 MB)
IP2Proxy PX7 Sample BIN File Download (36.69 MB)
IP2Proxy PX8 Sample BIN File Download (37.84 MB)
IP2Proxy PX9 Sample BIN File Download (37.69 MB)
IP2Proxy PX10 Sample BIN File Download (45.43 MB)
IP2Proxy PX11 Sample BIN File Download (46.34 MB)