Skip to content

About

Zero-dependency Python CLI that measures the real cost of proxies and anti-bot walls: usable-response rate, the 403 retry tax and effective cost per 1,000 clean pages.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

check-proxy-tax

Audit the real cost of scraping proxies, 403 blowout multipliers, and effective price per 1,000 usable requests.

PyPI version Python 3.8+ Zero dependencies License: MIT

⚡ The Quick Verdict & 2026 Tier-by-Tier Checkout Matrix (TL;DR)

Provider & Plan Tier Monthly / Unit Price Annual / Promo Rate Included Volume Verified Promo Code / Offer Direct Checkout / Trial
ScraperAPI — Free Trial $0 (7 days) $0 5,000 API Credits No credit card required Start 5,000-Credit Trial →
ScraperAPI — Hobby Plan $49.00/mo $44.10/mo (10% OFF) 100,000 API Credits Code START10 (10% off 1st mo) Get Hobby Plan →
ScraperAPI — Startup Plan $149.00/mo $134.10/mo (10% OFF) 1,000,000 API Credits Code START10 + 10% Annual OFF Get Startup Plan →
Decodo (Smartproxy) — Pay As You Go $3.50/GB Pay-per-GB (no lock-in) 125M+ Residential IPs Code HELLODECODO (50% OFF) Get Decodo PAYG →
Decodo (Smartproxy) — 100GB Growth $275.00/mo $200.00/mo ($2.00/GB) 100 GB Residential Pool Code HELLODECODO + RESI50 Get 100GB Growth Plan →
IPRoyal — Non-Expiring Residential $3.50/GB (10 GB) $1.75/GB (Bulk 50% OFF) Traffic never expires 50% OFF Auto-Applied via Partner Link Get Non-Expiring GB →

FTC Disclosure: Benchmark links may include affiliate tracking. Some outbound vendor links (via go.272738.xyz, such as ScraperAPI, Decodo/Smartproxy, IPRoyal, 9Proxy, Pawns.app, and PacketStream) are affiliate links that may earn a commission at no extra cost to you.

Proxy invoices are priced per gigabyte, per IP, or per nominal request. Your production pipelines are not paid in raw network attempts; they are paid in responses they can actually parse and use.

When an edge gateway returns 403 Forbidden, stalls on Cloudflare challenges until connection timeout, or returns HTTP 200 containing an empty consent screen, your provider still bills you for the bandwidth or request slot. The financial gap between advertised unit prices and the true cost of usable data is The 403 Tax.

check-proxy-tax is a zero-dependency CLI diagnostic tool that measures this tax empirically under real concurrent network conditions.


The Economics: Advertised Rates vs. True Usable Cost

Real-World Loss Scenario

Consider an e-commerce price monitoring or search scraping pipeline targeting 10,000,000 monthly requests:

  • Advertised Nominal Price: $0.49 per 1,000 requests ($490 / month).
  • Observed Usable Rate: 70% (25% HTTP 403 blocks + 5% timeout/captcha drops).
  • Required Total Attempts: 10,000,000 / 0.70 = 14,285,714 requests.
  • Actual Billed Invoice: 14,285,714 * $0.00049 = $700.00.
  • The Monthly 403 Tax: $210.00 cash wasted directly on blocked attempts (a 1.43x price blowout), plus downstream worker compute idling and retry queue latency.

At enterprise scale (100M+ monthly requests or residential GB pipelines), a 35% block rate burns tens of thousands of dollars annually in silent retry tax.

usable_pct            = usable_count / total_requests * 100
effective_cost_per_1k = nominal_price_per_1k / (usable_pct / 100)
tax_multiplier        = effective_cost_per_1k / nominal_price_per_1k

2026 Residential & Scraper Provider Benchmark (5-Tier Comparison)

Below is the verified price and 403-Tax sensitivity matrix across the top 6 residential proxy and scraping API providers. Use the verified gateway jump links to access current volume discounts and free trial pools.

