Integration
Connect your Mobile Proxy in any language — SOCKS5 or HTTP, with automatic IP rotation already built into the examples.
import time
import requests
PROXY_URL = "http://usr1a2b3c4d:SuaSenhaAqui123@abc123def456.mobile.proxys.app:12345"
proxies = {"http": PROXY_URL, "https": PROXY_URL}
def request_with_retry(url, tries=2):
# O IP do Proxy Móvel roda automaticamente a cada ~5 min (até 10s de
# interrupção durante a troca) — uma nova tentativa evita erro só por
# causa disso.
last_error = None
for attempt in range(tries):
try:
return requests.get(url, proxies=proxies, timeout=10)
except requests.exceptions.RequestException as e:
last_error = e
if attempt < tries - 1:
time.sleep(2)
raise last_error
response = request_with_retry("https://api.ipify.org?format=json")
print(response.json())
Perguntas frequentes
Do the examples work with any language, or only the ones listed?
The examples cover Python, cURL, Node.js, PHP, Go, Java, and C# — but any language/library that supports an authenticated HTTP or SOCKS5 proxy (host, port, username, password) will work, even without a ready-made example here.
Do I need to change my code on every proxy renewal?
No — host, port, and credentials stay the same while the proxy is active, even after renewal. They only change if you manually regenerate credentials in your dashboard.
Where do I find my real credentials to paste into the examples?
In your dashboard, under Integration — the same code examples appear there already filled in with your Mobile Proxy's real host, port, username, and password, ready to copy.