IPQS
Listing Blocklist Entries

API Request URL

Use the following endpoint to return all of your account's blocklisted variables.

https://www.ipqualityscore.com/api/json/blocklist/list/YOUR_API_KEY_HERE

Example Response

This is an example success response in JSON format. Responses are also available in XML format.

{
	"success":true,
	"message":"Success",
	"data":[
		{
			"type":"proxy",
			"value_type":"ip",
			"value":"1.1.1.1",
            "reason":"null"
		}
	],
	"request_id":"CXSSHXFZr5"
}
<?php

/*
* List all entries in the Allowlist.
*/

//Initialise the cURL var
$ch = curl_init();

//Get the response from cURL
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

// set the endpoint to request.
curl_setopt($ch, CURLOPT_URL, 'https://ipqualityscore.com/api/json/blocklist/list/YOUR_API_KEY_HERE');

// Execute the request
$raw_response = curl_exec($ch);

// Decode the response.
$response = json_decode($raw_response, true);

// Print out the result or error.
if($response['success']){
    echo "Entries returned successfully!";

    //process blocklist entries.
} else {
    echo "Failed to retrieve entries: ".$response['message'];
}

Ready to eliminate fraud?

Start fighting fraud now with 1,000 Free Lookups!

We're happy to answer any questions or concerns.

Chat with our fraud detection experts any day of the week.

Call us at: (800) 713-2618