• Your shopping cart is empty!

IP2Proxy Node.js Module

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

Installation
  1. Run npm install ip2proxy-nodejs in your command prompt.
Sample Codes
var ip2proxy = require("ip2proxy-nodejs");

ip2proxy.Open("./IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP-DOMAIN-USAGETYPE-ASN-LASTSEEN.BIN");

ip = '199.83.103.79';

console.log("GetModuleVersion: " + ip2proxy.getModuleVersion());
console.log("GetPackageVersion: " + ip2proxy.getPackageVersion());
console.log("GetDatabaseVersion: " + ip2proxy.getDatabaseVersion());

// functions for individual fields
console.log("isProxy: " + ip2proxy.isProxy(ip));
console.log("ProxyType: " + ip2proxy.getProxyType(ip));
console.log("CountryShort: " + ip2proxy.getCountryShort(ip));
console.log("CountryLong: " + ip2proxy.getCountryLong(ip));
console.log("Region: " + ip2proxy.getRegion(ip));
console.log("City: " + ip2proxy.getCity(ip));
console.log("ISP: " + ip2proxy.getISP(ip));
console.log("Domain: " + ip2proxy.getDomain(ip));
console.log("UsageType: " + ip2proxy.getUsageType(ip));
console.log("ASN: " + ip2proxy.getASN(ip));
console.log("AS: " + ip2proxy.getAS(ip));
console.log("LastSeen: " + ip2proxy.getLastSeen(ip));

// function for all fields
var all = ip2proxy.getAll(ip);
console.log("isProxy: " + all.Is_Proxy);
console.log("ProxyType: " + all.Proxy_Type);
console.log("CountryShort: " + all.Country_Short);
console.log("CountryLong: " + all.Country_Long);
console.log("Region: " + all.Region);
console.log("City: " + all.City);
console.log("ISP: " + all.ISP);
console.log("Domain: " + all.Domain);
console.log("UsageType: " + all.Usage_Type);
console.log("ASN: " + all.ASN);
console.log("AS: " + all.AS);
console.log("LastSeen: " + all.Last_Seen);

ip2proxy.Close();
Sample IP2Proxy Databases (BIN)
Sample Packages IPv4 + IPv6
IP2Proxy PX1 Sample BIN File Download (14.37 MB)
IP2Proxy PX2 Sample BIN File Download (16.19 MB)
IP2Proxy PX3 Sample BIN File Download (20.54 MB)
IP2Proxy PX4 Sample BIN File Download (27.30 MB)
IP2Proxy PX5 Sample BIN File Download (29.24 MB)
IP2Proxy PX6 Sample BIN File Download (29.91 MB)
IP2Proxy PX7 Sample BIN File Download (32.20 MB)
IP2Proxy PX8 Sample BIN File Download (32.81 MB)