Quick Start

Site Unblocker Quick Start

QuickStart

Once you have an active Site Unblocker subscription, you can try sending a request right from the API Playground in the dashboard.

  1. Enter the desired website URL and clicking on Send Request.
  2. You will also see an example of cURL request and live view rendering of the HTML website right below.

Site Unblocker – API Playground.

Examples

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.

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

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

response = requests.request(
    'GET',
    'https://ip.decodo.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.decodo.com:60000`
);

process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0;

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

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

Support

Still can't find an answer? Want to say hi? We take pride in our 24/7 customer support. Alternatively, you can reach us via our support email at [email protected].

Feedback

Something's missing? Request an article!
Got feedback? Let us know how we're doing and what can be improved.


```