Quick Start

Site Unblocker Quick Start

📘

In order to use Site Unblocker via cURL, -k or the equivalent --insecure flag is required. Note that you can still target websites that use HTTPS.

Additional parameters are sent as headers when making a request

curl -k -v -x unblock.smartproxy.com:60000 -U "USERNAME:PASSWORD" "https://ip.smartproxy.com/"
import requests

proxies = {
    'http': 'http://USERNAME:[email protected]:60000',
}

response = requests.request(
    'GET',
    'https://ip.smartproxy.com/',
    verify=False,
    proxies=proxies,
)

print(response.text)

import fetch from 'node-fetch';
import createHttpsProxyAgent from 'https-proxy-agent'

const username = 'USERNAME';
const password = 'PASSWORD';

const agent = createHttpsProxyAgent(
  `http://${username}:${password}@unblock.smartproxy.com:60000`
);

process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0;

const response = await fetch('https://ip.smartproxy.com/', {
  method: 'get',
  agent: agent,
});

console.log(await response.text());