Use ProxyHQ with cURL
Test ProxyHQ from the command line with cURL.
Connection details
Use these values. Your login and password are in your dashboard.
| Type | HTTP (or SOCKS5) |
| Host | gw.proxyhq.net |
| Port (HTTP / HTTPS) | 823 |
| Port (SOCKS5) | 824 |
| Sticky ports | 10000 - 20000 |
| Username | YOUR_LOGIN |
| Password | YOUR_PASSWORD |
Steps
- Run a request with the -x option. It should print an IP address that is not yours.
- Add __cr.de to the login to choose a country, or use port 824 with socks5h:// for SOCKS5.
# Rotating IP, HTTP port 823 curl -x "http://YOUR_LOGIN:[email protected]:823" https://api.ipify.org # Choose a country curl -x "http://YOUR_LOGIN__cr.de:[email protected]:823" https://api.ipify.org # SOCKS5 curl -x "socks5h://YOUR_LOGIN:[email protected]:824" https://api.ipify.org
Use socks5h (with an h) so the name lookup also goes through the proxy.
Choose a country or a sticky IP
Add __cr.de (or another country code) to the end of your login to choose a country. Use a port from 10000 to 20000 for a sticky IP. See country targeting and rotating vs sticky.
Stuck? See troubleshooting or email [email protected].