Sometimes you may want to reconnect to a specific IP address using either the IP address or the proxy ID.
You can find both the proxy ID and proxy IP by making a request to api.proxyrack.net/stats and then looking in the "ipinfo" section. Here's an example:
"ipinfo": {
"city": "Guediawaye",
"country": "SN",
"fingerprint": {
"osName": "Windows"
},
"ip": "41.43.224.85",
"isp": "Sonatel",
"online": true,
"proxyId": "PD50KM5LD0"
},
You can connect based on the proxy ID by adding ";proxyId={proxy ID}" or by the proxy IP by adding ";proxyIp={IP address}" after your username when you authenticate.
Connect by Proxy ID Examples
Unmetered Residential:
Please note: Unmetered Residential proxies are no longer available for purchase. Existing subscriptions will continue to work, however.
curl -x unmetered.residential.proxyrack.net:10000 -U 'username;proxyId=PD50KM5LDO:password' http://example.com
Premium Residential:
curl -x premium.residential.proxyrack.net:10000 -U 'username;proxyId=PD50KM5LDO:password' http://example.com
Private Unmetered Residential:
curl -x private.residential.proxyrack.net:10000 -U 'username;proxyId=PD50KM5LDO:password' http://example.com
USA Rotating Datacenter:
curl -x usa.rotating.proxyrack.net:10000 -U 'username;proxyId=PD50KM5LDO:password' http://example.com
Global Rotating Datacenter:
curl -x global.rotating.proxyrack.net:10000 -U 'username;proxyId=PD50KM5LDO:password' http://example.com
Connect by Proxy IP Examples
Unmetered Residential:
Please note: Unmetered Residential proxies are no longer available for purchase. Existing subscriptions will continue to work, however.
curl -x unmetered.residential.proxyrack.net:10000 -U 'username;proxyIp=41.43.224.85:password' http://example.com
Premium Residential:
curl -x premium.residential.proxyrack.net:10000 -U 'username;proxyIp=41.83.224.55:password' http://example.com
Private Unmetered Residential:
curl -x private.residential.proxyrack.net:10000 -U 'username;proxyIp=41.43.224.85:password' http://example.com
USA Rotating Datacenter:
curl -x usa.rotating.proxyrack.net:10000 -U 'username;proxyIp=41.43.224.85:password' http://example.com
Global Rotating Datacenter:
curl -x global.rotating.proxyrack.net:10000 -U 'username;proxyIp=41.43.224.85:password' http://example.com