Proxy in n8n: the HTTP Request node
In n8n a proxy is set in the HTTP Request node options or globally with environment variables. Both are covered here.

Why use a proxy in n8n
n8n is an automation platform where workflows are built from nodes. The HTTP Request node has a Proxy option for an HTTP proxy. Globally the proxy is set with HTTP_PROXY, HTTPS_PROXY or ALL_PROXY, and the node setting overrides them.
Take an HTTP proxy: the HTTP Request node is built for it. For workflows that poll one service on a schedule, a sticky session fits. For collecting data from many pages, rotation.
Residential
from $0.6 / GBHome ISP addresses. The main choice for accounts and protected sites.
VIP
$2 / GBHand-picked clean IPs, faster and more stable than regular residential.
Mobile
$4 / GBCarrier IPs, for platforms that check addresses strictly.
Step-by-step setup
Button names are given exactly as they appear in n8n.
Add an HTTP Request node
Open the workflow and add an HTTP Request node. Method GET, URL https://api.ipify.org?format=json.
Open the options
At the bottom of the node click Add Option and choose Proxy.
Paste the string
In the Proxy field enter http://LOGIN:PASSWORD@HOST:PORT. Export login:pass@ip:port in @SousProxyBot and prepend http://.
Execute the node
Click Execute step. The node output shows JSON with an ip field.
Compare the IP
The address must be the proxy IP, not the n8n server's. Check the country on /en/tools/ip-type/.
Code example
Put in your own HOST, PORT, LOGIN and PASSWORD from the bot or the dashboard.
# Global proxy for the instance (a node with the Proxy option overrides it)
export HTTP_PROXY="http://LOGIN:PASSWORD@HOST:PORT"
export HTTPS_PROXY="http://LOGIN:PASSWORD@HOST:PORT"
n8n start
Tested by running it
We ran this example ourselves: n8n 2.35.7 · Node.js 22.23.5. Real output below, IP hidden.
$ export HTTP_PROXY="http://LOGIN:PASSWORD@HOST:PORT" export HTTPS_PROXY="http://LOGIN:PASSWORD@HOST:PORT" n8n execute --id=ipcheck0000001 Execution was successful: ==================================== { ... "HTTP Request": [ ... "json": { "ip": "proxy IP" }, ... }
And this is the response when the password is wrong:
$ export HTTP_PROXY="http://LOGIN:wrong-pass@HOST:PORT"
export HTTPS_PROXY="http://LOGIN:wrong-pass@HOST:PORT"
n8n execute --id=ipcheck0000001
…
at proxyRequestToAxios (/home/user/proxy-test/app/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helpers/legacy-request-adapter.ts:31:9)
at Object.request (/home/user/proxy-test/app/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helpers/factory.ts:166:11)
Execution was NOT successful. See log message for details.Check that it works
Open these pages through n8n with the proxy on.
Common errors
The issues people most often bring to support.
407 Proxy Authentication RequiredThe login or password didn't get through. Check the Proxy string and encode special characters in the password.
The IP in the response is the n8n server'sThe Proxy option isn't added to this node and no global variables are set. Add Proxy via Add Option.
Error with socks5:// in the Proxy fieldThe HTTP Request node works with HTTP proxies. Export the proxy with the HTTP protocol.
Variables set but not working in DockerThe variables must be passed into the container, e.g. with -e HTTPS_PROXY=... or in docker-compose, not just the host shell.
FAQ
Which wins: the node option or the variables?
The Proxy option in the HTTP Request node overrides the global HTTP_PROXY, HTTPS_PROXY and ALL_PROXY.
Can different nodes use different IPs?
Yes, each HTTP Request node has its own Proxy option. Put different sticky sessions from the dashboard in them.
Do all nodes need a proxy?
Usually not. Add it only where the IP matters: scraping, requests to geo-restricted services.
