IP Authorization

Allow trusted IP addresses to use your MrScraper Residential Proxy without entering a username and password.

IP Authorization (IP Whitelisting) allows you to authorize trusted IP addresses to connect to MrScraper Residential Proxy without providing proxy credentials (username:password) for every request.

When your server or network IP address is added to the authorized list, MrScraper automatically recognizes incoming traffic from that IP and validates access.

Why Use IP Authorization?

While standard proxy authentication relies on credentials embedded within each request URL, IP Authorization authenticates connections at the network layer based on your source IP.

Zero-Credential Overhead

Eliminate the need to store, pass, or hardcode proxy usernames and passwords in application code or scripts.

Cloud & Server Automation

Ideal for cloud instances, VPS deployments, and automated web scrapers running from fixed server IPs.

Simplified Integration

Seamlessly connect tools, third-party software, and legacy systems that don't support custom proxy auth strings.

Comparison: Credential Auth vs. IP Authorization

FeatureCredential AuthenticationIP Authorization
Authentication MethodUsername & PasswordIP Address Whitelist
Setup LocationClient Code / Request URLMrScraper Dashboard
Dynamic Server SupportYes (Works from any IP)Requires Fixed Server IP
Credential StorageStored in code / environmentNot required in code
Targeting ModifiersEmbedded in username (-country-us)Proxy request headers

1. Finding Your Public IP Address

Before configuring IP Authorization, you must identify the public IPv4 address of the machine, server, or cloud instance that will connect to the proxy.

Important: You must authorize your Public IP, not internal/private addresses such as 192.168.x.x, 10.x.x.x, or 172.16.x.x.

Run one of the following commands from your server terminal to determine your public IP:

curl -4 https://api.ipify.org

2. Adding an Authorized IP

Follow these steps to add a new trusted IP address to your whitelist:

Open Proxy Settings

Log in to your MrScraper Dashboard and navigate to the Residential Proxy section from the sidebar.

Select IP Authorization

Click on the IP Authorization tab to view your current whitelisted IP addresses.

Enter Your Public IP

Paste your public IPv4 address into the Add new IP input field.

Confirm and Add

Click the Add IP button. Your IP will immediately appear in the authorized IPs table.

3. IP Status Lifecycle

Once an IP address is added, it transitions through two statuses:

StatusDescriptionAction Required
ApplyingThe system is propagating your IP across global edge nodes. This usually takes up to 2 minutes.Wait briefly before initiating proxy connections.
ActiveThe IP address is fully authorized and active across all proxy clusters.Ready to connect without credentials.

If an IP status remains in Applying for more than 5 minutes, try refreshing your browser or contact MrScraper support.

4. Connecting via Authorized IP

Once your status is Active, you can send proxy traffic directly through proxy.mrscraper.com:10000 without passing credentials in the URL.

# Connect directly without username/password
curl -x proxy.mrscraper.com:10000 https://api.ipify.org
import requests

# Set proxy host and port without credentials
proxies = {
    'http': 'http://proxy.mrscraper.com:10000',
    'https': 'http://proxy.mrscraper.com:10000'
}

response = requests.get('https://api.ipify.org', proxies=proxies)
print(f"Connected successfully via IP Auth. Response IP: {response.text}")
const axios = require('axios');

axios.get('https://api.ipify.org', {
  proxy: {
    host: 'proxy.mrscraper.com',
    port: 10000
  }
})
.then(response => console.log('Response IP:', response.data))
.catch(error => console.error('Error:', error.message));
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	proxyURL, _ := url.Parse("http://proxy.mrscraper.com:10000")
	client := &http.Client{
		Transport: &http.Transport{
			Proxy: http.ProxyURL(proxyURL),
		},
	}

	resp, err := client.Get("https://api.ipify.org")
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	body, _ := io.ReadAll(resp.Body)
	fmt.Printf("Connected via IP Auth. Output: %s\n", string(body))
}
<?php
$ch = curl_init('https://api.ipify.org');
curl_setopt($ch, CURLOPT_PROXY, 'proxy.mrscraper.com:10000');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);

echo "Response IP: " . $response;
?>

5. Country & Session Targeting

With IP Authorization, configure country and session targeting with headers sent to the proxy connection. Do not add targeting modifiers to a username or password.

HeaderExamplePurpose
X-Proxy-CountryusSelect the proxy country using its country code.
X-Proxy-Sessidabcd123Keep a consistent proxy session with the supplied session ID.
X-Proxy-Sesstime10Set the session lifetime in minutes.

Configure these values through your HTTP client's proxy-header or equivalent proxy-connection header option. They must be sent to the proxy, not as ordinary headers to the destination website.

For example, the proxy connection should include headers equivalent to:

X-Proxy-Country: us
X-Proxy-Sessid: abcd123
X-Proxy-Sesstime: 10

If your client does not support proxy-specific headers, use a client or adapter that can set headers on the proxy connection. Keep the proxy host, port, and IP Authorization setup unchanged.

6. Managing Whitelisted IPs

You can manage existing authorized IPs directly from the IP Authorization table:

Copying an IP Address

Click the Copy icon in the Action column next to any authorized IP to quickly copy it to your clipboard for verification or sharing with team members.

Removing an IP Address

To remove access for a server or IP:

  1. Locate the IP address in the IP Authorization list.
  2. Click the Delete icon in the Action column.
  3. Confirm the removal prompt. Access will be revoked within 2 minutes.

7. Security Best Practices

Security Warning: Anyone issuing requests from an authorized IP address can consume your proxy bandwidth. Treat an authorized IP address with the same security diligence as secret credentials.

  • Fixed IPs Only: Only whitelist static public IPs assigned to dedicated servers, cloud instances (AWS EC2, DigitalOcean, GCP), or office routers.
  • Avoid Public & Dynamic IPs: Never authorize dynamic home connections, public Wi-Fi networks, or shared VPN endpoints.
  • Regular Audits: Periodically review your whitelist and delete unused IPs or those belonging to decommissioned servers.
  • Immediate Deletion: Promptly remove server IPs when terminating cloud instances or ending vendor contracts.

Frequently Asked Questions

On this page