ProxyTee
Scraping Frameworks & Proxy Tools • Python 3.8+ Ready • 30M+ Residential IPs
Python (Requests & HTTPX) logo

How to Integrate ProxyTee with Python (Requests & HTTPX)

Integrate ProxyTee's HTTP and SOCKS5 rotating residential ports into Python Requests, HTTPX, and AIOHTTP scripts to scrape at scale without per-gigabyte bandwidth bills.

Recommended Protocol
HTTP or SOCKS5h
Dual-Stack Port Ready
Rotation Window
3–10 Minutes (High-Volume Scraping)
Dashboard Configurable
Authentication Mode
Username : Password or IP Whitelist
Instant Port Credential Verification
Recommended Plan
5 Ports ($129/mo) or 25 Ports ($449/mo)
$0.00/GB Unlimited Bandwidth
Integration Architecture

Why Pair Python (Requests & HTTPX) with ProxyTee?

Python is the #1 language for web scraping, AI data pipelines, and SERP extraction. Whether you use synchronous `requests` or asynchronous `httpx` and `aiohttp`, ProxyTee's standard gateway endpoints (`gate.proxytee.com`) drop into your Python scripts in 3 lines of code—giving your crawlers 30,000,000+ residential IPs across 100+ countries with truly unlimited bandwidth.

  • 30,000,000+ Real Household IPs: Route Python (Requests & HTTPX) traffic through genuine residential consumer ISPs across 100+ countries.
  • Zero Per-Gigabyte Fees: Run 24/7 Python (Requests & HTTPX) workflows on flat-rate concurrent ports starting at $29/month.
  • Native HTTP, HTTPS & SOCKS5: Switch protocols or adjust sticky rotation windows (3–60 minutes) directly inside the ProxyTee dashboard.

Zero Per-GB Bandwidth Bills

Crawl millions of HTML pages, JSON APIs, PDFs, and product images in Python for a flat $29–$1,399/month.

30M+ Residential IPs

Bypass 403 Forbidden and 429 Too Many Requests blocks from Cloudflare, Akamai, and DataDome.

IP Whitelist for Cloud Servers

Whitelist your AWS EC2, GCP, Hetzner, or DigitalOcean server IP so you don't even need credentials in code.

Native SOCKS5h Remote DNS

Use `socks5h://` in Python Requests to resolve DNS through the remote residential ISP.

60-Second Configuration

Step-by-Step Python (Requests & HTTPX) Proxy Setup

Follow these four steps to connect your ProxyTee residential port to Python (Requests & HTTPX).

Step 1

1. Install Python Requests & PySocks

Run `pip install requests[socks] httpx` in your Python virtual environment to support both HTTP and SOCKS5 proxy routing.

Step 2

2. Copy Your ProxyTee Gateway Endpoint

In your ProxyTee Dashboard, configure your port's target country and rotation window (3–10 minutes for scraping) and copy your credentials.

Step 3

3. Define the `proxies` Dictionary in Python

Pass `http://username:password@gate.proxytee.com:8080` (or `socks5h://...:1080` for remote DNS resolution) to `requests.get()` or `httpx.AsyncClient()`.

Step 4

4. Scale Concurrency Across Multiple Ports

Use a `requests.Session()` connection pool or `asyncio.gather()` across your subscribed ProxyTee ports for continuous 24/7 extraction with $0/GB overages.

Python Requests & Async HTTPX with ProxyTee (HTTP & SOCKS5)

HTTP / HTTPS / SOCKS5 Ready
import requests

# 1. Standard HTTP/HTTPS Residential Port (or use socks5h:// for SOCKS5)
PROXY_URL = "http://your_username:your_password@gate.proxytee.com:8080"

proxies = {
    "http": PROXY_URL,
    "https": PROXY_URL,
}

with requests.Session() as session:
    session.proxies.update(proxies)
    response = session.get("https://ipinfo.io/json", timeout=15)
    response.raise_for_status()
    print("Connected via ProxyTee Residential IP:", response.json())
Unlimited Bandwidth Ports

Flexible pricing plans. Any scale.

Whether you're an individual, a small team, or a growing enterprise, choose the number of concurrent ports that fits your workload.

1 Port

Ideal for personal use or small projects with minimal traffic.

$29/month
  • Unlimited bandwidth
  • 30 million IPs pool
  • 3–60 minutes rotation
  • HTTP & SOCKS5
  • API Access
  • User:pass & IP whitelist
Get started
Best Value

5 Ports

Perfect for small teams or light testing across multiple devices.

$129/month
  • Unlimited bandwidth
  • 30 million IPs pool
  • 3–60 minutes rotation
  • HTTP & SOCKS5
  • API Access
  • User:pass & IP whitelist
Get started

10 Ports

Great for medium-sized teams or projects with moderate traffic.

$229/month
  • Unlimited bandwidth
  • 30 million IPs pool
  • 3–60 minutes rotation
  • HTTP & SOCKS5
  • API Access
  • User:pass & IP whitelist
Get started
High-Volume Credits

Ready to Scale Up?

Credits Plans — Flexible pricing for high-volume users.

Credits Package
Base
Validity: Non-expire
Pro
Validity: 30 days
Pro Max
Validity: 15 days
$1,000 Credits
Save up to 30%
$900$800$700
$2,000 Credits
Save up to 35%
$1,700$1,500$1,300
$5,000 Credits
Save up to 40%
$4,000$3,500$3,000
$10,000 Credits
Save up to 45%
$7,500$6,500$5,500
Use credits to purchase or renew any proxy plan on demand.Select BaseSelect ProSelect Pro Max
Python (Requests & HTTPX) Proxy FAQs

Frequently Asked Questions About Python (Requests & HTTPX) Proxies

In Python requests, socks5:// resolves DNS locally on your machine, whereas socks5h:// resolves DNS remotely through the ProxyTee residential proxy node—preventing DNS leaks when scraping geo-restricted targets.