Developer SDK Guide

Python Proxy Integration Guide

Complete code boilerplates for Python Requests, Aiohttp, and Scrapy using ProxyVoxy's 75M+ residential and SOCKS5 IP pools.

1. Python Requests Integration STATUS: VERIFIED
import requests

proxies = {
    "http": "http://user-zone-residential:password_secret@proxy.proxyvoxy.com:8000",
    "https": "http://user-zone-residential:password_secret@proxy.proxyvoxy.com:8000"
}

try:
    response = requests.get("https://api.ipify.org?format=json", proxies=proxies, timeout=10)
    print("Assigned Proxy IP:", response.json())
except requests.exceptions.RequestException as e:
    print("Proxy connection error:", e)
2. Scrapy Proxy Middleware STATUS: VERIFIED
# middlewares.py in your Scrapy project
class ProxyVoxyMiddleware:
    def process_request(self, request, spider):
        request.meta['proxy'] = "http://user-zone-residential:password_secret@proxy.proxyvoxy.com:8000"

Need higher throughput or unmetered bandwidth?

Learn more about our Residential Proxies or configure SOCKS5 Proxies for custom TCP sockets.

Python Proxy FAQs

Define a `proxies` dictionary specifying `http` and `https` keys mapped to your ProxyVoxy endpoint format: `http://user:pass@proxy.proxyvoxy.com:8000`. Pass the dictionary into `requests.get(url, proxies=proxies)`.
ProxyVoxy proxies operate as raw transport tunnels. Use standard `verify=True` in Python requests for HTTPS target URLs.
Yes. You can use Scrapy's built-in `HttpProxyMiddleware` or set `request.meta['proxy'] = 'http://user:pass@proxy.proxyvoxy.com:8000'` in custom middleware.
Limited Deal 500MB Free Trial + 10% Off
Claim Deal Now