Proxies for curl
curl is the quickest way to test a proxy: one command shows which IP your request came from.
Our pick for curl
Residential Lite
$0.60 per GB
- Setting
- A new IP on every request
- Targeting
- Country
- Protocols
- HTTP and SOCKS5
How to set it up for curl
A new IP on every request. Leave the session out of the username, and every request leaves from a different address in the country you choose.
- Run curl -x http://USER:PASS@HOST:PORT https://ipinfo.io/json.
- Use --socks5-hostname for the SOCKS5 port.
- Add -v to see where a connection fails.
Other proxy types that work
Start with our pick. If curl still blocks or challenges you, move to the next type in the list; if it works, you can try the cheaper option for bulk work.
Steps
- Buy the smallest Residential Lite plan, one gigabyte, to test with curl. Pay by card or crypto; the plan is delivered by itself, usually within a minute.
- Open the plan in your dashboard and copy the ready-to-paste line, or make a list in the generator with the country you need.
- Paste it into your curl code or settings, and press the test button on the plan page to see the IP and country.
- Run a small job on curl first. If it works, top up the same plan and keep the login; if it is blocked, try the next proxy type above.
A proxy changes where your traffic comes from. It does not change curl's rules: follow its terms and the law, and our acceptable use policy applies to every plan.
Questions about proxies for curl
Which proxy is best for curl?
Residential Lite, set to a new ip on every request. curl is the quickest way to test a proxy: one command shows which IP your request came from.
Why does curl say "Proxy CONNECT aborted"?
Usually a wrong username, password or port. Copy the line from your plan page.
How do I test SOCKS5 with curl?
curl --socks5-hostname HOST:PORT --proxy-user USER:PASS https://ipinfo.io/json