Provider Core Strength Tier 1 (Starter) Tier 2 (Growth) Tier 3 (Pro) Tier 4 (Business) Tier 5 (Enterprise) Verified Gateway
Decodo (Smartproxy) 65M+ Residential IPs, 99.9% uptime, City targeting $4.50 / GB $3.50 / GB (25 GB) $2.80 / GB (100 GB) $2.20 / GB (500 GB) $1.80 / GB (1 TB+) Explore Decodo Tier Plans
IPRoyal Non-expiring residential traffic & static ISP proxies $3.50 / GB (10 GB) $2.80 / GB (50 GB) $2.45 / GB (100 GB) $1.75 / GB (Bulk 50% OFF) Custom Non-Expiring Pool Explore IPRoyal Tier Plans
ScraperAPI Zero-block unblocker API, handles JS rendering & CAPTCHAs $49 / mo (100k API reqs) $149 / mo (1M API reqs) $299 / mo (3M API reqs) $999 / mo (14M API reqs) Dedicated Edge Endpoints Explore ScraperAPI Tier Plans
9Proxy Clean residential pool, pay-per-IP without monthly expiration $0.20 / IP (Starter 100 IPs) $0.15 / IP (500 IPs) $0.11 / IP (1,000 IPs) $0.08 / IP (5,000 IPs) $0.05 / IP (10,000+ IPs) Explore 9Proxy Tier Plans
Pawns.app 100% peer-to-peer real residential ethical consumer devices $3.00 / GB $2.50 / GB (10 GB) $2.00 / GB (50 GB) $1.50 / GB (200 GB) Custom Bulk Matrix Explore Pawns.app Tier Plans
PacketStream Distributed peer-to-peer residential traffic sharing network $1.00 / GB flat $1.00 / GB (20 GB) $1.00 / GB (100 GB) $1.00 / GB (500 GB) Reseller Bulk Bandwidth Explore PacketStream Tier Plans

Effective Cost Multiplier Table (Per 1 Million Usable Requests)

Assuming a baseline nominal target rate of $0.50 per 1,000 requests ($500.00 / 1M nominal requests):

Observed Block Rate Usable Success Rate Tax Multiplier Billed Attempts Needed True Effective Cost / 1M Usable 403 Waste Tax
0% (Clean Edge) 100% 1.00x 1,000,000 $500.00 $0.00
10% 90% 1.11x 1,111,111 $555.56 +$55.56
20% 80% 1.25x 1,250,000 $625.00 +$125.00
30% 70% 1.43x 1,428,571 $714.29 +$214.29
40% 60% 1.67x 1,666,667 $833.33 +$333.33
50% (Degraded Edge) 50% 2.00x 2,000,000 $1,000.00 +$500.00 (100% Surcharge!)

Installation

check-proxy-tax is packaged as a pure Python wheel with zero external dependencies. Requires Python 3.8+.

pip install check-proxy-tax --upgrade

Or from a local checkout: pip install .

Verify the installation:

check-proxy-tax --version
# check-proxy-tax 1.1.0

CLI Usage & Quick Start

1. Basic Single-Endpoint Audit

check-proxy-tax \
  --url "https://target-domain.com/product/123" \
  --requests 30 \
  --concurrency 4 \
  --marker "In Stock" \
  --price-per-1k 0.49

Output:

check-proxy-tax 1.1.0 - proxy economics audit

