Skip to main content
All CollectionsSet Up, Integration, and API CommandsAPI Commands
Set the Rotation Interval for a Sticky Session/Port
Set the Rotation Interval for a Sticky Session/Port
K
Written by Katy
Updated over a month ago

Video guide here.

A sticky port will connect you to an external IP address that will remain static for a set amount of time and then rotate. You can set how long it will take for the port to rotate in one of two ways:

  1. Through your dashboard

  2. Using the Proxyrack API

Please note: The minimum rotation interval is 3 minutes or 180 seconds. There is no maximum. However, if you are using residential proxies, the IP you are connected to may go offline in the middle of your rotation interval.

Dashboard

In your dashboard, select the proxies you would like to use from the left-hand navigation menu. Once there, click on the "Proxy Endpoints" tab and make sure that "Sticky Ports" are highlighted, like you see below.

Under where it says "Sticky Ports" you will see a section labeled "Rotation Interval". Click on the input box and a dropdown menu will appear with the options you can choose from. Select an option to set the rotation interval for all of your ports.

If you would rather only set the rotation interval for one port, you can add a default port setting. First, scroll down the page until you see the "Set default port settings" section and then click on "Add new port".

A window will appear, and you will see a "Rotation interval" setting, like in the screenshot below.

Click on the box and you will see a dropdown appear.

Select the port number and rotation interval that you would like and click "Save".

This will set the rotation interval for just the port that you have entered.

Proxyrack API

You can set the rotation interval by adjusting your username wherever you have configured your proxies using either the dash syntax or the semicolon syntax:

  1. Dash Syntax: Add "-refreshMinutes-{number of minutes}" or "-refreshSeconds-{number of seconds}" after your username

  2. Semicolon Syntax: Add ";refreshMinutes={number of minutes}" or ";refreshSeconds={number of seconds}" after your username

Please note that cURL is used below as an example. You do not need to use cURL in order to set the rotation interval. You can do this wherever you have configured your proxies, such as in a browser, code, etc.

Examples

Unmetered Residential:

Please note: Unmetered Residential proxies are no longer available for purchase. Existing subscriptions will continue to work, however.
​Dash Syntax: curl -x unmetered.residential.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​Semicolon Syntax: curl -x unmetered.residential.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

Live example here.

Premium Residential:
​​Dash Syntax: curl -x premium.residential.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​Semicolon Syntax: ​curl -x premium.residential.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

Live example here.

Private Unmetered Residential:
​​Dash Syntax: curl -x private.residential.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​​Semicolon Syntax: curl -x private.residential.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

Live example here.

USA Rotating Datacenter:
​​Dash Syntax: curl -x usa.rotating.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​Semicolon Syntax: ​curl -x usa.rotating.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

Live example here.

Global Rotating Datacenter:
​​Dash Syntax: curl -x global.rotating.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​​Semicolon Syntax: curl -x global.rotating.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

Live example here.

Did this answer your question?