Skip to main content
These examples use the requests library. Replace USERNAME and PASSWORD with your package credentials from the dashboard. Install requests if you haven’t already:

Residential proxies

Rotating (new IP every request)

Each time you run this, you’ll get a different 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

Fast mode and sub-pools

Route through the lowest-latency peer in sub-pool 1:

Premium residential proxies

Use package-premium instead of package-standard. Everything else works the same way.

Rotating

Sticky session

SOCKS5

Install SOCKS support for requests:
Then connect on port 1080. The socks5h scheme resolves hostnames through the proxy, so DNS lookups don’t leak from your machine:

Static residential (ISP) proxies

Static proxies use a dedicated host for each IP:
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:
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 threads or concurrent connections. To run several sticky sessions in parallel — for example, one per target — give each one its own session ID:

Expected response

All examples return a JSON response from ipinfo.io:

Next steps

Node.js examples

Working Node.js code for FlameProxies.

Go examples

Working Go code for FlameProxies.

Residential proxies

Full parameter reference.

Connection debugging

What to do when something goes wrong.