Black Friday: 15% off residential proxies with code BF15 on orders from $10. Until December 1.Buy now →

Static vs rotating proxies: what is the difference and which to choose

A rotating proxy changes the address on every request, a sticky one keeps one IP for up to 120 minutes, and a static one is yours for a term. Here is what to use for scraping and what for accounts.

Prokso editorial team Updated 11 min read Guides
Static vs rotating proxies: what is the difference and which to choose
Key takeaways
  • A rotating proxy gives you a new IP on every request: that is how public data is collected without hitting per-address limits.
  • A sticky IP (sticky session) keeps one address for 1 to 120 minutes: enough to log in to an account and finish an action.
  • A static IP is assigned to one customer for days or months and is needed for allowlists and long work from one address.
  • In Prokso, rotation is ports 823 (HTTP) and 824 (SOCKS5), sticky IPs are ports 10000-20000; the price per GB is the same for both modes.
  • Do not use rotation to log in to an account, and do not put several accounts on one sticky port.

Proxies differ not only by address type - home, mobile or datacenter. Just as important is how long one IP address stays with you. It decides whether a login goes through, whether a scraper hits a limit and whether a service that works from an IP allowlist lets you in.

There are three options: rotation, a sticky IP for the length of a session, and a static address. Below is how they differ, when to use each one and how to set up each mode in Prokso.

The short answer: three ways to hold an IP

ModeWhen the IP changesHow long one address lastsUsed for
RotatingOn every new requestOne request or one connectionPublic data collection, price monitoring, search result checks
Sticky IP (sticky session)After the time you setFrom 1 to 120 minutesAccount login, shopping cart, multi-step forms
StaticDoes not change until the term endsDays, weeks, monthsIP allowlists, long work of one account from one address

Rotation and sticky IPs are two modes of the same address pool. A static IP is a different model: the address is assigned to one customer and does not go back to the shared pool while the rental lasts.

What rotating proxies are

A rotating proxy is a gateway to a large pool of addresses. You always connect to the same host and port, and the gateway picks which address the request leaves from. The next request leaves from a different one. More on the principle in the glossary: rotating proxy and proxy pool.

In Prokso, rotation runs on the host gw.prokso.com: port 823 is for HTTP and port 824 is for SOCKS5. In the generator in your dashboard this mode is called "Rotating (new IP per request)". Country, city or carrier are set in the username, so all new addresses come from the place you need.

One detail people often miss. For https sites, a browser or program opens a tunnel through the proxy (the CONNECT method) and can send several requests through it in a row. They all leave from one address, because it is one connection. A new address comes with a new connection. So a scraper that keeps connections open (keep-alive) changes IPs less often than you might expect, and that is normal.

The strength of rotation is that the load spreads across many addresses. Sites often count requests per IP and, after a threshold, reply with a 429 error or a CAPTCHA. When every request comes from a new address, none of them builds up a suspicious number of hits.

What a sticky IP (sticky session) is

A sticky IP, or sticky session, takes an address from the same pool but holds it for a set time. Until the time runs out, all requests go from one IP. Then the address returns to the pool and you get a new one.

In Prokso, ports 10000 to 20000 do this. Each port holds its own IP, for both HTTP and SOCKS5. The session duration is 1 to 120 minutes, 30 by default, and you can change it in the settings. In the generator this mode is called "Sticky session".

There is a second way: a session number in the username on ports 823 and 824, for example LOGIN__cr.de;sessid.shop1. While the number stays the same, the IP holds for about 30 minutes, and a new number gives a new address. This is handy when a program lets you change only the username and has a single port.

What a static IP is

A static address is assigned to one customer for the whole paid term. It does not change on a timer and does not pass to other people while you rent it. That is why static proxies are usually sold not by traffic but by the number of addresses and the term.

Static addresses come in two kinds. Datacenter IPv4 addresses sit in a data center and are registered to a hosting company. ISP proxies, or static residential proxies, also run on servers, but the addresses are registered to an internet provider, so site databases see them as home addresses.

Pay-per-GB plans take addresses from a shared pool, and an address just for you comes with static proxies. The closest thing to a static address on these plans is a sticky IP on a port: it holds for up to 120 minutes and then changes. For most account tasks that is enough, because an action in an account rarely takes longer.

