Skip to main content
These examples use the requests library. Replace YOUR_PACKAGE_KEY with your actual package key 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.

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

If you need to run several sessions in parallel (for example, scraping different targets), give each one a unique session ID:

Expected response

All examples return a JSON response from the SOAX checker:

Next steps

Node.js examples

Working Node.js code for SOAX proxies.

Go examples

Working Go code for SOAX proxies.

Residential proxies

Full parameter reference.

Error codes

What to do when something goes wrong.