Skip to main content
These examples use Go’s standard net/http and net/url packages. No external dependencies needed. Replace YOUR_PACKAGE_KEY with your actual package key from the dashboard.

Residential proxies

Rotating (new IP every request)

Each time you run this, you’ll get a different IP.

Session (same IP across requests)

All three requests will return the same IP.

Session with timed rotation

Rotate to a new IP every 5 minutes:

Target a specific city and ISP

Session with error retry and lookalike replacement

Mobile proxies

Add network-mob to the proxy URL. Everything else works the same way.

Rotating

Session

Target a specific carrier

Multiple concurrent sessions

Run several sessions in parallel using goroutines:

Expected response

All examples return a JSON response from the SOAX checker:

Next steps

Python examples

Working Python code for SOAX proxies.

Node.js examples

Working Node.js code for SOAX proxies.

Residential proxies

Full parameter reference.

Error codes

What to do when something goes wrong.