Proxy Integrations
Copy-ready snippets and configuration tips for integrating Hex Proxies into popular frameworks and SDKs.
.NET Playwright
Integrate Hex Proxies with Playwright for .NET for geo-aware automation.
Apache HttpClient (Java)
Use Hex Proxies with Apache HttpClient for proxy-enabled Java requests.
Axios
Configure Axios to route requests through Hex Proxies.
C# HttpClient
Use Hex Proxies in .NET with HttpClient and a proxy handler.
curl
Test Hex Proxies quickly using curl with proxy authentication.
Go net/http
Use Hex Proxies in Go applications via custom HTTP transport.
MechanicalSoup
MechanicalSoup combines requests and BeautifulSoup into a stateful browser that handles forms, cookies, and redirects. Setting proxies on its internal session routes all automated browsing through your gateway.
Mechanize (Ruby)
Mechanize simulates a web browser in Ruby, handling cookies, forms, and redirects automatically. Its set_proxy method routes all automated browsing through your proxy, maintaining session state across proxied page transitions.
node-fetch
Use Hex Proxies in node-fetch with a proxy agent for reliable requests.
Node.js got
Integrate Hex Proxies with got for Node.js HTTP requests featuring automatic retries, pagination hooks, and proxy agent pooling.
Node.js SuperAgent
Use Hex Proxies with SuperAgent and the superagent-proxy plugin for chainable, expressive HTTP requests routed through residential IPs.
OkHttp (Java)
Configure OkHttp to route requests through Hex Proxies.
PHP cURL
Configure PHP cURL to route requests through Hex Proxies.
Playwright
Use Hex Proxies with Playwright to run stable, geo-aware automation and testing workflows.
Postman
Use Hex Proxies with Postman for quick API testing and regional validation.
Puppeteer
Integrate Hex Proxies into Puppeteer to stabilize automation and reduce detection.
PycURL
PycURL provides Python bindings to libcurl, offering the lowest-level proxy control available in Python. When requests or httpx abstractions are insufficient, PycURL gives direct access to every proxy-related curl option.
Python aiohttp
Use Hex Proxies with aiohttp for async, high-throughput requests.
Python aiohttp
Use Hex Proxies with Python aiohttp to run thousands of concurrent proxied requests with fine-grained connection management.
Python httpx
Integrate Hex Proxies with Python httpx for modern async and sync HTTP requests with built-in proxy rotation and geo targeting.
Python Requests
Configure Hex Proxies in Python Requests for quick proxy-enabled requests.
Python Scrapy
Configure Hex Proxies in Scrapy with downloader middleware for automatic proxy rotation, retry handling, and geo-targeted crawling at scale.
Python Selenium
Integrate Hex Proxies into Python Selenium for browser-based automation, testing, and scraping with residential proxy support across all major browsers.
Ruby Faraday
Use Hex Proxies with Faraday for Ruby HTTP requests.
Ruby Net::HTTP
Configure Ruby Net::HTTP to route requests through Hex Proxies.
Scrapy
Integrate Hex Proxies with Scrapy to reduce blocks and improve scraping success.
Scrapy (Advanced)
This guide covers advanced Scrapy proxy patterns beyond basic middleware: custom proxy rotation middlewares, ban detection, per-spider proxy policies, and integration with Scrapy's stats and signals system.
Selenium
Use Hex Proxies with Selenium to test and automate across geos and networks.
Typhoeus
Typhoeus wraps libcurl for Ruby with native parallel request support via Hydra. It handles concurrent proxy connections efficiently, making it the best Ruby choice for high-throughput proxy scraping workloads.
Undici
Integrate Hex Proxies with Undici using a proxy agent for high-performance requests.
wget
Use wget with Hex Proxies for quick CLI testing and downloads.