- Takes: IP address
- Passive: the target is not contacted
- Cost: 1 to 11 credits depending on package
Fields returned depend on the package. If ip is omitted, the server's own IP is used. isProxy shows YES or NO; proxyType codes are VPN, TOR, DCH, PUB, WEB, SES and RES (RES only in PX10 and PX11); threat codes are SPAM, SCANNER and BOTNET.
Query parameters
ipIPv4 or IPv6 address to look up
packagePackage that sets the fields returned
formatResponse format
Response fields · 16ShowHide
response
Status text, OK on success
countryCode
Two-character ISO 3166 country code
countryName
Country name
regionName
Region or state
cityName
City
isp
ISP or company name
domain
Domain tied to the IP range
usageType
Usage classification such as COM, DCH, ISP, MOB
asn
Autonomous system number
as
Autonomous system name
lastSeen
Days since the proxy was last seen
proxyType
Type of proxy
isProxy
YES or NO
threat
Reported threat, or -
provider
VPN provider name, or -
creditsConsumed
Credits used by the query
curl 'https://api.ip2proxy.com/?key=YOUR_API_KEY'{
"response": "OK",
"countryCode": "NL",
"countryName": "Netherlands",
"regionName": "Example Region",
"cityName": "Example City",
"isp": "Example Hosting BV",
"domain": "example.com",
"usageType": "DCH",
"asn": "64500",
"as": "Example Hosting",
"lastSeen": 1,
"proxyType": "DCH",
"isProxy": "YES",
"threat": "-",
"provider": "-",
"creditsConsumed": 11
}