Sticky Proxy Entry Nodes
Last updated
Last updated
The country-specific sticky proxy entry point will return the same IP with every new request while you use the same port. IP stickiness works for up to 10 minutes. After that, the IP is replaced with a new one.
You do not need to pass any additional parameters, just customer-username:password
. If you have whitelisted IPs, you do not need to pass login credentials. Country-specific ports do not support city-level results.
Please see the dashboard for entry point information. Download a complete list of sticky entry points or see them in the table below.
In this example, we run a query from a Turkish IP to ip.oxylabs.io
. The same IP will stay for up to 10 minutes. We have chosen port 30001. However, Turkey's sticky entry points cover ports from 30001 to 39999.
curl -x tr-pr.oxylabs.io:30001 -U "customer-USERNAME:PASSWORD" https://ip.oxylabs.io/location
<?php
$username = 'USERNAME';
$password = 'PASSWORD';
$proxy = 'tr-pr.oxylabs.io:30001';
$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;
?>
import urllib.request
import random
username = 'USERNAME'
password = 'PASSWORD'
entry = ('http://customer-%s:%s@tr-pr.oxylabs.io:30001' %
(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())
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", 30001);
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);
}
}
using System;
using System;
using System.Net;
class Example
{
static void Main()
{
var client = new WebClient();
client.Proxy = new WebProxy("tr-pr.oxylabs.io:30001");
client.Proxy.Credentials = new NetworkCredential("customer-USERNAME", "PASSWORD");
Console.WriteLine(client.DownloadString("https://ip.oxylabs.io/location"));
}
}
require 'uri'
require 'net/http'
uri = URI.parse('https://ip.oxylabs.io/location')
proxy = Net::HTTP::Proxy('tr-pr.oxylabs.io', 30001, 'customer-USERNAME', 'PASSWORD')
req = Net::HTTP::Get.new(uri.path)
result = proxy.start(uri.host,uri.port) do |http|
http.request(req)
end
puts result.body
pr.oxylabs.io:10001-49999
pe-pr.oxylabs.io:10001-19999
co-pr.oxylabs.io:30001-39999
il-pr.oxylabs.io:20001-29999
ml-pr.oxylabs.io:13001-13999
cy-pr.oxylabs.io:35001-35999
rs-pr.oxylabs.io:36001-36999
se-pr.oxylabs.io:30001-39999
gr-pr.oxylabs.io:40001-49999
cr-pr.oxylabs.io:44001-44999
hn-pr.oxylabs.io:48001-48999
ae-pr.oxylabs.io:40001-49999
ge-pr.oxylabs.io:36001-36999
mt-pr.oxylabs.io:30001-30999
ht-pr.oxylabs.io:47001-47999
my-pr.oxylabs.io:10001-19999
jp-pr.oxylabs.io:40001-49999
sn-pr.oxylabs.io:19001-19999
si-pr.oxylabs.io:38001-38999
cm-pr.oxylabs.io:41001-41999
dj-pr.oxylabs.io:46001-46999
us-pr.oxylabs.io:10001-19999
ao-pr.oxylabs.io:40001-40999
lr-pr.oxylabs.io:11001-11999
af-pr.oxylabs.io:28001-28999
bd-pr.oxylabs.io:30001-30999
bs-pr.oxylabs.io:41001-41999
th-pr.oxylabs.io:20001-29999
kz-pr.oxylabs.io:30001-39999
hu-pr.oxylabs.io:23001-23999
sk-pr.oxylabs.io:37001-37999
dm-pr.oxylabs.io:46001-46999
sg-pr.oxylabs.io:20001-29999
ke-pr.oxylabs.io:10001-10999
ba-pr.oxylabs.io:13001-13999
dk-pr.oxylabs.io:19001-19999
fr-pr.oxylabs.io:40001-49999
ng-pr.oxylabs.io:18001-18999
qa-pr.oxylabs.io:43001-43999
sa-pr.oxylabs.io:44001-44999
ye-pr.oxylabs.io:48001-48999
bz-pr.oxylabs.io:42001-42999
td-pr.oxylabs.io:43001-43999
tn-pr.oxylabs.io:25001-25999
zw-pr.oxylabs.io:21001-21999
zm-pr.oxylabs.io:27001-27999
bh-pr.oxylabs.io:29001-29999
at-pr.oxylabs.io:11001-11999
ie-pr.oxylabs.io:25001-25999
no-pr.oxylabs.io:34001-34999
et-pr.oxylabs.io:45001-45999
ci-pr.oxylabs.io:49001-49999
fj-pr.oxylabs.io:14001-14999
ss-pr.oxylabs.io:22001-22999
jm-pr.oxylabs.io:49001-49999
by-pr.oxylabs.io:15001-15999
fi-pr.oxylabs.io:21001-21999
mc-pr.oxylabs.io:31001-31999
nz-pr.oxylabs.io:15001-15999
au-pr.oxylabs.io:40001-49999
tm-pr.oxylabs.io:46001-46999
kw-pr.oxylabs.io:20001-20999
am-pr.oxylabs.io:31001-31999
is-pr.oxylabs.io:24001-24999
mr-pr.oxylabs.io:14001-14999
cz-pr.oxylabs.io:18001-18999
ve-pr.oxylabs.io:19001-19999
in-pr.oxylabs.io:20001-29999
ca-pr.oxylabs.io:30001-39999
lb-pr.oxylabs.io:39001-39999
mn-pr.oxylabs.io:41001-41999
gb-pr.oxylabs.io:20001-29999
tr-pr.oxylabs.io:30001-39999
bj-pr.oxylabs.io:44001-44999
sd-pr.oxylabs.io:23001-23999
jo-pr.oxylabs.io:38001-38999
ee-pr.oxylabs.io:20001-20999
py-pr.oxylabs.io:17001-17999
be-pr.oxylabs.io:30001-39999
ph-pr.oxylabs.io:10001-19999
az-pr.oxylabs.io:20001-29999
ec-pr.oxylabs.io:20001-29999
cf-pr.oxylabs.io:42001-42999
kh-pr.oxylabs.io:34001-34999
vn-pr.oxylabs.io:45001-45999
cn-pr.oxylabs.io:30001-39999
id-pr.oxylabs.io:10001-19999
pa-pr.oxylabs.io:10001-10999
uy-pr.oxylabs.io:18001-18999
br-pr.oxylabs.io:20001-29999
gh-pr.oxylabs.io:48001-48999
uz-pr.oxylabs.io:47001-47999
al-pr.oxylabs.io:49001-49999
ru-pr.oxylabs.io:40001-49999
ma-pr.oxylabs.io:16001-16999
bt-pr.oxylabs.io:32001-32999
pt-pr.oxylabs.io:10001-19999
cl-pr.oxylabs.io:40001-49999
mu-pr.oxylabs.io:15001-15999
lv-pr.oxylabs.io:26001-26999
hk-pr.oxylabs.io:40001-49999
eg-pr.oxylabs.io:10001-19999
mg-pr.oxylabs.io:12001-12999
lt-pr.oxylabs.io:28001-28999
md-pr.oxylabs.io:32001-32999
me-pr.oxylabs.io:33001-33999
nl-pr.oxylabs.io:20001-29999
kr-pr.oxylabs.io:30001-39999
ro-pr.oxylabs.io:35001-35999
ar-pr.oxylabs.io:30001-39999
iq-pr.oxylabs.io:37001-37999
gm-pr.oxylabs.io:47001-47999
mz-pr.oxylabs.io:17001-17999
hr-pr.oxylabs.io:16001-16999
pr-pr.oxylabs.io:12001-12999
pl-pr.oxylabs.io:20001-29999
za-pr.oxylabs.io:40001-49999
eu-pr.oxylabs.io:10001-29999
ir-pr.oxylabs.io:40001-49999
cu-pr.oxylabs.io:45001-45999
aw-pr.oxylabs.io:10001-10999
sc-pr.oxylabs.io:20001-20999
mk-pr.oxylabs.io:40001-40999
mx-pr.oxylabs.io:10001-19999
mv-pr.oxylabs.io:40001-40999
es-pr.oxylabs.io:10001-19999
pk-pr.oxylabs.io:30001-39999
om-pr.oxylabs.io:42001-42999
li-pr.oxylabs.io:27001-27999
ch-pr.oxylabs.io:39001-39999
bo-pr.oxylabs.io:16001-16999
it-pr.oxylabs.io:20001-29999
ug-pr.oxylabs.io:26001-26999
de-pr.oxylabs.io:30001-39999
bg-pr.oxylabs.io:14001-14999
mm-pr.oxylabs.io:33001-33999
ad-pr.oxylabs.io:10001-10999
tw-pr.oxylabs.io:10001-19999
tg-pr.oxylabs.io:24001-24999
vg-pr.oxylabs.io:43001-43999
tt-pr.oxylabs.io:13001-13999
ua-pr.oxylabs.io:10001-19999
lu-pr.oxylabs.io:29001-29999