Mobile proxy API: change the IP from your code

There is no SDK to install. Rotation is one GET request to a URL that belongs to your line.

See plans from $75/mo ♡ Read the docs

The change-IP URL

Each line is delivered with a private link. Calling it tells the phone to reconnect to the carrier, which assigns a new address. Treat the link like a password, because anyone who has it can rotate your line.

curl -s "https://YOUR-CHANGE-IP-LINK"

Python example

import requests, time

PROXY = 'socks5h://USER:PASS@HOST:PORT'
ROTATE = 'https://YOUR-CHANGE-IP-LINK'

def new_ip():
    requests.get(ROTATE, timeout=30)      # not sent through the proxy
    time.sleep(15)                         # give the phone time to reconnect
    r = requests.get('https://api.ipify.org', proxies={'https': PROXY}, timeout=30)
    return r.text

print(new_ip())

Timing rules that keep a line healthy

Questions

Is there an API to order lines?

Not a public one. For bulk or automated provisioning, talk to @nekoproxiesxx.

Can a cron job rotate on a schedule?

Yes. Any scheduler that can make an HTTP request works.

Related guides

Ready for your own dedicated private mobile proxy? 🎀

Real AT&T, Verizon and T-Mobile SIMs · unlimited data · one-tap IP rotation · delivered by email or Telegram.