- Takes: IP address
- Passive: the target is not contacted
- Cost: 1 credit
Returns connection details (ISP, ASN, location), proxy/VPN/Tor flags, recent-abuse flags and a fraud score. The docs recommend strictness 0 or 1.
Path parameters
keyYour IPQS API key
ipIPv4 or IPv6 address, or hostname
Query parameters
strictnessDepth of the check; higher takes longer and may raise false positives
allow_public_access_pointsBypass some checks for schools, research institutions and some corporations
user_agentURL-encoded user agent; improves scoring accuracy
user_languageBrowser language; improves scoring accuracy
Response fields · 13ShowHide
success
Whether the request succeeded
message
Status message
fraud_score
Fraud risk score
proxy
Proxy detected
vpn
VPN detected
tor
Tor detected
recent_abuse
Recent abuse seen
ISP
Internet service provider
ASN
Autonomous system number
country_code
Country code
city
City
connection_type
Connection type, e.g. Residential
request_id
Request identifier
curl 'https://www.ipqualityscore.com/api/json/ip/YOUR_API_KEY/192.0.2.110'{
"success": true,
"message": "Success.",
"fraud_score": 25,
"proxy": false,
"vpn": false,
"tor": false,
"recent_abuse": true,
"ISP": "Example Networks",
"organization": "Example Networks",
"ASN": 64496,
"host": "host.example.com",
"country_code": "US",
"city": "Example City",
"region": "Example Region",
"connection_type": "Residential",
"request_id": "EXAMPLE1"
}