Custom Integrations - Retrieving Proxy Statistics Documentation


This API allows you to retrieve a list of a user's recent proxy detection API usage, based on the Proxy Detection service. This API supports both HTML (table) and JSON responses to allow you to choose how to display results.

Calling Proxy Statistics

If you would like a JSON response from this API you can call:

https://www.ipqualityscore.com/webhooks/ExampleIntegration/json/proxy_statistics

If you would like a HTML response from this API you can call:

https://www.ipqualityscore.com/webhooks/ExampleIntegration/html/proxy_statistics

Request Parameters
Parameter Description Example Value / Format
key Your site's domain or the domain that requested this integration. REQUIRED google.com
secret Your user's current secret created during the authentication process. REQUIRED char(128)

Result

The HTML response will look like the screenshot below: Proxy Detection API Stats

The JSON response will have the following data points:
Parameter Description Example Value / Format
message Description of the status of this call. May contain errors if errors exist. text
success Boolean result of if the request was successful or not. boolean
proxy_lookups The total number of recent IP API requests by this user. int
proxy_fraud_detections The total number of recent IP API requests that were fraudulent. int
proxy_detection_ratio The ratio of IP API requests that were clean/fraudulent. float, percentage
remaining_credits The total number of credits currently available to this user. int
recent_lookups List containing the 1,000 most recent IP address lookups by this user.
Parameter Description Example Value / Format
ip The IP address that the user requested fraud information on. IPv4 or IPv6 address in standard dot/colon notation.
strictness The strictness level of the request. int, 0 - 4
country The country of the IP address. char(2)
proxy Was the IP address a proxy? boolean
fraud_score The fraud score assigned this request. int, 0 - 100
date The date this request was made on. date formatted Y-m-d H:i:is
Array of objects
Example Code