Every scraping stack needs the same two things from a proxy: an IP that looks like a real Indian phone, and a way to keep or change that IP on purpose. Snowpad gives you both through a single endpoint. The part that trips people up is that most tools cannot speak to it directly.
This page is the setup for all of them. Read the first two sections, then jump to your tool.
One endpoint, every tool
| Field | Value |
|---|---|
| Protocol | SOCKS5 |
| Host | gw.snowpad.io |
| Port | 9999 |
| Username | your 32-character Snowpad API key |
| Password | any value (historically x) — it is ignored for API-key auth |
| Sticky sessions | append -session-<id> to the username |
| HTTP CONNECT alternative | gw.snowpad.io:8443 |
The password field exists because SOCKS5 requires one, not because Snowpad checks it. Use x and move on.
Rotating is the default. Every new connection can leave through a different phone. That is what you want for price monitoring, SERP checks and ad verification.
Sticky is opt-in. A username of KEY-session-checkout1 pins every connection to one phone for the life of the session. Use it for logged-in flows, carts and anything that breaks when the IP changes mid-step.
The authentication wall
Here is the thing that makes half the tutorials on the internet wrong:
Chromium's SOCKS5 client only implements no-auth. Playwright, Puppeteer and Selenium all drive Chromium, so socks5://KEY:x@gw.snowpad.io:9999 does not work in them. Some versions fail closed; others fail silently and send traffic directly — which is worse, because your scrape "works" from your own IP.
Firefox has the same gap: its SOCKS5 support has no username/password field in the UI.
Scrapy has no SOCKS5 support at all. Its HttpProxyMiddleware speaks HTTP proxies only.
Python's requests, httpx, curl and aiohttp do support authenticated SOCKS5, so scripted HTTP calls can talk to Snowpad directly.
The fix: one local relay
Run gost once on the machine doing the scraping. It holds the Snowpad credentials and exposes a local proxy that every tool can use.
# SOCKS5 on :1080 and HTTP on :8080, both forwarding to Snowpad.
gost -L socks5://127.0.0.1:1080 -L http://127.0.0.1:8080 \
-F 'socks5://YOUR_API_KEY:x@gw.snowpad.io:9999'Now 127.0.0.1:1080 and 127.0.0.1:8080 behave like an unauthenticated Indian mobile proxy. Chrome connects to it happily, Scrapy speaks HTTP to it, and gost forwards the hostname upstream so DNS resolution happens on the phone rather than on your server.
You can also run it as a Docker sidecar next to a scraper container, which keeps the credentials out of the scraper image.
Verify before you scrape
Run this before every job. It catches the silent-fallback failure that costs people weeks.
# Direct — your real egress IP.
curl -s https://api.ipify.org
# Through Snowpad.
curl -s --proxy socks5h://YOUR_API_KEY:x@gw.snowpad.io:9999 https://api.ipify.org
# Through the local relay.
curl -s --proxy http://127.0.0.1:8080 https://api.ipify.orgAll three should return different addresses, and the last two should belong to an Indian carrier. Then confirm the network type:
curl -s --proxy socks5h://YOUR_API_KEY:x@gw.snowpad.io:9999 https://ipinfo.io/jsonorg should name Jio, Airtel, Vi or BSNL. If it names a hosting provider, you are not going through the phone pool.
Python: requests and httpx
import requests
PROXY = "socks5h://YOUR_API_KEY:x@gw.snowpad.io:9999"
proxies = {"http": PROXY, "https": PROXY}
r = requests.get("https://ipinfo.io/json", proxies=proxies, timeout=30)
print(r.json())requests needs the SOCKS extra:
pip install "requests[socks]"With httpx:
import httpx
with httpx.Client(
proxy="socks5://YOUR_API_KEY:x@gw.snowpad.io:9999",
timeout=30,
) as client:
print(client.get("https://ipinfo.io/json").json())httpx resolves through the proxy for SOCKS5 as long as you pass a hostname rather than a pre-resolved IP.
To rotate deliberately rather than hoping, open a fresh connection per request:
import requests
PROXY = "socks5h://YOUR_API_KEY:x@gw.snowpad.io:9999"
for i in range(5):
with requests.Session() as s:
s.proxies = {"http": PROXY, "https": PROXY}
print(s.get("https://api.ipify.org", timeout=20).text)Five separate sessions should print five different IPs. If they do not, you are on a sticky suffix or a single-node plan.
For a sticky flow, change the username once and reuse it:
STICKY = "socks5h://YOUR_API_KEY-session-cart42:x@gw.snowpad.io:9999"Scrapy
Scrapy talks HTTP to proxies, so point it at the relay's HTTP port.
# settings.py
DOWNLOADER_MIDDLEWARES = {
"scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware": 110,
}# spider
yield scrapy.Request(
url,
meta={"proxy": "http://127.0.0.1:8080"},
callback=self.parse,
)The relay handles the SOCKS5 hop and the authentication, and rotates connections as it goes.
If you need a different IP per request inside one spider, the relay rotates per connection, so concurrent requests naturally spread across phones. For a sticky crawl, run a second relay with the session suffix baked in:
gost -L http://127.0.0.1:8081 \
-F 'socks5://YOUR_API_KEY-session-crawl7:x@gw.snowpad.io:9999'Playwright (Python and Node)
Playwright's proxy option accepts a SOCKS5 server but cannot pass credentials to it. Point it at the relay instead.
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
browser = p.chromium.launch(
proxy={"server": "socks5://127.0.0.1:1080"},
)
page = browser.new_page()
page.goto("https://ipinfo.io/json")
print(page.inner_text("body"))
browser.close()const { chromium } = require('playwright');
const browser = await chromium.launch({
proxy: { server: 'socks5://127.0.0.1:1080' },
});
const page = await browser.newPage();
await page.goto('https://ipinfo.io/json');
console.log(await page.textContent('body'));
await browser.close();--proxy-server accepts a host and port, not credentials. That is why the relay is required.
Puppeteer
const puppeteer = require('puppeteer');
const browser = await puppeteer.launch({
args: ['--proxy-server=socks5://127.0.0.1:1080'],
});
const page = await browser.newPage();
await page.goto('https://ipinfo.io/json');
console.log(await page.content());
await browser.close();Selenium
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
opts = Options()
opts.add_argument("--proxy-server=socks5://127.0.0.1:1080")
driver = webdriver.Chrome(options=opts)
driver.get("https://ipinfo.io/json")
print(driver.find_element("tag name", "body").text)
driver.quit()If you need credentials inside Selenium without a relay, use the seleniumwire proxy add-on and configure an upstream SOCKS5 proxy — but the relay stays simpler and works for every tool at once.
BeautifulSoup
BeautifulSoup does not make requests. It parses whatever requests, httpx or urllib fetched, so the Python section above is the whole answer:
import requests
from bs4 import BeautifulSoup
PROXY = "socks5h://YOUR_API_KEY:x@gw.snowpad.io:9999"
html = requests.get(
"https://example.in/",
proxies={"http": PROXY, "https": PROXY},
timeout=30,
).text
soup = BeautifulSoup(html, "html.parser")
print(soup.title.string)No-code and desktop tools
Each of these has a proxy field that takes the same four values. The relay is still the safe choice where the tool cannot authenticate SOCKS5.
| Tool | Where the proxy goes | Notes |
|---|---|---|
| Octoparse | Task → Settings → Proxy | SOCKS5 with username/password supported |
| ParseHub | Project → Settings → Proxy | Use the relay if auth fields are missing |
| Apify | Actor input proxyConfiguration |
Point proxyUrls at the relay or at Snowpad directly |
| PhantomBuster | Workspace → Proxy | HTTP proxy field; use the relay's :8080 |
| Texau | Account → Proxy settings | HTTP only; relay required |
| Helium Scraper | Options → Proxy | HTTP; relay required |
| WebHarvy | Settings → Proxy | SOCKS5 with auth supported |
| Screaming Frog | Configuration → Speed → Proxy | HTTP; use the relay |
| OpenBullet | Proxies → New | Accepts host:port:user:pass in one line |
Rotating vs sticky, in practice
| Need | Username | Behaviour |
|---|---|---|
| Price/stock monitoring | KEY |
New IP per connection |
| SERP checks | KEY |
New IP per connection |
| Ad verification | KEY |
New IP per connection |
| Logged-in checkout | KEY-session-<id> |
Same phone for the session |
| Account management | KEY-session-<id> |
Same phone, isolate one ID per account |
| A/B of two geos | Two session IDs | Run two relays with different suffixes |
Never share a session ID across accounts. The point of isolation is that one identity never appears next to another.
When it fails
| Symptom | Cause | Fix |
|---|---|---|
| Requests succeed but the IP never changes | Tool is ignoring the proxy and going direct | Check --proxy is actually applied; verify with api.ipify.org |
Browser page loads, ipinfo shows your own IP |
Chromium rejected the authenticated SOCKS5 config | Use the relay |
407 in the browser |
Wrong API key, or key pasted in the password field only | Username is the key |
ERR_SOCKS_CONNECTION_FAILED |
Relay not running, or upstream credentials wrong | Test the relay with curl --proxy http://127.0.0.1:8080 |
| Works from curl, hangs in Scrapy | Scrapy proxy is set per request, not globally | Set request.meta["proxy"] |
| Same IP every time on a sticky suffix | Session still alive | Drop the suffix, or wait for expiry |
| Very slow first byte | Phone on weak signal, or a distant node | Retry; the pool rotates |
| DNS resolves to your ISP | socks5:// instead of socks5h://, or local relay resolving locally |
Use socks5h://; verify with dnscheck.tools |
The checklist
- Exit IP differs from your server IP.
-
orgnames an Indian carrier, not a hosting provider. - DNS resolves through the proxy, not your ISP.
- Rotating jobs see multiple IPs across a batch.
- Sticky jobs see one IP across the whole flow.
- Both HTTP and HTTPS targets return 200.
- Throughput is acceptable for the job — check before launching 10,000 requests.
If any of those fail, fix it before the crawl, not after. The expensive failure is the silent one.
Ready to run this against a real pool? Get an API key and start with the smallest plan that covers your traffic, or read the seven-check proxy test first. You can also run the free checker against a key you already have.