A static IP is convenient, but it has a downside. If a site restricts that exact address, it stays restricted until the rental ends, and swapping it for another one depends on the seller's rules. Rotation and sticky IPs do not have this problem: the next address comes from the pool.

Comparison in one table

RotatingSticky IP for a whileStatic
Who else used the addressOther customers of the poolOther customers of the poolOnly you for the rental term
How long one address lastsOne request1-120 minutesThe whole rental term
How many different addressesA new one per requestA new one after each sessionAs many as you rented
How you payBy trafficBy trafficUsually per address and term
If the address gets restrictedThe next request leaves from another oneWait for a new one or use another portThe address stays with you
Choice of country and carrierYes, in the usernameYes, in the usernameWhen you order
For an IP allowlistNot suitableNot suitableSuitable
Typical taskScraping, monitoringAccount login, checkoutAccess by IP, long work

When you need rotation

Rotation fits when there are many requests, they do not depend on each other and they are not tied to an account login. The site does not need to remember that the previous request was yours.

  • Public data collection. Catalogs, prices, stock levels, listings. More on the proxies for web scraping page.
  • Price and ranking monitoring. Hundreds of checks an hour from different addresses do not look like a flood from one.
  • Checking search results and ads in different countries. A new address in the right country for each check.
  • Website availability checks. How a page loads from different networks and regions.

Rotation does not make you invisible. The site still sees headers, cookies and the browser fingerprint. If your program keeps cookies between requests, the site sees one visitor with a dozen addresses, which looks more suspicious than one address. For scraping, cookies are usually not kept or are cleared.

Also, rotation does not cancel the site's rules. Follow robots.txt, keep sensible pauses between requests and collect only public data.

When you need a sticky IP for a session

A sticky IP is needed where a site links several steps to one address. If the IP changes in the middle of an action, the site may ask for confirmation, drop the login or reject the form.

  • Logging in to an account and working in it. From login to logout, from one address.
  • Shopping cart and checkout. Several pages in a row within one session.
  • Multi-step forms. For example, checking the settings of an ad account.
  • Several real accounts. Each gets its own port, so the accounts are not linked to each other. More in the article How many accounts you can run on one proxy.

Why do sites react to an address change like this? An account login is usually tied to a session cookie, and along with it the site remembers where you came from. If the next request in the same session arrives from another network or another country, it looks like a stolen session. The protection reacts the same way it would to real theft: it asks for the password again, sends a code or ends the session.

Set the duration with a margin. If an action takes 15 minutes, set 30-40: the address will not change at the worst moment. If your sessions are short and frequent, a shorter time gives you more different addresses.

When you need a static IP

A static address makes sense when you must be recognized by your IP, and not for an hour but for weeks.

  • Allowlists. Corporate systems, partner APIs and admin panels that only let in known addresses. On the mechanism itself, see the glossary: IP whitelist.
  • Long work of one account from one address. Some services send a new-location login warning every time the IP changes.
  • Services that tie access to an address. For example, licenses or access granted to a specific IP.

A static IP does not make an account "cleaner" on its own. The address may have had a history before you, and sites look at more than the IP. You can check an address against blacklists using the article IP blacklist check.

Task to mode: a cheat sheet

TaskModeAddress typeWhy
Prices and catalogs of public sitesRotation, port 823 or 824Datacenter or residentialMany independent requests
Sites that restrict data centersRotationResidentialHome addresses raise fewer questions
Checking ads in another countryRotation or sticky IPResidential or mobileYou need an address in that country
Logging in to a social media accountSticky IP, 30-60 minMobile or residentialA session from one address
Several real accountsSticky IP, one port per accountMobile or residentialAccounts are not linked
Seeing a site as a city sees itSticky IP with a cityResidentialSeveral pages from one address
Access by IP allowlistStaticISP or datacenterThe address does not change
App tests from different networksRotationMobileReal carrier networks

More on choosing the address type in the articles Residential vs datacenter proxies and Mobile vs residential proxies.

