# Rotating Proxies: New IP per Request, Sticky on Demand

Source: https://coreproxies.com/rotating-proxies/

Rotating proxies · Guide

## Rotating proxies: a new IP on every request, or a sticky session when you need one

A rotating proxy gives each request a different exit IP, so a large job is spread over many addresses instead of one. That is the default on Core Proxies rotating plans. When a task needs one address from start to finish, such as a login or a checkout, you add a session ID and a TTL to the username.

Last updated: November 27, 2026

- Residential, datacenter, IPv6 and mobile pools
- HTTP(S) and SOCKS5
- Session control in the username

[Get started](https://coreproxies.com/register/) · [See pricing](https://coreproxies.com/pricing/)

### How proxy rotation works

You connect to one gateway, a host and a port, with your username and password. The gateway chooses the exit IP, so there is no IP list to download or refresh. Send a request without a session in the username and it leaves through one address from the pool; send the next one and it leaves through another.

On Residential, Unlimited Residential and Rotating Mobile, rotation follows connections: without a session, every new connection gets a new IP. Most tools open a new connection for each request, so in practice each request uses a different IP. On Rotating Mobile, if your client keeps one connection open (HTTP keep-alive, or a session object in your code), the requests on that connection share its IP until it closes. The table below shows the rule as it is documented for [Rotating Mobile proxies](https://coreproxies.com/product/rotating-mobile/). On Datacenter, ISP and IPv6, the lines you copy from the Proxy generator of your order decide how the IP behaves.

#### Which IP a connection gets

Rotating Mobile

Table: Rotating Mobile: the IP each kind of connection gets

| What happens | The IP you get |
| --- | --- |
| Your tool opens a new connection | A new carrier IP |
| A new connection with the same session ID | The same IP as the session's earlier connections while the ttl lasts, usually on the same carrier |
| A new connection with a different session ID | A different IP, possibly on another carrier |
| More requests on one open connection (HTTP keep-alive) | The same IP until the connection closes |
| You change the location in your dashboard | New connections use the carriers of the new location |

To check rotation yourself, request `https://api.ipify.org` a few times through the proxy and compare the addresses, or open the [what is my IP](https://coreproxies.com/tools/my-ip/) tool in a browser that uses the proxy.

### Rotation by product

Five products rotate: Residential, Unlimited Residential, Datacenter, IPv6 and Rotating Mobile. Two hold an address: ISP, whose IPs are static, and Mobile Proxy (Reset Link), which changes its IP only when you ask.

Table: How each Core Proxies product rotates, how it keeps an IP, and its starting price

| Product | Without a session | With a session | Starting price |
| --- | --- | --- | --- |
| Residential | A new residential IP with every new connection: `username:password` | Residential keeps the IP for up to 24 h: `username-session-123456-ttl-3600` | from €0.50 / GB |
| Unlimited Residential | A new residential IP with every new connection, same username format | Unlimited Residential keeps the IP for up to 24 h, set by the TTL | from €158 / day |
| Datacenter | Choose rotating, sticky or static in the Proxy generator of your order and copy the generated lines | Datacenter keeps the IP for up to 24 h; copy the sticky lines from the Proxy generator | from €15 / month |
| ISP | Static IPs: each address in your order stays the same | ISP session IDs hold one address for up to 24 h; copy the lines from the Proxy generator | from €18.23 / 250 GB + €0.23 / IP |
| IPv6 | Unlimited rotation across 1,100+ octillion addresses | Set in your order; the connection details are shown in your dashboard | from €0.05 / GB |
| Rotating Mobile | A new carrier IP for every new connection | `USERNAME-session-482913-ttl-600` with a number of your own: digits only, ttl in seconds | from €3.40 / GB |
| Mobile Proxy (Reset Link) | Does not rotate on its own: Mobile Proxy (Reset Link) holds one carrier address for up to 24 hours | Not used; change the IP with the Change IP button or your reset link, once every 30 seconds | from €3.70 / GB |

Prices exclude VAT. Hosts and ports are set per plan: copy the host, port and credentials for your plan from the dashboard (Proxy generator).

### Sticky session syntax

A proxy string has four parts, `host:port:username:password`, and session control lives in the username.

- On Residential and Unlimited Residential, a plain `username` rotates: every new connection gets a new IP.
- `username-session-123456-ttl-3600` keeps one IP across connections. The session ID is a number (digits only) and the ttl is the session length in seconds.
- On Residential and Unlimited Residential a session lasts up to 24 hours, a ttl of 86400 seconds.
- Use a different session number for each account or task; a new number gives you a new IP.
- Datacenter, ISP and IPv6 orders have their own Proxy generator in your dashboard. Choose the session type there and copy the generated lines; the generator sets the username for you.

#### Residential proxy strings

Plain username rotates; session ID and TTL hold the IP

```text
# Rotating: no session, so every new connection gets a new residential IP
HOST:PORT:username:password

# Sticky session: the same IP for 1 hour (ttl 3600 seconds)
HOST:PORT:username-session-123456-ttl-3600:password
```

HOST and PORT are placeholders: copy the host, port and credentials for your plan from the dashboard (Proxy generator). HTTP, HTTPS and SOCKS5 use the same host and port.

#### Residential username by session length

The TTL is the session length in seconds

Table: Residential usernames for rotating and sticky sessions of different lengths

| Use | Type | Username and password |
| --- | --- | --- |
| Mass web scraping | Rotating | `username:password` |
| 5-minute session | Sticky | `username-session-001-ttl-300:password` |
| 30-minute session | Sticky | `username-session-002-ttl-1800:password` |
| 1-hour session | Sticky | `username-session-003-ttl-3600:password` |
| 24-hour session | Sticky | `username-session-004-ttl-86400:password` |

#### Rotating Mobile sessions

Numeric session ID, ttl in seconds

```text
USERNAME-session-482913-ttl-600
```

- The session ID must be numbers only (digits 0–9); an ID with letters is ignored and the IP keeps rotating.
- The number is only an example: pick your own, such as a random 6-digit number, and use a different one for each account or task.
- The ttl value is how long you want to keep the IP, in seconds. Set it to cover your whole task: after it ends, the next connection can get a new IP.
- Use a new session number when you want a new IP; it can come from another carrier.
- Mobile networks can still change an IP on their own, so plan for an occasional change.

If you would rather change the IP yourself with a button or a link, choose [Mobile Proxy (Reset Link)](https://coreproxies.com/product/mobile-reset-link/).

### Rotating and sticky requests in cURL, Python and Node.js

Each example makes rotating requests and then a sticky one, with the Residential and Unlimited Residential username format. HOST and PORT are placeholders: copy the host, port and credentials for your plan from the dashboard (Proxy generator).

**cURL**

```bash
# Copy the host, port and credentials for your plan from the dashboard (Proxy generator)

# Rotating: no session in the username, so each new connection gets a new IP
curl -x http://HOST:PORT \
  -U "USERNAME:PASSWORD" \
  "https://api.ipify.org?format=json"

# SOCKS5 on the same host and port
curl -x "socks5h://USERNAME:PASSWORD@HOST:PORT" \
  "https://api.ipify.org?format=json"

# Sticky: session number 123456 (digits only), ttl 3600 seconds
curl -x http://HOST:PORT \
  -U "USERNAME-session-123456-ttl-3600:PASSWORD" \
  "https://api.ipify.org?format=json"
```

**Python**

```python
import requests

# Copy the host, port and credentials for your plan from the dashboard (Proxy generator)
PROXY = "HOST:PORT"
USERNAME = "USERNAME"
PASSWORD = "PASSWORD"
URL = "https://api.ipify.org?format=json"

def proxies(username):
    proxy = f"http://{username}:{PASSWORD}@{PROXY}"
    return {"http": proxy, "https": proxy}

# Rotating: no session; each call opens a new connection and gets a new IP
for _ in range(3):
    r = requests.get(URL, proxies=proxies(USERNAME), timeout=30)
    print("rotating:", r.json()["ip"])

# Sticky: session number 123456 (digits only), ttl 3600 seconds
sticky = proxies(f"{USERNAME}-session-123456-ttl-3600")
for _ in range(3):
    r = requests.get(URL, proxies=sticky, timeout=30)
    print("sticky:", r.json()["ip"])
```

**Node.js**

```javascript
// npm install undici
import { fetch, ProxyAgent } from "undici";

// Copy the host, port and credentials for your plan from the dashboard (Proxy generator)
const PROXY = "http://HOST:PORT";
const USERNAME = "USERNAME";
const PASSWORD = "PASSWORD";

const agentFor = (username) =>
  new ProxyAgent({
    uri: PROXY,
    token: "Basic " + Buffer.from(`${username}:${PASSWORD}`).toString("base64"),
  });

async function exitIp(dispatcher) {
  const res = await fetch("https://api.ipify.org?format=json", { dispatcher });
  return (await res.json()).ip;
}

// Rotating: a new agent, so a new connection and a new IP, for each request
for (let i = 0; i < 3; i++) {
  const agent = agentFor(USERNAME);
  console.log("rotating:", await exitIp(agent));
  await agent.close();
}

// Sticky: session number 123456 (digits only), ttl 3600 seconds
const sticky = agentFor(`${USERNAME}-session-123456-ttl-3600`);
for (let i = 0; i < 3; i++) console.log("sticky:", await exitIp(sticky));
await sticky.close();
```

Replace HOST, PORT, USERNAME and PASSWORD with the values from your dashboard. Each request prints the exit IP that `api.ipify.org` sees. On Datacenter, ISP and IPv6, take the host, port and username from a line that the Proxy generator of your order gives you.

#### Rotating Mobile with cURL

Replace HOST, PORT, USERNAME and PASSWORD with the values from your dashboard

```bash
# No session: each run opens a new connection and gets a new carrier IP
curl -x http://USERNAME:PASSWORD@HOST:PORT https://api.ipify.org

# SOCKS5 on the same host and port
curl -x socks5h://USERNAME:PASSWORD@HOST:PORT https://api.ipify.org

# Sticky session: pick your own number (digits only); ttl is in seconds
curl -x http://USERNAME-session-482913-ttl-600:PASSWORD@HOST:PORT https://api.ipify.org
```

Browser automation and other clients are covered under [proxy integrations](https://coreproxies.com/integrations/): [Playwright](https://coreproxies.com/integrations/playwright/), [Puppeteer](https://coreproxies.com/integrations/puppeteer/), [Selenium](https://coreproxies.com/integrations/selenium/), [Python Requests](https://coreproxies.com/integrations/python-requests/), [Node.js](https://coreproxies.com/integrations/nodejs/) and [cURL](https://coreproxies.com/integrations/curl/).

### Rotating or sticky: which one to use

Ask one question: does the website need to see the same visitor twice? If not, rotate. If it does, hold the IP for the length of that task and no longer.

- **Use rotating proxies for**

  A new IP with every request

  - Web scraping large numbers of pages
  - Avoiding rate limits and IP bans
  - High-volume data collection
  - Price monitoring and SERP scraping

- **Use sticky sessions for**

  One IP for the whole task

  - Social media account management
  - Login sessions and authenticated requests
  - Shopping carts and multi-step processes
  - Browser automation with consistent identity

Many projects use both: rotation for the crawl that finds pages, and a session for the steps that need a login. Which product to run them on depends on the target; [proxy types compared](https://coreproxies.com/proxy-types/) and [proxy use cases](https://coreproxies.com/use-cases/) cover that choice.

### Rotating proxies: frequently asked questions

#### What is a rotating proxy?

A rotating proxy sends your requests out through a pool of IP addresses and changes the address for you, instead of giving you one fixed IP. On the Residential, Unlimited Residential and Rotating Mobile plans every new connection gets a new IP unless you add a session, so a large job is spread over many addresses. You connect to one host and port and never manage an IP list.

#### Do you support rotating and sticky sessions?

Yes. You can use rotating IPs for maximum distribution or sticky sessions for consistent identity, depending on your plan.

#### How long can a sticky session last?

On Residential, Unlimited Residential and Datacenter plans, sticky sessions can last from 1 minute to 24 hours. On Rotating Mobile, you set the ttl in seconds, and mobile networks can still change an IP on their own.

#### Does every request get a new IP on Rotating Mobile?

By default, yes: every new connection gets a new carrier IP. Most tools open a new connection for each request, so in practice each request uses a different IP. If your client keeps one connection open (HTTP keep-alive, or a session object in your code), the requests on that connection share its IP until it closes. With a sticky session in the username, new connections keep the same IP as well, for the ttl you set.

#### How do I keep the same IP on Rotating Mobile?

Add a sticky session to your username: `USERNAME-session-482913-ttl-600`. The session ID must be numbers only (digits 0–9); an ID with letters is ignored and the IP keeps rotating. The number is only an example: pick your own, such as a random 6-digit number, and use a different one for each account or task. The ttl value is how long you want to keep the IP, in seconds, so set it to cover your whole task. Every connection with the same session ID keeps the same IP for the ttl you set, usually on the same carrier; use a new number when you want a new IP. Mobile networks can still change an IP on their own, so plan for an occasional change. If you would rather change the IP yourself with a button or a link, choose Mobile Proxy (Reset Link).

#### What is the difference between rotating and static proxies?

A rotating proxy changes the IP for you; a static proxy gives you an address that stays put. ISP proxies are the static option here: residential IPs registered under real ISPs, which stay the same from one request to the next. Mobile Proxy (Reset Link) sits in between: it holds one carrier address and changes it only when you press Change IP or call your reset link.

#### How much do rotating proxies cost?

It depends on the IP type. IPv6 starts at €0.05/GB (10 TB package; the entry package is 100 GB for €15). Residential starts at €0.50/GB (10 TB package; the entry package is 5 GB for €11.50). Rotating Mobile costs €3.40/GB on the 30-day plan. Datacenter starts at €15 per month for 250 GB and 100 IPs, and Unlimited Residential at €158 per day. Prices exclude VAT.

[All frequently asked questions](https://coreproxies.com/faq/)

### Rotating proxy products and prices

Five rotating products and the two that hold an address, each with its product page and its pricing page. All prices are in euro and exclude VAT.

- **Residential proxies**

  from €0.50 / GB

  A new IP for every new connection; sticky sessions on request. Packages from 5 GB (€11.50) to 10 TB. [Residential pricing](https://coreproxies.com/residential/)

  [Residential proxies](https://coreproxies.com/product/residential/)

- **Unlimited Residential proxies**

  from €158 / day

  Same rotation and session control, with unlimited data at a flat rate per day, week or 30 days. [Unlimited Residential pricing](https://coreproxies.com/unlimited-residential/)

  [Unlimited Residential proxies](https://coreproxies.com/product/unlimited-residential/)

- **Datacenter proxies**

  from €15 / month

  Rotating, sticky or static lines from the Proxy generator of your order. Monthly price from a bandwidth tier and an IP pool. [Datacenter pricing](https://coreproxies.com/datacenter/)

  [Datacenter proxies](https://coreproxies.com/product/datacenter/)

- **ISP proxies**

  from €18.23 / 250 GB + €0.23 / IP

  Static residential IPs for work that must not rotate. Monthly price from a bandwidth tier plus €0.23 per IP. [ISP pricing](https://coreproxies.com/isp/)

  [ISP proxies](https://coreproxies.com/product/isp/)

- **IPv6 proxies**

  from €0.05 / GB

  Unlimited rotation across 1,100+ octillion addresses. Per-GB packages do not expire. [IPv6 pricing](https://coreproxies.com/ipv6/)

  [IPv6 proxies](https://coreproxies.com/product/ipv6/)

- **Rotating Mobile proxies**

  from €3.40 / GB

  A new carrier IP for every new connection, in 13 countries. Priced per GB by plan length. [Rotating Mobile pricing](https://coreproxies.com/rotating-mobile/)

  [Rotating Mobile proxies](https://coreproxies.com/product/rotating-mobile/)

- **Mobile Proxy (Reset Link)**

  from €3.70 / GB

  Not a rotating product: one carrier IP that changes when you press Change IP or call your reset link. [Mobile Proxy (Reset Link) pricing](https://coreproxies.com/mobile-reset-link/)

  [Mobile Proxy (Reset Link)](https://coreproxies.com/product/mobile-reset-link/)

[Compare all proxy prices](https://coreproxies.com/pricing/)

Get started

### Start with rotating proxies

Create an account, choose your proxy type and plan, and your proxy credentials appear in your dashboard: within seconds on most products, usually within a minute on mobile plans.

- HTTP(S) and SOCKS5
- Rotating and sticky sessions
- 24/7 support by email

[Get started](https://coreproxies.com/register/) · [Talk to sales](mailto:info@coreproxies.com)

**Rotating proxies** · from €0.05 / GB

**Residential entry package** · 5 GB for €11.50 · €2.30/GB · [Residential pricing](https://coreproxies.com/residential/)

**Rotating Mobile** · 1 GB for €3.40 · 30-day plan · [Mobile pricing](https://coreproxies.com/rotating-mobile/)

**IPv6 entry package** · 100 GB for €15 · €0.15/GB · [IPv6 pricing](https://coreproxies.com/ipv6/)

**Create an account** · Sign up with an email address and password · [Get started](https://coreproxies.com/register/)

Prices exclude VAT

### Related pages

- [Proxy types compared](https://coreproxies.com/proxy-types/)
- [Proxy use cases](https://coreproxies.com/use-cases/)
- [Proxy integrations](https://coreproxies.com/integrations/)
- [What is my IP](https://coreproxies.com/tools/my-ip/)
- [Proxy pricing](https://coreproxies.com/pricing/)
- [Frequently asked questions](https://coreproxies.com/faq/)
