Skip to main content
These examples use Go’s standard net/http package — no dependencies needed. Replace USERNAME and PASSWORD with your package credentials from the dashboard.

Residential proxies

Rotating (new IP every request)

Each request gets a different IP. DisableKeepAlives matters here: by default Go reuses connections, and every request on a reused HTTPS tunnel exits from the same IP.

Sticky session (same IP across requests)

All three requests return the same IP. The session holds it for up to 30 minutes.

Target a specific city with fast mode

Only the proxy URL changes:

Premium residential proxies

Use package-premium instead of package-standard:

SOCKS5

Go’s net/http supports SOCKS5 proxies natively. Use the socks5 scheme and port 1080:

Static residential (ISP) proxies

Replace 203.0.113.10 with your static IP. The dashboard shows the exact line for each IP you own. ISP Monthly IPs (United States) connect straight to the IP instead, with no .static.flameproxies.com hostname:

Multiple concurrent sessions

There are no limits on concurrent connections. Give each goroutine its own session ID:

Expected response

All examples return a JSON response from ipinfo.io:

Next steps

Python examples

Working Python code for FlameProxies.

curl examples

Test connections from your terminal.

Proxy speed & latency

Get the most performance out of your setup.

Connection debugging

What to do when something goes wrong.