A rotating proxy is a proxy service that automatically changes the outgoing IP address, drawing a new one from a pool for each request, each new connection, or each time window.

You connect to one gateway address, and the provider picks the exit IP that target sites see. "Rotating" describes how the IP changes, not where it comes from: the pool can hold residential, datacenter, mobile, or ISP addresses.

How a Rotating Proxy Works

  1. Your client sends traffic to one gateway host and proxy port, usually with a username and password.
  2. The gateway picks an exit IP from its proxy pool and connects to the target site from that address.
  3. The target sees only the exit IP. On the next request, connection, or time window, the gateway can pick a different one.

Rotation Methods

  • Per request or per connection: each new request or connection gets a new exit IP. This suits stateless page fetches.
  • Timed rotation: one IP is kept for a set period, such as several minutes, then replaced.
  • Sticky sessions: a sticky session holds one IP for a whole session, so logins, carts, and multi-step forms keep working.

Per Request Often Means Per Connection

HTTPS traffic through a proxy runs inside a tunnel opened with the HTTP CONNECT method. The proxy then forwards data blindly in both directions until the tunnel closes, so every request sent through one open tunnel reaches the site over the same connection and shows the same exit IP.

Most HTTP clients also keep connections open and reuse them for later requests, known as persistent or keep-alive connections. HTTP/2 goes further and multiplexes many requests over a single connection. If your scraper reuses connections, several requests can share one IP even on a per-request plan. To get a fresh IP each time, close the connection after each request or turn off connection reuse in your HTTP client.

Rotating vs. Static Proxy

Rotating ProxyStatic Proxy
Exit IPChanges per request, connection, or time windowStays the same
Session continuityNeeds sticky sessionsBuilt in
Request load per IPSpread across the poolAll on one IP
Typical fitLarge crawls, rank tracking, price checks across many pagesLogins, account work, IP allowlists

See static proxy for when a fixed IP is the better choice.

Types of Rotating Proxies

Rotation can run on any IP type:

  • Residential: home IPs assigned by consumer ISPs.
  • Datacenter: IPs from hosting providers, grouped under hosting ASNs.
  • Mobile: carrier IPs that many phone users often share.
  • ISP: IPs registered to consumer ISPs but hosted in data centers.

What It Means for Web Scraping

  • Rotation spreads per-IP counts: on Cloudflare's Free and Pro plans, rate limiting rules count requests by IP only. Spreading requests across a pool keeps each IP's count lower. See rate limiting.
  • Match the method to the job: use per-request rotation for independent pages, such as search results for rank tracking. Use a sticky session for anything that depends on a login or session cookie.

Limitations of Rotating Proxies

Rotation only changes your IP. Cookies, account logins and browser fingerprinting can still identify you. The W3C's fingerprinting guidance notes that Tor users, who change their network route, can still be linked through browser fingerprinting, and that using a VPN doesn't prevent that either.

  • Rate limits aren't always per IP: on Cloudflare's Enterprise plans with Advanced Rate Limiting, rules can count requests by IP, but also by header, cookie or query parameter values, ASN, country, JA3/JA4 TLS fingerprint or JWT claims. A new IP doesn't reset a limit keyed on those.
  • IP changes mid-session can end the session: OWASP recommends binding a session to client properties such as the IP address, and treating a change during an established session as a possible hijacking sign that can be alerted on or terminated. A sticky session keeps one IP for a set period, which avoids this.
  • No added encryption: rotation doesn't encrypt traffic by itself. HTTPS sites stay encrypted end to end because the proxy only relays the tunnel's bytes.