Quick Start

📘

Endpoints are like gateways to IP pools. The system will automatically assign you proxies from the selected endpoint (part of the pool).

Quick start

  1. Firstly, select the Datacenter (Pay/IP) proxy type and go to Proxy setup tab. The Endpoint generator can be found beneath the Authentication method section.

  2. Next, choose whether you with to Authenticate via Username and Password or Whitelisted IP. Enter your credentials if Username and Password method is chosen. If you go with the Any whitelisted IP from my list, the Endpoint generator will authenticate with any IP address you've added in the Authentication method section.

2436
  1. Now, if you have chosen the Username and Password option, you will be able to choose between the Session type, any of your purchased Proxy locations and your Output format.
2436

3.1. If you have chosen the Any whitelisted IP from my list, you will only get the option to change the Session type and Output format.

2436

Code examples:

You can check whether your proxies work by sending a command from your Terminal/Command Prompt or implement the code to a code interpreter by changing the username:password part in below code to the ones you just created:

curl -U username:password -x dc.smartproxy.com:10000 https://ip.smartproxy.com/json
import requests

url = 'http://ip.smartproxy.com/json'
username = 'username'
password = 'password'

proxy = f'http://{username}:{password}@dc.smartproxy.com:10000'
  
response = requests.get(url, proxies={'http': proxy, 'https': proxy})

print(response.text)
const axios = require("axios");

const url = "http://ipinfo.io";
const resp = axios.get(url, {
  proxy: {
    host: 'dc.smartproxy.com',
    port: 10000,
    auth: {
      username: 'username',
      password: 'password'
    }
  }
   
}). then(resp => {
  console.log(resp.data);
});
<?php 
$username = 'username'; 
$password = 'password'; 
$proxy = 'dc.smartproxy.com:10000'; 
$target = curl_init('https://ip.smartproxy.com'); 
curl_setopt($target, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($target, CURLOPT_PROXY, $proxy); 
curl_setopt($target, CURLOPT_PROXYUSERPWD, "$username:$password"); 
$result = curl_exec($target); 
curl_close($target); 
if ($result) 
echo $result; 
?>
package main

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

func main() {
  const username = "username"
  const password = "password"
  const proxy = "dc.smartproxy.com:10000"
  
  proxyUrl, _ := url.Parse(
    fmt.Sprintf(
      "http://%s:%[email protected]%s",
      username,
      password,
      proxy,
      ),
  )
  
  client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyUrl)}}
  request, _ := http.NewRequest("GET",
    "https://ip.smartproxy.com/json",
    nil,
  )
  
  request.SetBasicAuth(username, password)
  response, err := client.Do(request)
  if err != nil {
    fmt.Println(err)
    return
  }
  
  responseText, _ := ioutil.ReadAll(response.Body)
  fmt.Println(string(responseText))
}
require "uri" 
require 'net/http' 

proxy_host = 'dc.smartproxy.com' 
proxy_port = 10000 
proxy_user = 'username' 
proxy_pass = 'password' 

uri = URI.parse('http://ipinfo.io/ip') 
proxy = Net::HTTP::Proxy(proxy_host, proxy_port, proxy_user, proxy_pass) 

req = Net::HTTP::Get.new(uri.path) 

result = proxy.start(uri.host, uri.port) do |http| 
   http.request(req) 
end 

puts result.body
import java.net.*; 
import java.io.*; 
import java.util.Scanner; 

public class ProxyTest 
{ 
   public static void main(String[] args) throws Exception 
   { 
      InetSocketAddress proxyAddress = new InetSocketAddress("dc.smartproxy.com", 10000); // Set proxy IP/port. 
      Proxy proxy = new Proxy(Proxy.Type.HTTP, proxyAddress); 
      URL url = new URL("http://ipinfo.io/ip"); //enter target URL 
      Authenticator authenticator = new Authenticator() { 
         public PasswordAuthentication getPasswordAuthentication() { 
            return (new PasswordAuthentication("username","password".toCharArray())); //enter credentials 
         } 
      }; 


      Authenticator.setDefault(authenticator); 
   URLConnection urlConnection = url.openConnection(proxy); 


//Scanner to view output 

Scanner scanner = new Scanner(urlConnection.getInputStream()); 
   System.out.println(scanner.next()); 
   scanner.close(); 

   } 
}
using System;
using System.Net;

