Docs menu
Docs Reference
Node-RED
Fetch pages in a Node-RED flow through residential, datacenter or mobile IPs, with location targeting and sticky IPs.
Last verified: October 2026What it does
The @proxmint/node-red package adds a proxmint fetch node to Node-RED. Send it a message with a URL and it sends out the page as readable text or raw HTML, with the status code, headers, final URL and title.
Requests go straight from Node-RED to the gateway, from the IPs and location you pick, and use the bandwidth of your own product. The node is listed in the Node-RED flow library; the source is on GitHub and the package on npm (download counts on npmtrends).
Install and connect
In Node-RED, open Menu > Manage palette > Install and search for @proxmint/node-red. Or install it in your Node-RED user directory and restart Node-RED:
Create an API key under Settings in the dashboard (the same read-only key the customer API uses). Then add a proxmint fetch node, open it, add a Proxmint account, pick the product and paste the key. The key looks up that product’s proxy login, so there is nothing else to copy. You can enter the proxy username and password from your product page instead.
Needs Node-RED 4 or later and Node.js 20 or later.
Use it in a flow
For a ready flow, import Menu > Import > Examples > @proxmint/node-red > Fetch a page from another country: an inject node, the proxmint fetch node and a debug node. Or set the URL and country per message:
The node reads these message properties:
| Property | What it does |
|---|---|
msg.url | The page to fetch, when the node has no URL set. |
msg.country | Exit country for this message as a two-letter code. A country other than the node's drops its state, city, ZIP and ASN. |
And sends out:
| Property | What it is |
|---|---|
msg.payload | The page as readable text, or the raw HTML. A file that isn't text comes back as a buffer. |
msg.statusCode | The site's HTTP status. |
msg.headers | The site's response headers. |
msg.responseUrl | The final URL, after up to 5 redirects. |
msg.title | The page title, for HTML pages. |
msg.truncated | true when the page was cut at Max characters. |
When the gateway refuses a request, for example because the product is out of bandwidth or no IP matches the targeting, the node reports an error with the reason and what to change, and a catch node can pick it up. The error codes page lists them all. The site’s own answers, a 404 included, come out as normal messages.
Settings
| Setting | Default | What it does |
|---|---|---|
| Country | any | Exit country as a two-letter code. |
| State, City, ZIP, ASN | none | Finer targeting inside the country. Needs a country. |
| Sticky IP | 0 | Keep one exit IP for 1 to 120 minutes. 0 gives every message a new IP. |
| Output | Readable text | Readable text, or the raw HTML. |
| Max characters | 50000 | Longer pages are cut here. |
| Timeout | 60 | Seconds per request. |
Good to know
- State, city, ZIP and ASN targeting can meter at twice the bandwidth; the targeting page says which products.
- Pages load over the destination ports the network forwards, which cover the usual web ports (see port access). A short list of sites is refused outright (see blocked websites).
- Each product allows up to 2,000 concurrent connections, so a flow can fetch several pages at once.
- The node does not run JavaScript. It returns what the server sends.