Mobile Proxy Rotation: Link, Timer, API and Bot
Published
Rotating a mobile proxy means asking the device to drop its connection to the carrier and reconnect, so the carrier's gateway hands out a new public address. On a MobiProxi line you can trigger that in five ways, and rotations are unlimited. This guide explains each method, what happens on the device while it rotates, how to wait for the new address in a script without guessing, and the few mistakes that cause most rotation problems.
What happens during a rotation
The device holding your SIM keeps a data session open with the carrier. When you rotate, the device closes that session and opens a new one. The carrier's gateway assigns a fresh private address to the device and maps it to a public address from its pool. Your proxy credentials, port and settings stay the same; only the public IP changes.
While the session is being re-established, the line carries no traffic. Open connections through the proxy are dropped and must be reopened. The whole cycle usually takes a few seconds to under a minute, depending on the device and the network. The new address comes from the carrier's pool for that area, which is finite, so occasionally you will get an address you have seen before, and rarely the same one. Rotating again gives you another draw.
The five ways to rotate
All five do the same thing on the device. Choose by where you already are: scripts use the link or API, people use the bot or the app, and unattended jobs use the timer.
- Rotation link: each line has a private rotation URL. Opening it, from a browser, a script or any tool that can make a GET request, triggers a rotation.
- API: the same action from your own software, along with reading the line's status, for tools that manage many lines.
- Timer: set a rotation interval on the line in the dashboard or the bot, and the line rotates on that schedule without you doing anything.
- Telegram bot: open the line in the bot and tap Rotate. The bot also keeps the IP history for the line.
- Dashboard and phone app: a rotate button on each line in the web dashboard and in the dashboard installed as a phone app.
Using the rotation link from a script
The rotation link is the simplest integration. In a shell, a GET request to the link with curl is enough. In Python, a single requests.get call to the URL works; in any other language, use whatever makes an HTTP request. You do not need to send it through the proxy itself. Treat the link like a password: anyone who has it can rotate your line.
The important part is what you do after the request. Do not sleep for a fixed time and hope. Instead, poll an IP echo service through the proxy, for example ipinfo.io or any endpoint that returns the caller's address, every few seconds. While the line is reconnecting the request will fail or time out; that is expected. As soon as a request succeeds and returns an address different from the one before, the line is ready. Put an upper limit on the wait, about a minute, and log it if the line does not come back in that time.
- Record the current IP by requesting an IP echo through the proxy.
- Send a GET request to the rotation link.
- Every few seconds, request the IP echo through the proxy again, with a short timeout.
- Ignore failures while the line reconnects.
- Continue when a request succeeds with a new address, or stop and alert after about a minute.
Setting a rotation interval
The timer suits jobs where nothing must survive an IP change: rank checks, public page monitoring, ad checks that should be seen from many addresses. Set the interval to comfortably longer than the longest single task, so a rotation never lands mid-task. If a page load takes seconds, a short interval is fine; if a checkout test or a login flow takes minutes, set it well above that.
For account work, the timer is usually the wrong tool. A rotation in the middle of a logged-in session drops the connection and shows the platform a new address mid-task. Turn the interval off and rotate between sessions instead, or read our guide on when to hold an IP.
Common rotation mistakes
- Reusing an old connection after a rotation: HTTP clients keep connections alive. Close the session or create a new client so traffic opens fresh connections over the new address.
- Rotating too often for no reason: rotation does not make an address cleaner. If a target blocks you, look at fingerprint and behaviour before rotating repeatedly.
- Expecting a new address every time: the pool is finite. Check the IP after each rotation rather than assuming it changed.
- Sharing the rotation link in a team chat or a public repository: anyone with the link can disrupt your sessions.
- Mixing a timer with manual rotations in a script: the two fight each other. Pick one per line.
Sticky by default
If you never rotate, the line stays on its address until the carrier reassigns it, which carriers do from time to time on their own schedule. That makes each line usable as a stable address for long sessions and as a rotating one for broad work, with no change of plan. The rotation methods described here are included on every line of MobiProxi mobile proxies, along with the Telegram bot and phone app that put the Rotate button in your pocket. See the price list for terms from two hours to a month.
Frequently asked
How long does a rotation take?
Usually a few seconds to under a minute. Poll an IP echo through the proxy until a new address answers rather than waiting a fixed time.
Is there a limit on rotations?
No. Rotations are unlimited on every plan.
Do my credentials change when the IP rotates?
No. Host, port, username and password stay the same. Only the public address changes.
Why did I get the same IP after rotating?
The carrier draws from a finite pool for the area, so an address can repeat. Rotate again if you need a different one.
Can I rotate from my phone?
Yes. Use the Rotate button in the Telegram bot, the dashboard installed as a phone app, or open the rotation link in your phone's browser.
Should the rotation request go through the proxy?
It does not need to. Send it directly; then check the new address by making a request through the proxy.