Common mistakes

  • Rotation for an account login. Each login step comes from a new address, and the site asks for confirmation or does not let you in at all.
  • One sticky port for several accounts. All accounts leave from one address, and the site links them together.
  • A session duration that is too short. The address changes in the middle of checkout.
  • Cookies kept while rotating. The site sees one user who "moves house" every minute.
  • Different countries in one session. Germany today and Poland tomorrow for the same account is a reason for a check.
  • Working without checking the address. Before you start, open My IP through the proxy: the country, city and carrier must be exactly the ones you set.

How many ports and addresses to use

Rotation does not need separate ports. One line with port 823 or 824 serves the whole scraper: the gateway hands each connection a new address. How many connections to open in parallel is up to your program; one plan allows up to 1000 at the same time.

Sticky IPs work differently: one session, one port. If you work with five accounts, you need five ports, and each account always goes through its own. The generator gives you a list of lines with different ports, so spreading them across antidetect browser profiles is easy. How to do it in a specific program is shown in the guides.

If your tasks differ, it is handy to split them into separate plans. A plan is its own username, password and traffic balance: the scraper will not eat the gigabytes meant for account work, and a traffic limit on the plan stops it in time. You can have as many plans as you like.

How to set up both modes in Prokso

  1. Open the generator in your dashboard: how to use it is shown on the Proxy generator page.
  2. Choose a country and, if needed, a city or carrier (ASN), and a protocol: HTTP or SOCKS5.
  3. Choose the mode: "Rotating (new IP per request)" or "Sticky session". For a sticky session, set the session duration.
  4. Choose a line format for your program and copy the list or download it as a .txt file.
  5. Check the address: make two requests in a row and compare the IPs.

The simplest check is curl. On port 823 the two responses should show different addresses; on a port in the 10000-20000 range they should match until the session time runs out:

curl -x http://LOGIN:PASSWORD@gw.prokso.com:823 https://api.ipify.org
curl -x http://LOGIN:PASSWORD@gw.prokso.com:823 https://api.ipify.org

curl -x http://LOGIN:PASSWORD@gw.prokso.com:10001 https://api.ipify.org
curl -x http://LOGIN:PASSWORD@gw.prokso.com:10001 https://api.ipify.org

Both modes work with all three address types: residential, mobile and datacenter. Rotation on its own is covered on the rotating proxies page.

What it costs: traffic or address

On pay-per-GB plans the mode does not affect the price. Rotation and sticky IPs use the same gigabytes, and the price per GB depends only on the address type. Traffic you buy never expires, so you can use it in any mode and at any pace.

Static addresses are billed differently: per IP and term, no matter how much data goes through. So for scraping, where there is a lot of traffic and the address does not matter, paying per GB is cheaper. When you need a few permanent addresses that work every day, work out what each one will cost. How to compare the two models is covered in the article Pay per GB or per IP, and the traffic calculator helps estimate how many gigabytes you need. Current prices are on the pricing page.

FAQ

What is the difference between a rotating and a static proxy?

A rotating proxy gives you a new address from a shared pool on every request. A static proxy is assigned to one customer for the whole rental term and does not change. In between is a sticky IP that keeps one address for up to 120 minutes.

How long does a sticky IP last in Prokso?

From 1 to 120 minutes, 30 by default; you change the time in the settings. A home or mobile address can change earlier if the device goes offline: then the port gets a new address in the same country.

What should I use for scraping?

Rotation: port 823 for HTTP or 824 for SOCKS5. Every request leaves from a new address and the load spreads across the pool. Datacenter addresses are usually enough for public sites; for sites that restrict data centers, use residential.

What should I use for account work?

A sticky IP: its own port from the 10000-20000 range for each account and a session duration with a margin, for example 30-60 minutes. That way each account works from one address and the accounts are not linked to each other.

Can I use both modes on one plan?

Yes. The port sets the mode, not the plan: lines with port 823 or 824 give a new IP per request, and lines with ports 10000-20000 give a sticky IP. A scraper and account work can use the same plan at the same time.

Is a sticky IP more expensive than rotation?

No. On pay-per-GB plans both modes use the same gigabytes at one price that depends only on the address type. Prices are on the pricing page.

Read next

Install the Prokso app