Scrapy proxy setup

How to set up a proxy in Scrapy

Configure a NobleProxy dedicated static residential proxy in Scrapy with the exact fields the app asks for, then run its connection check before real tasks.

Quick answer

Add your NobleProxy host, port, username, and password to Scrapy's proxy settings, choose HTTP or SOCKS5, save, and run the built-in proxy check before you start tasks.

  • Exact field-by-field setup
  • HTTP and SOCKS5 supported
  • One proxy per profile
  • Connection check before tasks

When this is the right fit

  • Exact field-by-field setup
  • HTTP and SOCKS5 supported
  • One proxy per profile

Who this page is for

Configure a NobleProxy dedicated static residential proxy in Scrapy with the exact fields the app asks for, then run its connection check before real tasks.

Add your NobleProxy host, port, username, and password to Scrapy's proxy settings, choose HTTP or SOCKS5, save, and run the built-in proxy check before you start tasks.

Scrapy proxy fields

Proxy type / protocol
HTTP or SOCKS5 - both supported on every NobleProxy endpoint
Host / endpoint
The host exactly as issued in your NobleProxy dashboard
Port
The port paired with your endpoint in the dashboard
Username
Your NobleProxy credential (case sensitive)
Password
Your NobleProxy credential (case sensitive)
Static or rotating
Static - the same exit IP every session by design

Field labels vary slightly between app versions; the NobleProxy values never change.

Step-by-step: connect Scrapy to NobleProxy

  1. 01

    Export the endpoint

    Set HTTP_PROXY and HTTPS_PROXY to http://username:password@host:port in the shell that launches Scrapy, replacing all four values with your dashboard credentials.

  2. 02

    Pin one endpoint per crawl

    Keep the same endpoint for the whole run so target sites see one consistent residential IP for the session.

  3. 03

    Run a single-page crawl first

    Start with one URL and confirm the response arrives through the proxy before scaling concurrency.

  4. 04

    Watch for 407 and timeouts

    A 407 means credentials are wrong or missing from the URL; a timeout usually means the port is wrong or a firewall blocks the endpoint.

Connection check

  1. 01Run the check or test inside the tool after saving the proxy
  2. 02Confirm the reported IP matches your assigned endpoint, not your home IP
  3. 03Load one real target page and confirm it renders normally

Working connection

The tool reports the endpoint IP or country, and target pages load without credential prompts.

Broken connection

A refused connection, timeout, or repeated credential prompt means the host, port, username, or password does not match the dashboard values exactly.

Sources

Facts last reviewed 2026-09-01

Tool-specific limitations to plan around

Scrapy reads proxy settings at middleware level and rotates nothing on its own. HTTP_PROXY and HTTPS_PROXY environment variables or a custom downloader middleware supply the endpoint; HttpProxyMiddleware is enabled by default and consumes those variables.

  • Set the endpoint once per crawler run and keep it fixed for the whole crawl session.
  • Configure the endpoint before enabling retry or concurrency changes so test results reflect the real path.

Keep the mapping one-to-one

Record which profile uses which endpoint before you start. When every task or profile has one stable residential endpoint, its session history stays consistent across restarts and team handoffs.

Real home connections
ResidentialReal home connections
One customer per static proxy
DedicatedOne customer per static proxy
127 customer reviews
4.9 / 5127 customer reviews
Delivered in seconds
InstantDelivered in seconds

FAQ

Frequently asked questions.

Which proxy protocols does Scrapy support?

NobleProxy endpoints support HTTP and SOCKS5. Pick the protocol Scrapy asks for in its proxy dialog; both use the same host, port, username, and password.

Where do I find the proxy host and port for Scrapy?

Use the host, port, username, and password exactly as issued in your NobleProxy dashboard. Enter them in the same fields Scrapy shows in its proxy configuration screen.

Should each Scrapy profile get its own proxy?

Yes. Map one dedicated static residential proxy to one profile and keep that mapping stable. Reusing the same endpoint for many profiles links their sessions together.

One dedicated proxy for every account you run.

View pricing