Developer resources

Documentation.

Code Examples

Ready-to-use proxy connection snippets for popular languages and tools.

Python
import requests

# Basic connection
proxy = {
    "http": "http://res-us:PASS@172.65.145.196:3389",
    "https": "http://res-us:PASS@172.65.145.196:3389"
}
response = requests.get("https://httpbin.org/ip", proxies=proxy)
print(response.json())

# With country targeting (US)
proxy_us = {
    "http": "http://res-us:PASS@172.65.145.196:3389",
    "https": "http://res-us:PASS@172.65.145.196:3389"
}
response = requests.get("https://httpbin.org/ip", proxies=proxy_us)
print(response.json())

# Sticky session
proxy_sticky = {
    "http": "http://res-us-sid-myapp01:PASS@172.65.145.196:3389",
    "https": "http://res-us-sid-myapp01:PASS@172.65.145.196:3389"
}
response = requests.get("https://httpbin.org/ip", proxies=proxy_sticky)
print(response.json())

# Async with aiohttp
import aiohttp
import asyncio

async def main():
    async with aiohttp.ClientSession() as session:
        async with session.get(
            "https://httpbin.org/ip",
            proxy="http://res-us:PASS@172.65.145.196:3389"
        ) as response:
            print(await response.json())

asyncio.run(main())