Scrapy proxy setup
Scrapy has proxy support built in — no third-party middleware needed. Enable HttpProxyMiddleware and set the proxy in each Request's meta, and your whole crawl exits from rotating residential IPs.
Connection details
Swap PROXY_USER / PROXY_PASS for the credentials on your dashboard. New here? Create an account to generate a key.
Scrapy proxy example
Steer the exit IP from the username
Tips & gotchas
- Set proxy in meta per request so you can mix pools or targets in one crawl.
- Tune CONCURRENT_REQUESTS and AUTOTHROTTLE — residential exits reward polite crawling.
Scrapy, answered
Do I need scrapy-rotating-proxies?
No. The gateway rotates IPs for you on the rotating port, so Scrapy's built-in HttpProxyMiddleware is enough — one proxy URL, a new residential IP per request.
How do I geo-target a Scrapy crawl?
Append targeting to the username in the proxy meta, e.g. PROXY_USER__cr.de for Germany. You can set different targets on different requests within the same spider.
Ready to route Scrapy through residential IPs?
Create an account, paste the code above, and we'll add your first 1 GB of residential free on your first top-up. Pay by the GB after that — no subscription.