v1.10.82-f67ee7d
Skip to main content
← Back to Hex Proxies

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.

Recommended: Residential proxies

Apache HttpClient (Java)

Use Hex Proxies with Apache HttpClient for proxy-enabled Java requests.

Recommended: Residential proxies

Axios

Configure Axios to route requests through Hex Proxies.

Recommended: Residential proxies

C# HttpClient

Use Hex Proxies in .NET with HttpClient and a proxy handler.

Recommended: Residential proxies

curl

Test Hex Proxies quickly using curl with proxy authentication.

Recommended: Residential proxies

Go net/http

Use Hex Proxies in Go applications via custom HTTP transport.

Recommended: Residential proxies

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.

Recommended: Residential proxies

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.

Recommended: Residential proxies

node-fetch

Use Hex Proxies in node-fetch with a proxy agent for reliable requests.

Recommended: Residential proxies

Node.js got

Integrate Hex Proxies with got for Node.js HTTP requests featuring automatic retries, pagination hooks, and proxy agent pooling.

Recommended: Residential proxies

Node.js SuperAgent

Use Hex Proxies with SuperAgent and the superagent-proxy plugin for chainable, expressive HTTP requests routed through residential IPs.

Recommended: Residential proxies

OkHttp (Java)

Configure OkHttp to route requests through Hex Proxies.

Recommended: Residential proxies

PHP cURL

Configure PHP cURL to route requests through Hex Proxies.

Recommended: Residential proxies

Playwright

Use Hex Proxies with Playwright to run stable, geo-aware automation and testing workflows.

Recommended: Residential proxies

Postman

Use Hex Proxies with Postman for quick API testing and regional validation.

Recommended: Residential proxies

Puppeteer

Integrate Hex Proxies into Puppeteer to stabilize automation and reduce detection.

Recommended: Residential proxies

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.

Recommended: Residential proxies

Python aiohttp

Use Hex Proxies with aiohttp for async, high-throughput requests.

Recommended: Residential proxies

Python aiohttp

Use Hex Proxies with Python aiohttp to run thousands of concurrent proxied requests with fine-grained connection management.

Recommended: Residential proxies

Python httpx

Integrate Hex Proxies with Python httpx for modern async and sync HTTP requests with built-in proxy rotation and geo targeting.

Recommended: Residential proxies

Python Requests

Configure Hex Proxies in Python Requests for quick proxy-enabled requests.

Recommended: Residential proxies

Python Scrapy

Configure Hex Proxies in Scrapy with downloader middleware for automatic proxy rotation, retry handling, and geo-targeted crawling at scale.

Recommended: Residential proxies

Python Selenium

Integrate Hex Proxies into Python Selenium for browser-based automation, testing, and scraping with residential proxy support across all major browsers.

Recommended: Residential proxies

Ruby Faraday

Use Hex Proxies with Faraday for Ruby HTTP requests.

Recommended: Residential proxies

Ruby Net::HTTP

Configure Ruby Net::HTTP to route requests through Hex Proxies.

Recommended: Residential proxies

Scrapy

Integrate Hex Proxies with Scrapy to reduce blocks and improve scraping success.

Recommended: Residential proxies

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.

Recommended: Residential proxies

Selenium

Use Hex Proxies with Selenium to test and automate across geos and networks.

Recommended: Residential proxies

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.

Recommended: Residential proxies

Undici

Integrate Hex Proxies with Undici using a proxy agent for high-performance requests.

Recommended: Residential proxies

wget

Use wget with Hex Proxies for quick CLI testing and downloads.

Recommended: Residential proxies