Site icon DataForSEO

How to whitelist IPs that can make API requests under my account?

IP Whitelist gives you additional control over API usage. Whitelisting IP addresses essentially means adding specific IP addresses that will be allowed to access DataForSEO API using your account.

If you whitelist certain IPs, any IP that’s not whitelisted will not be able to make API requests with your account’s credentials. Whenever a non-whitelisted IP will try to make an API call under your account, our system will return the following error:

{
  "status_code": 40207,
  "status_message": "Access denied. Your IP is not whitelisted. You can modify your IP whitelist in the user panel https://app.dataforseo.com/api-settings/api-access ."
}

If no IP address is whitelisted in your API Settings, this means access to API with your account’s credentials is not limited by IP. In other words, any person who’s authorized to access your Account Dashboard is allowed to make API calls regardless of their IP.

To add IPs to your account’s IP Whitelist, follow the step-by-step instructions below.

  1. Log in to the DataForSEO Dashboard.
  2. Go to API Settings.
  3. Select API access.
  4. Find the IP Access. Enter the necessary IP address that will be allowed to make API calls using your account’s credentials. Hit Add. You can repeat this step to add more IP addresses.
Exit mobile version