Deposit $50.00 or more and get 25% extra balance, until Dec 5, 2026.

Create an account
PiratProxies

Proxies for Node.js

Node's built-in fetch does not read proxy settings by itself, but the undici ProxyAgent adds one in a line, with the username and password in the URL.

Our pick for Node.js

Residential Lite

$0.60 per GB

Setting
A new IP on every request
Targeting
Country
Protocols
HTTP and SOCKS5

Get Node.js proxiesAbout Residential Lite

How to set it up for Node.js

A new IP on every request. Leave the session out of the username, and every request leaves from a different address in the country you choose.

Other proxy types that work

Start with our pick. If Node.js still blocks or challenges you, move to the next type in the list; if it works, you can try the cheaper option for bulk work.

Steps

  1. Buy the smallest Residential Lite plan, one gigabyte, to test with Node.js. Pay by card or crypto; the plan is delivered by itself, usually within a minute.
  2. Open the plan in your dashboard and copy the ready-to-paste line, or make a list in the generator with the country you need.
  3. Paste it into your Node.js code or settings, and press the test button on the plan page to see the IP and country.
  4. Run a small job on Node.js first. If it works, top up the same plan and keep the login; if it is blocked, try the next proxy type above.

A proxy changes where your traffic comes from. It does not change Node.js's rules: follow its terms and the law, and our acceptable use policy applies to every plan.

Questions about proxies for Node.js

Which proxy is best for Node.js?

Residential Lite, set to a new ip on every request. Node's built-in fetch does not read proxy settings by itself, but the undici ProxyAgent adds one in a line, with the username and password in the URL.

How do I use a proxy with fetch in Node.js?

Install undici and pass a ProxyAgent as the dispatcher option.

Can I rotate IPs in Node.js?

With a rotating plan, every new connection already gets a new IP.

More in scraping tools and code

All websites and tools · Setup guide and code examples

Test it on Node.js for cents

Start with the smallest Residential Lite plan and run your own job through it before you buy more.

Buying in volume? Contact sales

Get Node.js proxiesSee prices