Skip to content

n8n HTTP Request Node Proxy: Static IP for API Calls

Where the proxy goes in n8n, which IP to use for an allowlisted API or a scraping flow, and how to prove the exit.

Two places to set a proxy

The first is the node: Proxy is one of the HTTP Request node's Options, and n8n describes it as the option to use when you need to specify an HTTP proxy. The second is the environment of a self-hosted instance, where HTTP_PROXY, HTTPS_PROXY and NO_PROXY apply to the whole n8n process.

When both are set, the node option wins. Use the node option when only a few calls need a fixed or country-specific exit; use the variables when every outgoing request should go through the proxy.

Node option or environment variables

Node option or environment variables
ItemNode option (Proxy)Environment variables
Applies toOne HTTP Request nodeThe whole n8n process on a self-hosted instance
Where you set itOptions > Add option > ProxyThe container or service environment, then restart n8n
ValueA proxy URL; the field's placeholder is http://myproxy:3128HTTP_PROXY, HTTPS_PROXY; NO_PROXY lists hosts that skip the proxy
PrecedenceWins over the variablesUsed when the node has no Proxy set
Good forAn allowlisted API or one scraping stepEverything outgoing, with internal hosts in NO_PROXY

From the n8n documentation and node source read on 16 November 2026. The node field is described as an HTTP proxy, so give it an HTTP address.

Which IP for which flow

An API that only accepts calls from listed IPs needs one address that does not change. A static ISP IP is the fit: US$0.50 for 1 day, US$7.99 for 30 days, the same price in every country, and the IP stays the same during the lease. Add that IP to the API's allowlist, then send the node's calls through it.

A scraping or data-collection flow that wants many different exits fits rotating residential traffic: the Budget line costs US$1.50 per GB and the Premium line US$5 per GB, and the dynamic lines do not limit concurrent connections. The smallest purchase is 1 GB; there is no free trial.

Set the proxy on one node in 6 steps

  1. Step 1: Get an HTTP proxy

    Buy the IP with HTTP selected, or use rotating residential on its HTTP port 2222. In My assets copy HOST, PORT, USERNAME and PASSWORD (HTTP is port 2222).

  2. Step 2: Add a test node

    Add an HTTP Request node, method GET, URL https://ipinfo.io/json.

  3. Step 3: Add the Proxy option

    Open Options, choose Add option, then Proxy.

  4. Step 4: Enter the URL

    Type http://USERNAME:PASSWORD@HOST:2222. If the node answers 407, the login was not accepted: copy it again from My assets.

  5. Step 5: Execute the node

    Run the node.

    Expected result The JSON shows the proxy's IP and country, not your server's.

  6. Step 6: Copy it to the real node

    Set the same Proxy option on the node that calls your API or target site.

Whole instance: docker-compose environment

services:
  n8n:
    image: docker.n8n.io/n8nio/n8n
    environment:
      - HTTP_PROXY=http://LOGIN:PASSWORD@HOST:2222
      - HTTPS_PROXY=http://LOGIN:PASSWORD@HOST:2222
      - NO_PROXY=localhost,127.0.0.1

Example only: replace LOGIN, PASSWORD and HOST; add your own internal host names to NO_PROXY, then restart n8n.

Timeouts and pacing in scraping flows

The node's Timeout option is in milliseconds, and the n8n source uses 300,000 ms (5 minutes) when you leave it empty, so a stuck request can hold a run for a long time. Set a shorter timeout for scraping steps and let the flow retry.

Batching lets you send a number of items per batch and wait a set number of milliseconds between batches. Use it to pace calls to the target site: the proxy does not cap connections, but the site you call still can.

If the exit is wrong or calls fail

The IP shown is your own

Check Whether the Proxy option is on the node that made the call, and whether a Set or Code node rebuilt the request.

Fix Add Proxy to the exact HTTP Request node; for variables, restart n8n after changing them.

Stop when Still your own IP: run a curl test from the same machine to see if the proxy itself works.

407 or a login error

Check The login copied from My assets, special characters included.

Fix Copy it again; percent-encode characters such as @ or : in the password.

Stop when Same error from curl: open a ticket with the order number.

Timeout or connection refused

Check The host and port, and whether you used an HTTP address (2222), not SOCKS5.

Fix Correct the address; the node field is documented as an HTTP proxy.

Stop when The address is right and curl times out too: check your server's firewall.

Internal calls fail after setting HTTP_PROXY

Check Calls to localhost, your database or other internal services now go through the proxy.

Fix Add those hosts to NO_PROXY and restart n8n.

Stop when They still fail: remove the variables and use the node option instead.

The API still rejects the call

Check Whether the allowlist holds the proxy's IP exactly as ipinfo.io shows it.

Fix Add that IP; do not use your server's own IP.

Stop when Still rejected: ask the API owner which address they see.

n8n proxy FAQ

Where is the proxy setting in the n8n HTTP Request node?

Open the node, then Options, choose Add option and pick Proxy. It takes a proxy URL such as http://host:3128.

Can I set one proxy for all n8n nodes?

On a self-hosted instance, set HTTP_PROXY and HTTPS_PROXY (and NO_PROXY for internal hosts) in the environment and restart. A node-level Proxy overrides them.

Which IP do I need for an API that has an IP allowlist?

One that does not change: a static ISP IP, which stays the same during the lease. Put its address in the allowlist.

Can the node use SOCKS5?

The Proxy field is documented as an HTTP proxy, so use the HTTP address (port 2222). SOCKS5 is not described for that option.

Does it cost anything to test?

There is no free trial. The smallest purchase is one static ISP IP for one day (US$0.50) or 1 GB of rotating residential traffic.

Reference links

4
  1. n8n docs: HTTP Request node

    Official documentation · Confirmed on:

    Read 16 November 2026: Options include Proxy ("use this option if you need to specify an HTTP proxy"), Timeout in milliseconds, Batching (Items per Batch, Batch Interval in milliseconds) and Ignore SSL Issues; the node-level proxy takes precedence over global settings from the HTTP_PROXY, HTTPS_PROXY or ALL_PROXY environment variables.

  2. n8n docs: Deployment environment variables

    Official documentation · Confirmed on:

    Read 16 November 2026: HTTP_PROXY proxies unencrypted HTTP requests, HTTPS_PROXY proxies TLS/SSL requests, NO_PROXY is a comma-separated list of hostnames or URLs that bypass the proxy; handled through the proxy-from-env package, where lowercase variants take precedence over uppercase.

  3. n8n source code: HTTP Request node, version 3

    Official documentation · Confirmed on:

    Read 16 November 2026: the Proxy option is a text field described as "HTTP proxy to use" with the placeholder http://myproxy:3128; when no timeout is set the node uses a default of 300,000 ms (5 minutes).

  4. Proxy302 product facts and price list

    Product observation · Confirmed on:

    Product facts file of the site, checked 16 November 2026: prices in US$ (1 PTC = US$1), lease terms, protocols and ports (HTTP 2222, SOCKS5 3333), what each product connects over, countries and city targeting, no free trial.

Ready to try it?

Create an account, top up once, then pick rotating residential, static ISP or datacenter IPs and have one running in your browser within minutes.