cURL Integration
Use cURL with Enterprise Proxy Network for command-line HTTP requests
Basic cURL Usage
cURL is a command-line tool for transferring data with URLs. It supports various protocols including HTTP, HTTPS, FTP, and works seamlessly with SOCKS5 proxies.
Basic SOCKS5 Proxy Command
This command routes the request through our proxy network and returns your proxy IP address.
Authentication Format
Username
Example: us-socks5-cust_123
Password
Example: sk_live_1234567890abcdef
Advanced Examples
HTTP/HTTPS Proxy
File Download with Proxy
The -o flag saves the output to a file instead of printing to stdout.
API Requests with Headers
Performance Tips
Connection Reuse
Use connection pooling for multiple requests to the same host:
Compression
Enable compression to reduce bandwidth usage:
Timeout Configuration
Environment Configuration
Setting Proxy Environment Variables
Once set, all cURL commands will automatically use the proxy without needing the -x flag.
.curlrc Configuration File
Create this file in your home directory to apply these settings to all cURL commands.
Was this helpful?
Help us improve our documentation