Country Specific Entry Nodes Random Proxy Entry Nodes
Oxylabs Rotating ISP network has coverage in 20+ countries in the world. A random country-specific proxy entry point will return new IP with every new request.
You do not need to pass any additional parameters, just customer-username:password
. Country-specific ports do not support city-level results.
Download a complete list of random entry points or find them in the table below.
Code examples
In this example, a query to ip.oxylabs.io
is performed from a random Turkish IP:
cURL PHP Python Java C# Ruby
Copy curl -x tr-pr.oxylabs.io:30000 -U "customer-USERNAME:PASSWORD" https://ip.oxylabs.io/location
Copy <? php
$username = 'USERNAME' ;
$password = 'PASSWORD' ;
$proxy = 'tr-pr.oxylabs.io:30000' ;
$query = curl_init ( 'https://ip.oxylabs.io/location' ) ;
curl_setopt ( $query , CURLOPT_RETURNTRANSFER , 1 ) ;
curl_setopt ( $query , CURLOPT_PROXY , "http://$proxy" ) ;
curl_setopt ( $query , CURLOPT_PROXYUSERPWD , "customer-$username:$password" ) ;
$output = curl_exec ( $query ) ;
curl_close ( $query ) ;
if ($output)
echo $output;
Copy import urllib . request
import random
username = 'USERNAME'
password = 'PASSWORD'
entry = ( 'http://customer- %s : %s @tr-pr.oxylabs.io:30000' %
(username , password))
query = urllib . request . ProxyHandler ({
'http' : entry,
'https' : entry,
})
execute = urllib . request . build_opener (query)
print (execute. open ( 'https://ip.oxylabs.io/location' ). read ())
Copy package example ;
import org . apache . http . HttpHost ;
import org . apache . http . client . fluent . * ;
public class Example {
public static void main ( String [] args) throws Exception {
HttpHost entry = new HttpHost( "tr-pr.oxylabs.io" , 30000 ) ;
String query = Executor . newInstance ()
. auth (entry , "customer-USERNAME" , "PASS" )
. execute ( Request . Get ( "http://ip.oxylabs.io/location" ) . viaProxy (entry))
. returnContent () . asString ();
System . out . println (query);
}
}
Copy using System ;
using System . Net ;
class Example
{
static void Main ()
{
var client = new WebClient ();
client . Proxy = new WebProxy ( "tr-pr.oxylabs.io:30000" );
client . Proxy . Credentials = new NetworkCredential ( "customer-USERNAME" , "PASSWORD" );
Console . WriteLine ( client . DownloadString ( "https://ip.oxylabs.io/location" ));
}
}
Copy require 'uri'
require 'net/http'
uri = URI . parse( 'https://ip.oxylabs.io/location' )
proxy = Net :: HTTP :: Proxy ( 'tr-pr.oxylabs.io' , 30000 , 'customer-USERNAME' , 'PASSWORD' )
puts proxy . get(uri)
Available entry points
Copy pr.oxylabs.io:7777
be-pr.oxylabs.io:30000
br-pr.oxylabs.io:20000
bg-pr.oxylabs.io:14000
ca-pr.oxylabs.io:30000
co-pr.oxylabs.io:30000
de-pr.oxylabs.io:30000
hu-pr.oxylabs.io:23000
it-pr.oxylabs.io:20000
jp-pr.oxylabs.io:40000
li-pr.oxylabs.io:27000
lt-pr.oxylabs.io:28000
nl-pr.oxylabs.io:20000
no-pr.oxylabs.io:3400
ro-pr.oxylabs.io:3500
es-pr.oxylabs.io:10000
th-pr.oxylabs.io:20000
gb-pr.oxylabs.io:20000
us-pr.oxylabs.io:10000
vn-pr.oxylabs.io:45000
Last updated 2 months ago