class Smartproxy
{
  static void Main()
  {   
    var username = "username";
    var password = "password";
    var proxy = "gate.dc.smartproxy.com:20000";
    
    var client = new WebClient();
    client.Proxy = new WebProxy(proxy);
    client.Proxy.Credentials = new NetworkCredential(username, password);
    Console.WriteLine(client.DownloadString("https://ipinfo.io"));
  }
}

If you whitelisted your IP you can choose from these commands instead:

curl -x dc.smartproxy.com:10000 https://ip.smartproxy.com/json
import requests

url = 'http://ip.smartproxy.com/json'

proxy = f'http://dc.smartproxy.com:10000'
  
response = requests.get(url, proxies={'http': proxy, 'https': proxy})

print(response.text)
const axios = require("axios");

const url = "http://ipinfo.io";
const resp = axios.get(url, {
  proxy: {
    host: 'dc.smartproxy.com',
    port: 10000,
  }
   
}). then(resp => {
  console.log(resp.data);
});
<?php 
$proxy = 'dc.smartproxy.com:10000'; 
$target = curl_init('https://ip.smartproxy.com'); 
curl_setopt($target, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($target, CURLOPT_PROXY, $proxy); 
$result = curl_exec($target); 
curl_close($target); 
if ($result) 
echo $result; 
?>
package main

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

func main() {
  const proxy = "dc.smartproxy.com:10000"
  
  proxyUrl, _ := url.Parse(
    fmt.Sprintf(
      "http://%s:%[email protected]%s",
      proxy,
      ),
  )
  
  client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyUrl)}}
  request, _ := http.NewRequest("GET",
    "https://ip.smartproxy.com/json",
    nil,
  )

  response, err := client.Do(request)
  if err != nil {
    fmt.Println(err)
    return
  }
  
  responseText, _ := ioutil.ReadAll(response.Body)
  fmt.Println(string(responseText))
}
require "uri" 
require 'net/http' 

proxy_host = 'dc.smartproxy.com' 
proxy_port = 10000  

uri = URI.parse('http://ipinfo.io/ip') 
proxy = Net::HTTP::Proxy(proxy_host, proxy_port) 

req = Net::HTTP::Get.new(uri.path) 

result = proxy.start(uri.host, uri.port) do |http| 
   http.request(req) 
end 

puts result.body
import java.net.*; 
import java.io.*; 
import java.util.Scanner; 

public class ProxyTest 
{ 
   public static void main(String[] args) throws Exception 
   { 
      InetSocketAddress proxyAddress = new InetSocketAddress("dc.smartproxy.com", 10000); // Set proxy IP/port. 
      Proxy proxy = new Proxy(Proxy.Type.HTTP, proxyAddress); 
      URL url = new URL("http://ipinfo.io/ip"); //enter target URL 
         } 
      }; 

   URLConnection urlConnection = url.openConnection(proxy); 


//Scanner to view output 

Scanner scanner = new Scanner(urlConnection.getInputStream()); 
   System.out.println(scanner.next()); 
   scanner.close(); 

   } 
}
using System;
using System.Net;

class Smartproxy
{
  static void Main()
  {   
    var proxy = "gate.dc.smartproxy.com:20000";
    
    var client = new WebClient();
    client.Proxy = new WebProxy(proxy);
    Console.WriteLine(client.DownloadString("https://ipinfo.io"));
  }
}

Features

Protocols: HTTP(S)
8 countries to choose from which you can mix & match.
Rotating & sticky session types to choose from
Choose exactly how many IPs you need.
Choose the amount how much bandwidth you need.
Authentication: user:pass or whitelisted IP