To check a proxy with Curl, you should use the protocol output format:
After setting up your proxy, you can set up the command line:
For HTTP
curl -x http://USERNAME:[email protected]:8080 -l http://ip-api.com -v
For SOCKS 5
curl -x socks5://USERNAME:[email protected]:1080 -l http://ip-api.com -v
Example:
curl -x http://TEST__USER-country-any-sid-a4be7e1f75964-filter-medium:[email protected]:8080 -l http://ip-api.com -v
OR
curl -x socks5://TEST__USER-country-any-sid-a4be7e1f75964-filter-medium:[email protected]:1080 -l http://ip-api.com -v
Now that you have the command line, you can run the code:
For windows:
Press Windows Key + R to open the Run dialog.
Type cmd and press Enter to open the Command Prompt.
For macOS:
Press Command + Space to open the search bar
Type Terminal and click Enter to open
Now you can paste the curl command.
A result where the proxy string is live will look like the following:
A result where the proxy string is not online will look like this:
Common curl errors are:
402 - payment required
407 - authentication required (make sure that your username and passwords are correct, OR make sure that your real IP is whitelisted)
Please don't hesitate to contact support if you have any questions!