+---------------------+------------------------------------------+
| METRIC              | VALUE                                    |
+---------------------+------------------------------------------+
| Target URL          | https://target-domain.com/product/123    |
| Samples             | 30 (concurrency 4, timeout 10s)          |
| Marker              | In Stock                                 |
| Usable success      | 21 / 30                                  |
| Blocked / failed    | 9 / 30                                   |
| Usable rate         | 70.0%                                    |
+---------------------+------------------------------------------+
| Nominal price / 1k  | $0.4900                                  |
| Effective cost / 1k | $0.7000                                  |
| Tax multiplier      | 1.43x                                    |
+---------------------+------------------------------------------+
| Latency p50         | 218.4 ms                                 |
| Latency p95         | 1780.2 ms                                |
| Total transferred   | 1.84 MB (1,932,104 bytes)                |
| Status codes        | 200:21, 403:7, timeout:2                 |
| Blocked reasons     | http_403:7, timeout:2                    |
| Verdict             | DEGRADED - 9 of 30 requests blocked      |
+---------------------+------------------------------------------+

Benchmark & provider matrix: https://scrape.mybskm.top/?utm_source=cli&utm_content=check-proxy-tax

2. Compare 2026 Provider Pricing (--compare-providers)

Inspect the built-in 2026 benchmark cost comparison table across the top 6 residential and scraping networks:

check-proxy-tax --compare-providers

3. Machine-Readable JSON Output for CI/CD

Integrate directly into your scraping infrastructure or deployment gates:

check-proxy-tax \
  --url "https://target-domain.com/api/v1/catalog" \
  --requests 50 \
  --price-per-1k 0.50 \
  --json

JSON Output Schema:

{
  "tool": "check-proxy-tax",
  "version": "1.1.0",
  "url": "https://target-domain.com/api/v1/catalog",
  "marker": null,
  "requests": 50,
  "concurrency": 4,
  "timeout_seconds": 10.0,
  "proxy_configured": false,
  "nominal_price_per_1k": 0.5,
  "usable_count": 35,
  "blocked_count": 15,
  "usable_pct": 70.0,
  "effective_cost_per_1k": 0.7142857142857143,
  "tax_multiplier": 1.4285714285714286,
  "cost_status": "finite",
  "latency_ms": {
    "p50": 218.4,
    "p95": 1780.2,
    "min": 145.1,
    "max": 2410.8
  },
  "total_bytes": 3210450,
  "status_counts": {
    "200": 35,
    "403": 12,
    "timeout": 3
  },
  "blocked_reasons": {
    "http_403": 12,
    "timeout": 3
  },
  "exit_code": 1
}

Exit Codes for Automated Gateways

Exit Code Classification Meaning
0 PASS 100% of sampled requests were usable HTTP 200 with matching marker.
1 DEGRADED Partial delivery: 1+ requests failed or were blocked by edge firewalls.
2 FAILED Zero usable responses (complete block or infinite tax).
3 USAGE Invalid command-line arguments or malformed target URL.

Use exit code 0 in your deployment gate to ensure proxies are warming up properly before routing production traffic.


Options Reference

usage: check-proxy-tax [-h] --url URL [--requests N] [--marker STRING]
                       [--price-per-1k FLOAT] [--proxy URL] [--concurrency N]
                       [--timeout SECONDS] [--compare-providers] [--json]
                       [--version]

options:
  -h, --help            show this help message and exit
  --url URL             absolute http(s) URL to probe
  --requests N          sample size (default: 20)
  --marker STRING       string that must appear in the body to count as usable
  --price-per-1k FLOAT  nominal USD price per 1,000 requests (default: 0.49)
  --proxy URL           HTTP(S) proxy URI (http://user:pass@host:port)
  --concurrency N       maximum in-flight requests (default: 4)
  --timeout SECONDS     per-request socket timeout in seconds (default: 10.0)
  --compare-providers   display 2026 proxy benchmark pricing and tax comparison table
  --json                emit single JSON object for pipelines and dashboards
  --version             show program's version number and exit

License

MIT License. Copyright (c) 2026 CloudBench Contributors.


🌐 Official Documentation, Docker Image & Web Calculators

About

Zero-dependency Python CLI that measures the real cost of proxies and anti-bot walls: usable-response rate, the 403 retry tax and effective cost per 1,000 clean pages.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages