Quick answer
How do I rotate the IP of a 4G/5G mobile proxy?
To rotate a LatamProxies 4G/5G port, press Change IP in the dashboard, open the port's rotation link, or call the API, at most once every 30 seconds; a timer can also rotate it from every 2 minutes to once a day. The modem reconnects, open connections close, and a new carrier IP answers.
In brief
- Three ways: the Change IP button, the rotation link
https://latamproxies.com/api/v1/mobile/{port}/rotate?key=API_KEYor an API call, at most once every 30 seconds. - Timer: automatic change from every 2 minutes to once a day, with no script.
- Side effects: open connections close at each change, and the carrier sometimes returns the same IP.
- Cost: rotation is included in every dedicated port, from $9 a day with unlimited data under fair use.
- Code: bash, Python and Node.js examples below compare the old and new IP before resuming work.
Mobile rotation at a glance
| Rotation link | https://latamproxies.com/api/v1/mobile/{port}/rotate?key=API_KEY |
|---|---|
| Rotation modes | IP change on demand by rotation link or API call, at most once every 30 seconds, or automatically on a timer from every 2 minutes to every 24 hours; otherwise the port keeps its IP until you rotate it, although the carrier can change it on its own from time to time |
| Traffic on dedicated ports | unlimited data under fair use (the carrier may slow or pause very heavy use) |
| Dedicated port price (Latin America) | From $9/day (1 day), $29.25 for 7 days, $66.75 for 30 days |
| Rotating 4G/5G per GB | From $1.50/GB |
| Protocols | HTTP, HTTPS, SOCKS5 |
| KYC | None — no ID, no selfie, no documents |
| Payment | Crypto only: USDT, BTC, USDC, ETH, LTC, SOL |
| Top-up | Minimum $25 in crypto; unused balance stays on your account |
How does IP rotation work on a 4G/5G proxy?
A 4G/5G proxy changes IP when its modem reconnects to the carrier. The carrier then assigns a new public IP from its own pool. Mobile carriers share each public IP between many subscribers through carrier-grade NAT (CGNAT). That is why websites are careful about blocking mobile IPs: one block can hit many real users.
A dedicated port is one modem with a SIM card reserved for you. Its IP stays the same until you rotate it, either by calling the rotation link or with a timer, although the carrier can change it on its own from time to time. During the reconnection, which takes a short moment, open connections on that port are dropped. Your scripts should wait and retry, as shown in the code below.
Should I rotate on demand or on a timer?
Rotate on demand when your script knows when a task ends; use a timer when you just want a fresh IP at regular intervals. LatamProxies supports both: IP change on demand by rotation link or API call, at most once every 30 seconds, or automatically on a timer from every 2 minutes to every 24 hours; otherwise the port keeps its IP until you rotate it, although the carrier can change it on its own from time to time.
- On demand (API link): your code calls the rotation link between jobs, for example after each batch of 200 product pages or before each new ad-verification run. You control exactly when the IP changes.
- Timer: set an interval in the dashboard. The port reconnects by itself. This suits tools that cannot call a URL, such as some browser profiles or desktop apps.
Do not combine a short timer with on-demand calls on the same port: the IP may change in the middle of a job.
How long do other sellers keep a mobile IP?
Session length and traffic validity differ widely between sellers, so rotation settings rarely carry over from one to another. According to LatamProxies's survey of 5 October 2026, Coronium advertised sticky sessions from 1 minute to 24 hours on its Brazil ports, VoidMob's rotating Colombia traffic expired after 30 days, and QuantumProxies' expired after 90 days. A LatamProxies port keeps its IP until you rotate it or the timer fires, and LatamProxies per-GB mobile traffic does not expire.
How does a sticky port differ from rotating mobile traffic?
| Dedicated 4G/5G port | Rotating 4G/5G (per GB) | |
|---|---|---|
| Price | From $9/day | From $1.50/GB |
| Billing | Per day, week or month | Per GB |
| Traffic | unlimited data under fair use (the carrier may slow or pause very heavy use) | Plan size; traffic never expires |
| IP change | Rotation link or timer | New session id in the username |
| Best for | Long sessions, app testing, own accounts | Many short, independent requests |
Where do I find my rotation link?
Your dashboard shows, for each dedicated port, its connection details (host, port, username, password) and its rotation link. The link follows this pattern:
https://latamproxies.com/api/v1/mobile/{port}/rotate?key=API_KEY
Replace {port} with your port number and API_KEY with the key shown in the dashboard. Treat the link like a password: anyone who has it can change your IP. If it leaks, ask [email protected] for a new key.
How do I rotate the IP in bash?
The script below calls the rotation link, then checks the exit IP through the proxy until it changes. Fill in the four values from your dashboard.
#!/usr/bin/env bash
# Values from your dashboard
PROXY="http://USERNAME:PASSWORD@HOST:PORT"
ROTATE_URL="https://latamproxies.com/api/v1/mobile/{port}/rotate?key=API_KEY" # replace {port} and API_KEY
CHECK="https://api.ipify.org"
old_ip=$(curl -s -x "$PROXY" "$CHECK")
echo "Current IP: $old_ip"
curl -s "$ROTATE_URL" > /dev/null
for i in $(seq 1 20); do
sleep 3
new_ip=$(curl -s --max-time 10 -x "$PROXY" "$CHECK")
if [ -n "$new_ip" ] && [ "$new_ip" != "$old_ip" ]; then
echo "New IP: $new_ip"
exit 0
fi
done
echo "IP did not change yet, try again later" >&2
exit 1How do I rotate the IP in Python?
In Python, wrap the rotation in a function and call it between jobs. The function returns the new IP, or raises an error if the modem did not reconnect in time.
import time
import requests
PROXY = "http://USERNAME:PASSWORD@HOST:PORT" # from your dashboard
ROTATE_URL = "https://latamproxies.com/api/v1/mobile/{port}/rotate?key=API_KEY" # replace {port} and API_KEY
CHECK = "https://api.ipify.org"
proxies = {"http": PROXY, "https": PROXY}
def current_ip():
return requests.get(CHECK, proxies=proxies, timeout=10).text.strip()
def rotate(max_wait=60):
old = current_ip()
requests.get(ROTATE_URL, timeout=30).raise_for_status()
deadline = time.time() + max_wait
while time.time() < deadline:
time.sleep(3)
try:
new = current_ip()
if new and new != old:
return new
except requests.RequestException:
pass # modem is reconnecting
raise RuntimeError("IP did not change in time")
for batch in range(3):
# ... run one batch of requests through `proxies` here ...
print("Rotated to", rotate())How do I rotate the IP in Node.js?
In Node.js 18 or later, use undici for proxied requests and the built-in fetch for the rotation link, which is a normal HTTPS call that does not go through the proxy.
// npm install undici
import { fetch as pfetch, ProxyAgent } from 'undici';
// Values from your dashboard
const dispatcher = new ProxyAgent({
uri: 'http://HOST:PORT',
token: 'Basic ' + Buffer.from('USERNAME:PASSWORD').toString('base64'),
});
const ROTATE_URL = 'https://latamproxies.com/api/v1/mobile/{port}/rotate?key=API_KEY'; // replace {port} and API_KEY
const CHECK = 'https://api.ipify.org';
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
async function currentIp() {
const res = await pfetch(CHECK, { dispatcher, signal: AbortSignal.timeout(10_000) });
return (await res.text()).trim();
}
export async function rotate(maxWaitMs = 60_000) {
const old = await currentIp();
const r = await fetch(ROTATE_URL);
if (!r.ok) throw new Error(`rotate failed: ${r.status}`);
const deadline = Date.now() + maxWaitMs;
while (Date.now() < deadline) {
await sleep(3000);
try {
const ip = await currentIp();
if (ip && ip !== old) return ip;
} catch { /* modem is reconnecting */ }
}
throw new Error('IP did not change in time');
}
console.log('New IP:', await rotate());What are good rotation habits?
Rotate between tasks, not in the middle of them. A few rules that keep jobs stable:
- Finish the job, then rotate. A rotation drops open connections, so a page load or an upload in progress will fail.
- Do not rotate in a tight loop. Each rotation needs a reconnection; calling the link again before it finishes only adds delay.
- Keep cookies with the IP. If your job uses a browser profile, start a fresh context after each rotation.
- Match the country to the target. Use a port in Brazil for Brazilian apps, in Mexico for Mexican ones, and so on.
- Stay within the rules. Rotation is for spreading legitimate load, such as price checks and ad verification, not for ban evasion or bulk account creation. See the Acceptable Use Policy.
Mobile rotation questions
How often can I change the IP of a LatamProxies mobile proxy?
At most once every 30 seconds on demand, by button, rotation link or API, or on a LatamProxies timer from every 2 minutes to once a day. Rotate between tasks and wait for each reconnection to finish before the next call.
Does rotating the IP cost extra at LatamProxies?
No. Rotation is included with every LatamProxies dedicated port, from $9 a day, and ports carry unlimited data under fair use, so a rotation uses no traffic allowance.
Will a LatamProxies port get a different IP every time?
Usually, not always: the carrier assigns the new IP from its own pool and can return one used before. The LatamProxies scripts in this guide compare the old and new IP and retry until they differ.
Why did my connections drop during a LatamProxies rotation?
Rotation reconnects the modem, so every open connection on that LatamProxies port closes. Rotate between tasks, add retries, and wait until the new IP answers before sending traffic again.
Can a LatamProxies port keep the same mobile IP for hours?
Yes. A LatamProxies dedicated port keeps its IP until you rotate it or your timer fires, although the carrier can change it on its own now and then, so check the IP at the start of long jobs.
Verdict
- A LatamProxies dedicated port is the better choice when a script decides when to rotate: button, link or API every 30 seconds at most, or a timer from 2 minutes to 24 hours, from $9 a day.
- Rotating per-GB mobile traffic is the better option when every request may use a new IP: $1.50/GB, no modem to manage.
Sources (3)
- Brazil mobile proxies coronium.io/mobile-proxies/brazil — Coronium (read 2026-10-05)
- Colombia mobile proxies voidmob.com/proxies/locations/colombia — VoidMob (read 2026-10-05)
- Brazil 4G/5G mobile proxies quantumproxies.io/mobile-proxies/brazil — QuantumProxies (read 2026-10-05)
Get a dedicated 4G/5G port
Rotation by button, link, API or timer is included. No KYC — no ID, no selfie, no documents. Pay in crypto.