---
title: "Rotating proxies: what they are, sticky sessions, price per GB"
description: "A rotating proxy gives you a new IP on every request. How sticky sessions work at 5 big sellers, how to test one, and how rotating residential is billed."
url: "https://scrapenews.com/guides/rotating-proxies"
updated: "2026-11-26T00:00:00Z"
---

# Rotating proxies: what they are, sticky sessions, price per GB

By [scrapenews.com newsroom](https://scrapenews.com/authors/newsroom.md) · Published 26 Nov 2026

**TL;DR**

- A rotating proxy gives you a new IP address on every request, from one fixed address you connect to. A sticky session keeps one IP for a while.
- Rotating residential proxies are billed per GB. Price your GB at every seller in the [residential proxy calculator](https://scrapenews.com/compare/residential-proxies.md).
- Rotate for many separate pages. Stick for logins and multi-step flows. Test it yourself with one curl line.

## A rotating proxy is one address with many IPs behind it

A proxy is a middleman: the site sees its IP address (the number that says who you are online), not yours.

With a normal proxy you get one IP. With a rotating proxy you connect to one gateway, such as `pr.oxylabs.io:7777`. The gateway sends each request out through a different IP from a big pool.

Oxylabs says its residential proxies [rotate with every request by default](https://developers.oxylabs.io/products/proxies/residential-proxies/session-control). SOAX says the same: [no session setting, new node every request](https://developers.soax.com/proxies/residential).

Rotation is not only for home IPs. Bright Data calls its shared pools [“Rotating Proxies”](https://docs.brightdata.com/api-reference/proxy/rotate_ips) on datacenter, ISP and residential. Which type to buy is its own question: see [residential vs datacenter proxies](https://scrapenews.com/guides/residential-vs-datacenter-proxies.md). We ran both, a new IP on every request, in [our proxy benchmark](https://scrapenews.com/benchmarks/proxies.md).

There is a second, smaller kind. Webshare’s [rotating proxy endpoint](https://www.webshare.io/rotating-proxy) cycles through the proxies already in your account. Same idea, but the pool is your own list, not millions of IPs.

How the gateway picks: Bright Data says that, by default, it hands each request a random IP from the pool that fits your settings. Ask for Canada and you get a random Canadian IP. The next request gets a different one.

You never see the pool. You see one host and port, and a login. Decodo’s docs call this kind of gateway a backconnect proxy.

Webshare’s endpoint is the list version. You buy a set number of proxies, and the endpoint cycles through them. One of its plans: 10 proxies, refreshed every 15 minutes, up to 200,000 IPs a month, for $12.35/mo. You set the refresh anywhere from every 5 minutes to every month. Its residential plan is the pool version: one login, and Webshare says the IPs behind it refresh by themselves.

## Sticky sessions keep one IP until a timer runs out

Sometimes a new IP per request breaks things. You log in, then your next click comes from a stranger’s house.

A sticky session fixes that. You add a session ID (any short string you make up) to your proxy username. Every request with the same ID leaves through the same IP. A new ID gets a new IP.

Here is how five big sellers do it, from their own docs:

| seller | keep an IP | how long by default | longest | session ends early when |
| --- | --- | --- | --- | --- |
| [Bright Data](https://docs.brightdata.com/api-reference/proxy/rotate_ips) | `-session-<id>` in the username | while you keep sending | no fixed limit | 5 minutes with no requests |
| [Oxylabs](https://developers.oxylabs.io/products/proxies/residential-proxies/session-control) | `-sessid-<id>` | 10 minutes | 1440 minutes (24 hours) with `-sesstime-` | the IP goes offline |
| [Decodo](https://help.decodo.com/docs/residential-proxy-custom-sticky-sessions) | `-session-<id>` | 10 minutes | 1440 minutes with `-sessionduration-` | the home device goes offline |
| [IPRoyal](https://docs.iproyal.com/proxies/residential/proxy/rotation) | `_session-<8 characters>` in the password | set by `_lifetime-` | 7 days | the IP becomes unavailable |
| [SOAX](https://developers.soax.com/proxies/residential) | `-session-<id>` | while you keep sending | no fixed limit; a [stateful session](https://developers.soax.com/proxies/stateful-sessions) can keep its node until it fails | 60 seconds with no requests |

Across the 36 residential sellers in [our directory](https://scrapenews.com/compare/residential-proxies.md) that list a longest sticky time, the range runs from 12 minutes (Massive) to 7 days (IPRoyal, anyIP, MarsProxies).

**A sticky IP is a home device, and homes switch off.** Decodo warns that the longer the session, the more likely the IP changes early. Most sellers then quietly hand you a new IP.

If a silent switch would break your job, ask for an error instead:

- Bright Data: add `-const` to the session. You get a 502 when the IP drops.
- Oxylabs: use `sessid_oneip` instead of `sessid`. Also a 502.
- IPRoyal: add `_killswitch-1`. You get a 410.
- SOAX: give a stateful session the `bind` rule. Requests fail instead of moving to another node.

So there are two ways an IP changes. Per request: no session ID, new IP every time. Per time: a session ID with a timer, and a new IP when the timer ends or the device drops.

Some sellers also do it by port, no username tricks needed. Oxylabs gives sticky ports 10001 to 49999, each holding one IP for up to 10 minutes. Decodo’s dashboard offers sticky ports of 1, 10, 30 or 60 minutes.

Idle timers catch people out. Bright Data drops a session after 5 minutes with no requests. Its FAQ suggests a tiny keep-alive request every 30 seconds to hold the IP longer.

Neither Bright Data nor SOAX prints a top limit. Bright Data’s [proxy FAQ](https://docs.brightdata.com/proxy-networks/faqs) says a home IP is only usable while that device is online, charged and not in use; when it goes, you get another IP from the same country. It also warns that holding one IP for a long time makes it easier for a site to flag it as a proxy.

SOAX splits it in two. A session in the username dies after 60 seconds idle. A stateful session, made through its API, is long-lived: you pause or delete it yourself, and you set how its IP changes: every N seconds (300 by default, 10 at least), every N requests, only on error, or never (`bind`).

Decodo has a strict mode too: `session_iplock` returns a 502 instead of a new IP. Why want an error? Halfway through a checkout, a silent IP change breaks things later in ways that are hard to trace. An error tells you now, so you can start a fresh session.

## Copy these session strings

Same idea, five spellings. These are the formats from each seller’s docs (your own user, zone and password go in):

```text
Bright Data  brd-customer-<customer_id>-zone-<zone_name>-session-mystring12345:<zone_password>
Oxylabs      customer-USERNAME-cc-DE-sessid-abcd1234-sesstime-30:PASSWORD
Decodo       user-username-session-example1-sessionduration-90:password
IPRoyal      username123:password321_country-br_session-sgn34f3e_lifetime-10m
SOAX         country-us-session-job1:YOUR_PACKAGE_PASSWORD
```

Small rules that bite:

- Bright Data allows letters and digits only in a session ID. A `-` or `*` gives an error.
- SOAX allows letters, digits and underscores, up to 32 characters.
- IPRoyal wants exactly 8 characters and one time unit (`10m`, not `1h30m`).
- Bright Data drops the session if you change country, city or any other setting between requests. It also drops it if your own server switches between world regions (Americas, Europe/Middle East/Africa, Asia-Pacific).

A typo in the username often comes back as [407 (the proxy refused your login)](https://scrapenews.com/errors/407-proxy-authentication-required.md).

Most sellers read the session from the proxy username. IPRoyal reads it from the password. If you log in by whitelisted IP (your server’s IP is pre-approved, no password), Decodo moves the settings into the host name: `session-example1-sessionduration-90.gate.decodo.com:10000`.

The session ID is yours to invent. Oxylabs’ own PHP example just uses a random number. One ID per worker gives you parallel sessions: Decodo says `session-1` and `session-2` act like two separate sticky ports.

A simple habit: make the ID from a job name plus a counter, like `scrape01`, `scrape02`. Bump the counter when you want a fresh IP. Eight letters and digits, nothing else, passes the rules at all five.

## Rotate for many pages, stick for one visitor

| your job | use | why |
| --- | --- | --- |
| Thousands of product or search pages | rotate | each page stands alone; spreads requests over many IPs |
| Getting [429 (too many requests)](https://scrapenews.com/errors/429-too-many-requests.md) from one IP | rotate | the limit is often per IP |
| Login, cart, checkout, multi-step form | sticky | the site expects one visitor on one IP |
| Paging through results that need a cookie | sticky | IPRoyal names session-based login and tracking as the use |

Rotation is not magic. Bright Data notes that at a high rate, or with many workers, you may get the same IPs again. And a new IP does not change your browser fingerprint or headers. If you still see [403 (the site refused you)](https://scrapenews.com/errors/403-forbidden.md), a Cloudflare [“Just a moment…”](https://scrapenews.com/errors/cloudflare-just-a-moment.md) page or [error 1020](https://scrapenews.com/errors/cloudflare-1020.md), the IP may not be the problem: see [how to avoid getting blocked](https://scrapenews.com/guides/how-to-avoid-getting-blocked-scraping.md).

In practice most jobs mix both. Rotate between “visitors”, stick within one. A price scraper can rotate on every product page. A job that logs in, then reads 20 pages behind the login, needs one sticky session for those 21 requests.

There is a middle option at Bright Data: dedicated residential IPs. They are yours alone, but only toward the sites you name. Because home devices come and go, Bright Data groups several devices behind each one (it calls the group a gIP) and rotates inside that group.

One more limit: the narrower your target, the smaller the pool. Bright Data notes that at a high rate or with many workers, IPs can repeat. Ask for one small city and that happens sooner.

## Check that it really rotates

Point any proxy at our [proxy checker](https://scrapenews.com/proxy-checker.md). It shows the IP a site sees. Run this a few times:

```bash
curl -x http://USER:PASS@HOST:PORT https://scrapenews.com/ip
```

- Rotating: a different IP each time.
- Sticky: add your session ID to `USER`. Same IP each time, until the timer ends.

`/ip.json` adds the country, city and network, so you can also check your country setting worked.

`/ip.json` returns the IP, its network (the ASN: a number that says which company owns the IP), country, city, time zone and position. If a “residential” IP shows a hosting company as its network, it is probably a datacenter IP.

Want proof your real IP stays hidden? Get it first with `curl https://scrapenews.com/ip` (no proxy). Then add `?me=YOUR_IP` to the proxy request, and the checker searches every header for it.

Over HTTPS the proxy can’t add headers, so the full anonymity level only shows on plain `http://` requests. In a browser, also run the self-test on the [proxy checker](https://scrapenews.com/proxy-checker.md) page: browsers leak in ways curl does not.

## Rotating residential proxy price per GB

Residential proxies are billed per GB of traffic. Every seller, cheapest first at your size, from list prices (no coupons): the [residential proxy calculator](https://scrapenews.com/compare/residential-proxies.md).

Two things to know:

- **Minimum buys hide in small sizes.** Need 1 GB from a seller that only sells a 50 GB pack? You pay for the pack. Type your size in the [calculator](https://scrapenews.com/compare/residential-proxies.md).
- **Price says nothing about whether it gets through.** Our own runs will.

How each number is made: for every seller, our calculator tries each way to buy the amount. That means a plan big enough, a plan plus extra GB, repeat packs, or pay as you go. It keeps the cheapest. Per GB = that total divided by the GB you asked for.

Rows can look odd on purpose: a seller whose smallest pack is bigger than your size shows the pack price, and a one-time welcome credit is a trial, not a plan.

Coupons are left out of the ranking. A seller’s page may offer a first-months discount, but the list price is what you pay after.

## IP pool sizes are claims, not counts

Every seller puts a pool size on its page. Nobody outside can count it. Here is what each says:

| seller | pool it claims |
| --- | --- |
| [Bright Data](https://scrapenews.com/compare/bright-data.md) | 400 million IPs |
| [Oxylabs](https://scrapenews.com/compare/oxylabs.md) | 175 million |
| [SOAX](https://scrapenews.com/compare/soax.md) | 155 million |
| [Decodo](https://scrapenews.com/compare/decodo.md) | 115 million |
| [Webshare](https://scrapenews.com/compare/webshare.md) | 80 million |
| [IPRoyal](https://scrapenews.com/compare/iproyal.md) | 64 million |

The numbers don’t even agree with each other. On its own [comparison page](https://soax.com/compare/bright-data), SOAX lists itself at 191m+ IPs and Bright Data at 72 million residential. Its developer docs say 155 million.

For a rotating job, the pool in your target country matters more than the world total. Ask for that number.

Across 39 residential sellers in our data, the claims run from 1 million to 400 million IPs. A pool size is a number the seller chooses to print. You can’t check it, and it is not the number you actually use.

What you use is the slice that fits your settings, right now. Ask for one country, one city or one mobile network, and that slice shrinks fast.

A better test than any claim: send 100 rotating requests to `/ip` with your real settings and count the different IPs you get back. Many repeats means a thin pool for your target, whatever the homepage says.

## Paste into your AI

```text
I use rotating residential proxies from <seller>. My proxy line is HOST:PORT with user <USER>.
Write a <Python/Node> script that:
1. sends 5 requests to https://scrapenews.com/ip with rotation and prints each IP,
2. then 5 requests with a sticky session ID (use <seller>'s username format) and prints each IP,
3. retries a request once with a new session ID if it gets 407, 429, 403 or 502.
Keep my password in an environment variable, never in the code.
```

Why each step: the first two runs prove rotation and stickiness work before you scrape anything.

The retry codes each mean something different:

- 407: the proxy refused your login, often a typo in the session string. Fix it, don’t just retry.
- 429: too many requests. Pause, then try a new session.
- 403: the site refused you. A new IP may help, or the problem is your headers.
- 502: with Bright Data’s `-const`, Oxylabs’ `sessid_oneip` or Decodo’s `session_iplock`, the sticky IP dropped. Start a new session.

Keeping the password in an environment variable stops it from ending up in a repo or a chat log.

## Related

- [Fake data for scrapers](https://scrapenews.com/guides/fake-data-for-scrapers.md)  (Read next)
- [Proxy types](https://scrapenews.com/guides/residential-vs-datacenter-proxies.md)  (Previous)
- [Residential proxies](https://scrapenews.com/compare/residential-proxies.md)  (Compare)
- [407 Proxy Authentication Required](https://scrapenews.com/errors/407-proxy-authentication-required.md)  (Error)
- [429 Too Many Requests](https://scrapenews.com/errors/429-too-many-requests.md)  (Error)
- [502 Bad Gateway and 504 Gateway Timeout](https://scrapenews.com/errors/502-504-bad-gateway-timeout.md)  (Error)

## Tools for this

| Tool | Price |
| --- | --- |
| [Bright Data Residential Proxies](https://scrapenews.com/compare/bright-data.md): Rotating residential proxy pool from Bright Data with country, state, city and ZIP targeting. Billed per GB, pay as you go or monthly. | $8.00/GB |
| [DataImpulse Residential Proxies](https://scrapenews.com/compare/dataimpulse.md): Rotating home IPs from a 90M+ pool in 195+ countries, billed by traffic used, with no subscription. | $1.00/GB |
| [Decodo Residential Proxies](https://scrapenews.com/compare/decodo.md): Rotating residential proxies from Decodo (formerly Smartproxy), billed per GB with pay as you go or monthly plans. | $4.00/GB |
| [Evomi Residential Proxies](https://scrapenews.com/compare/evomi.md): Rotating or sticky IPs from real home devices, with country and city targeting. Sold by the gigabyte. | $0.99/GB |
| [HProxy Residential Proxies](https://scrapenews.com/compare/hproxy.md): Residential proxies in two pools (Lite and Premium) from one prepaid balance. The balance never expires. | $0.50/GB |
| [IPRoyal Residential Proxies](https://scrapenews.com/compare/iproyal.md): Residential proxies from IPRoyal, billed per GB. Bought traffic does not expire. | $7.00/GB |
| [Massive Residential Proxies](https://scrapenews.com/compare/massive.md): Rotating residential IPs from opted-in consumer devices in 195+ countries, with country, region and city targeting and sticky sessions up to 12 minutes. | $8.00/GB |
| [NodeMaven Residential Proxies](https://scrapenews.com/compare/nodemaven.md): Rotating home IPs with sticky sessions up to 24 hours. Target by country, city, ZIP or ISP. Sold by traffic used. | $4.25/GB |
| [Oxylabs Residential Proxies](https://scrapenews.com/compare/oxylabs.md): Rotating residential proxies from Oxylabs, billed per GB from one credit plan that also pays for their other proxies and APIs. | $5.00/GB |
| [SOAX Residential Proxies](https://scrapenews.com/compare/soax.md): Rotating or sticky IPs from real home connections, targeted by country, region, city, ISP or ASN, paid per GB. | $5.00/GB |
| [Webshare Residential Proxies](https://scrapenews.com/compare/webshare.md): Rotating home IP addresses you pay for by the gigabyte, with country, city, state, ZIP and ASN targeting. | $3.50/GB |

## Sources

1. [Bright Data docs: Proxy and IP rotation control](https://docs.brightdata.com/api-reference/proxy/rotate_ips) docs.brightdata.com
2. [Bright Data docs: Residential products FAQ (session idle time)](https://docs.brightdata.com/products/residential/faqs) docs.brightdata.com
3. [Oxylabs docs: Session Control & IP Rotation](https://developers.oxylabs.io/products/proxies/residential-proxies/session-control) developers.oxylabs.io
4. [Decodo help: Session Types](https://help.decodo.com/docs/residential-proxy-session-types) help.decodo.com
5. [Decodo help: Custom Sticky Sessions](https://help.decodo.com/docs/residential-proxy-custom-sticky-sessions) help.decodo.com
6. [IPRoyal docs: Rotation (sticky, randomize, killswitch)](https://docs.iproyal.com/proxies/residential/proxy/rotation) docs.iproyal.com
7. [SOAX docs: Residential Proxies (session types)](https://developers.soax.com/proxies/residential) developers.soax.com
8. [Webshare: Rotating proxies (rotating proxy endpoint)](https://www.webshare.io/rotating-proxy) webshare.io
9. [SOAX: SOAX vs Bright Data (pool size claims, checked 2026-11-16)](https://soax.com/compare/bright-data) soax.com
10. [Webshare: Pricing (checked 2026-11-25)](https://www.webshare.io/pricing) webshare.io
11. [SOAX developer docs (pool size claim, checked 2026-11-16)](https://developers.soax.com/getting-started/what-is-soax) developers.soax.com
12. [Webshare: Residential proxy (pool size claim, checked 2026-11-16)](https://www.webshare.io/residential-proxy) webshare.io
13. [IPRoyal: Residential proxy pricing page (checked 2026-11-26)](https://iproyal.com/pricing/residential-proxies/) iproyal.com
14. [Bright Data docs: Proxy products FAQ (long sessions)](https://docs.brightdata.com/proxy-networks/faqs) docs.brightdata.com
15. [SOAX docs: Stateful Sessions](https://developers.soax.com/proxies/stateful-sessions) developers.soax.com

## Up

- [Home](https://scrapenews.com/index.md)
- [Guides](https://scrapenews.com/guides.md)
