cURL proxy setup
cURL is the fastest way to smoke-test a proxy. Point --proxy at your gateway and every request exits from a fresh residential IP — no config files, no SDK. Copy a line below, swap in your credentials, and you are through.
Connection details
Swap PROXY_USER / PROXY_PASS for the credentials on your dashboard. New here? Create an account to generate a key.
cURL proxy example
Steer the exit IP from the username
Tips & gotchas
- socks5h (not socks5) resolves DNS on the exit side — use it to avoid DNS leaks.
- Add ;city.newyork or ;sessid.abc123 to the username for city targeting or a sticky IP.
cURL, answered
Why does my IP change on every cURL request?
The rotating gateway on port 823 hands you a fresh residential exit per request by design. To keep the same IP across calls, add a sticky session id to the username (__sessid.abc123) or use a sticky port.
How do I target a specific country in cURL?
Put the targeting in the username, not the URL: change PROXY_USER to PROXY_USER__cr.us for the US, or cr.gb for the UK. You can combine keys, e.g. __cr.us;city.newyork.
Ready to route cURL through residential IPs?
Create an account, paste the code above, and we'll add your first 1 GB of residential free on your first top-up. Pay by the GB after that — no subscription.