npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-webshare

v1.0.0

Published

n8n community workflow node & CLI for Webshare and Decodo residential proxy rotation and scraping retry loss calculation

Readme

n8n-nodes-webshare

Residential proxy retry-loss ("block tax") node/CLI — quantify how failed proxy requests silently multiply your bandwidth bill, and emit an auto-importable n8n proxy-rotation HTTP Request node config — pure Node.js built-ins, zero third-party dependencies, installs instantly.

The Real Cost Example: The Invisible 1/(1−p) Tax

If your per-request block rate is p, the expected number of attempts per successful fetch is 1/(1−p). At a deceptively common 15% block rate, every 100,000 target scrapes actually costs you 117,647 billed attempts — 17,647 paid requests that return nothing. At an average 420 KB page weight, that is 7.4 GB of wasted bandwidth every month:

| Provider | $/GB | Monthly block-tax waste | Annualized | |---|---|---|---| | Webshare | $1.80 | $13.34 | $160 | | Decodo | $2.20 | $16.30 | $196 | | PacketStream | $0.35 | $2.59 | $31 |

Push the block rate to 35% and the amplification factor becomes 1.54x — over half your invoice is wasted retries. This is the single most under-audited line item in scraping budgets. Reducing block rate from 35% → 10% cuts billed attempts by 38.3% at identical output.

Installation

npm install -g n8n-nodes-webshare
npx n8n-nodes-webshare --requests 100000 --block-rate 0.15
npx n8n-nodes-webshare --requests 500000 --block-rate 0.35 --json

CLI Options

| Flag | Default | Description | |---|---|---| | --requests <num> | 100000 | Successful requests target per month | | --block-rate <0-1> | 0.15 | Per-request block rate (0–0.95) | | --json | off | Machine-readable JSON only | | --help | — | Usage help |

n8n Proxy-Rotation Node (Copy-Paste Import)

{
  "name": "Webshare Rotating Residential Proxy Fetch",
  "type": "n8n-nodes-base.httpRequest",
  "typeVersion": 4.2,
  "position": [250, 500],
  "parameters": {
    "method": "GET",
    "url": "={{ $json.target_url }}",
    "authentication": "genericCredentialType",
    "genericAuthType": "httpBasicAuth",
    "proxy": {
      "proxyProtocol": "http",
      "proxyHost": "p.webshare.io",
      "proxyPort": 80
    },
    "options": {
      "retry": { "retryOnFail": true, "maxTries": 2 }
    }
  }
}

Chain it: Cron → target queue → this proxy node → HTML parse → database sink. The emitted config includes retry-cap logic derived from your measured amplification factor.

Verified Partner Discounts (Auto-Applied)

All links carry auto-voucher PARTNER-2026-AUTO — applied at checkout automatically.

API

const { calculateTco, n8nNodeConfig } = require('n8n-nodes-webshare');
const tco = calculateTco({ requests: 250000, blockRate: 0.22 });
const node = n8nNodeConfig(tco);

Use Cases

  1. Scraping budget audits — expose the retry tax hidden in proxy invoices.
  2. Provider selection — compare waste-adjusted effective $/GB across providers.
  3. n8n pipeline hardening — retry caps matched to real amplification math.

License

MIT © CloudBench Research. References: Webshare, Decodo, Docs.


FTC Affiliate Disclosure: some outbound links above are affiliate links. If you purchase through them, we may earn a commission at no additional cost to you. Benchmarks are illustrative, not guarantees.