Developer Resources

Proxy Integration Guidesfor Browsers and HTTP Clients

Choose the configuration for your browser or HTTP client. Check the documented protocol and test a small request before increasing traffic.

Quick Start

# Example format, not a working endpoint
http://USERNAME:PASSWORD@HOST:PORT

# Get actual credentials and routing details:
# https://agents.proxies.sx/pool/

# Select the protocol supported by your client.
# Keep credentials out of source control.

When a request fails, the proxy troubleshooting guide maps the error to the layer that produced it. Start with the gateway error codes, or with ERR_TUNNEL_CONNECTION_FAILED for browser automation.

Supported Proxy Formats

SOCKS5 (Recommended)

socks5://psx_YOUR_ID-peer-us:PROXY_PASSWORD@gw.proxies.sx:7001

# DNS resolution through proxy (socks5h)
socks5h://psx_YOUR_ID-peer-us:PROXY_PASSWORD@gw.proxies.sx:7001

# Sticky session (pins one device)
socks5h://psx_YOUR_ID-peer-us-sid-job1-rot-sticky:PROXY_PASSWORD@gw.proxies.sx:7001

Best for: Browser automation, full TCP support, DNS privacy

HTTP/HTTPS

http://psx_YOUR_ID-peer-us:PROXY_PASSWORD@gw.proxies.sx:7000

# HTTPS targets use the same proxy URL (CONNECT)
http://psx_YOUR_ID-peer-us:PROXY_PASSWORD@gw.proxies.sx:7000

# URL-encoded special characters in the password
http://psx_YOUR_ID-peer-us:p%40ss@gw.proxies.sx:7000

Best for: HTTP libraries, simple requests, legacy systems

Common Integration Patterns

Environment Variables

Set HTTP_PROXY and HTTPS_PROXY in your shell or .env file for automatic proxy usage.

export HTTP_PROXY=socks5://...
export HTTPS_PROXY=socks5://...

Session-Based

Create a session object with proxy config for connection reuse and better performance.

session.proxies = {
  "http": proxy,
  "https": proxy
}

Per-Request

Pass proxy config with each request for maximum control and rotation.

requests.get(url, proxies={
  "https": get_next_proxy()
})

Developer-Friendly Features

Low Latency

Optimized routing for minimal response time overhead.

TLS Support

Full HTTPS support with proper certificate handling.

Sticky Sessions

Maintain same IP across requests with session IDs.

Many countries

Target specific geos with country-specific ports.

Start Building Today

Get your API credentials and start integrating mobile proxies in minutes.