Short answer
A rotating proxy gives every request a new IP, which spreads large jobs across many addresses. A sticky proxy keeps one IP for a set time, so multi-step flows such as logins stay on the same address. On RoyalProxy rotation is the default, and adding -sid- and -ttl- to the username keeps an IP for 1 to 60 minutes.
What a rotating proxy does
With a rotating proxy, each request goes out from a different IP. Your tool still connects to one host and port, and the gateway picks the exit IP. On RoyalProxy this happens whenever the username has no session ID.
Rotation fits jobs where every request stands alone: fetching thousands of product pages, collecting search results for a keyword list, or checking ad placements across regions. Because the load is spread over many IPs, no single address sends a long run of requests.
What a sticky proxy does
A sticky session keeps the same IP for every request that carries the same session ID. When the time you set with -ttl- runs out, the session can move to a new IP. Use a new session ID when you want a fresh IP before then.
Sticky sessions fit flows where a site links several requests to one visitor: logging in and opening account pages, adding items to a cart and reaching checkout, or paging through results that depend on a cookie.
Rotating vs sticky proxies compared
Both modes run on the same gateway, ports and residential traffic. Only the username changes.
| Point | Rotating | Sticky |
|---|---|---|
| IP per request | New IP every time | Same IP for the session |
| How to set it | No -sid- in the username | -sid-<id>, and -ttl-<minutes> for the length |
| Session length | One request | 1 to 60 minutes |
| Good for | Scraping, rank checks, price checks | Logins, carts, multi-page flows |
| Price | Residential traffic from $0.23 per GB | The same residential traffic and price |
Username format for each session type
All options go at the end of the proxy username, each starting with a hyphen. The password stays the same whatever options you add.
Tools that take a proxy URL use http://USERNAME:PASSWORD@gate.royalproxy.online:6100, or socks5://USERNAME:PASSWORD@gate.royalproxy.online:6200 for SOCKS5. Tools that ask for a host:port:user:pass line take gate.royalproxy.online:6100:USERNAME:PASSWORD.
- Rotating, any country: rpexample1-zone-res
- Rotating in Germany: rpexample1-zone-res-cc-de
- Sticky in New York for 30 minutes: rpexample1-zone-res-cc-us-city-new_york-sid-job42a-ttl-30
- A second sticky session at the same time: the same username with another ID, such as -sid-job42b
Which one to use for common tasks
If you are unsure, start with rotation. Switch a step to sticky only when the site asks you to log in again or loses your cart between requests.
- Large page collection: rotating, since each page is a separate request.
- Search rank tracking by city: rotating, with -cc- and -city- set to that city.
- Logging in to an account you own and reading the pages behind it: sticky, with a ttl that covers the whole flow.
- Checkout or form tests with several steps: sticky.
- Many parallel sticky jobs: give each worker its own session ID.
Test both modes with curl
Run curl -x http://USERNAME:PASSWORD@gate.royalproxy.online:6100 https://api.ipify.org twice with a plain username such as rpexample1-zone-res. The two replies should show different IPs.
Then add -sid-test1-ttl-10 to the username and run it twice again. Both replies should show the same IP, and that IP is kept for up to 10 minutes.