FAQsRestrictions on the datafeedArticle

How can I enable an IP restriction to my datafeed?

If you want to enable an IP restriction to your datafeed, you must grant download access for the following IP addresses, so that we can download your feed:

- 185.163.111.210; 185.163.111.211; 185.181.103.244; 185.181.103.245;
- 5.9.155.216; 49.12.87.83; 162.55.131.237; 94.130.8.145;
- 82.208.165.150; 138.201.54.147; 95.77.99.177;

This is a code example that can be easily added in a PHP page in order to activate this restriction:

<?php
    
if(!in_array($_SERVER['REMOTE_ADDR'], array("185.163.111.210""185.163.111.211""185.181.103.244""185.181.103.245"
    
"5.9.155.216""49.12.87.83""162.55.131.237""94.130.8.145"
    
"82.208.165.150""138.201.54.147""95.77.99.177"))) {
        if (!
headers_sent()) {
            
header("HTTP/1.1 403 Forbidden");
        }
        die(
"You are not allowed to access this resource from IP " $_SERVER['REMOTE_ADDR']);
    }
    
?>


It’s required that you add all the IP address from this list. Leaving out an IP address may lead to the inability to download your feed or to verify certain problems that may appear.

We recommend that you verify the list of IP addresses on this page periodically, because it can be updated over time.

Listed in: Restrictions on the datafeed