Skip to main content
curl is the quickest way to test SOAX from your terminal. Every example on this page is a single command you can copy, paste, and run immediately. Replace YOUR_PACKAGE_KEY with your actual package key from the dashboard.

Residential proxies

Rotating (new IP every request)

Run this multiple times and you’ll get a different IP each time.

Target a specific city

Session (same IP across requests)

Run this multiple times with the same session ID and you’ll see the same IP, as long as the session is active. Ephemeral sessions expire after 60 seconds of inactivity.

Session with timed rotation

Rotate to a new IP every 5 minutes:

Session with request-based rotation

Rotate to a new IP every 10 requests:

Session with error handling

Retry 3 times on the same node before replacing:
Replace with a similar node on error:
Fail immediately on error (no retry, no replacement):

Mobile proxies

Mobile proxies use the same format. Add network-mob to your parameters.

Rotating

Session

Target a specific carrier

Mobile session with timed rotation

IP Auth (HTTPS)

If you’ve added your IP to the allowlist in the dashboard, you can connect without credentials. Rules go in the subdomain instead.
With a session:
IP Auth via subdomain is limited to 63 characters (the DNS label limit). For complex rule combinations, use the parameter shortcuts (e.g. c-us-ci-new_york-s-job1) or switch to username/password authentication.

SOCKS5

To connect via SOCKS5 instead of HTTP, use --socks5:

Expected response

All examples above return a JSON response from the SOAX checker:
The ip should be different from your real IP. If you targeted a specific country, the country_code should match.

Next steps

Python examples

Working Python code for SOAX proxies.

Node.js examples

Working Node.js code for SOAX proxies.

Error codes

What to do when something goes wrong.

Residential proxies

Full parameter reference.