NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Proxies and networking

How many proxies does a scraper need?

Work it out from two numbers: how many requests per hour the job needs, and how many requests one IP can send to that site before it starts meeting limits or challenges.

The formula

Proxies needed = required requests per hour divided by safe requests per hour per IP, plus a margin of 20 to 50 percent for IPs that get slowed down or blocked. The hard part is the second number, because it depends on the site, the IP type and how your scraper behaves. You find it by testing, not by guessing.

A worked example

Say you need 50,000 product pages a day and want the job done in 10 hours. That is 5,000 requests per hour. A test shows that one residential IP can fetch about 300 pages an hour from this site before challenges become frequent. 5,000 / 300 is about 17 IPs; with a 40 percent margin, plan for 24. If the job uses rotating residential proxies billed by traffic, the count of IPs matters less than the rotation policy, but the same arithmetic tells you how many parallel sessions to run.

import math

def proxies_needed(pages_per_day, hours, safe_per_ip_hour, margin=0.4):
    per_hour = pages_per_day / hours
    return math.ceil(per_hour / safe_per_ip_hour * (1 + margin))

print(proxies_needed(50_000, 10, 300))   # 24

Finding the safe rate per IP

Run a single IP against the site at increasing speed: 1 request every 10 seconds, then every 5, then every 2. Watch for 429 replies, challenge pages and slower responses. The safe rate is a step below where those begin. Repeat with two or three IPs, since some ranges are trusted more than others. Sites with strict rate limiting may allow only a few requests per minute per IP; open catalogs may allow several per second.

What changes the answer

  • Proxy type. Datacenter IPs often have a lower safe rate on protected sites than residential ones.
  • Session needs. Flows that need a logged-in or cleared session tie one IP to one session for its lifetime, so concurrency equals the number of sticky IPs.
  • Caching and deduplication. Skipping unchanged pages reduces requests, and with them proxies.
  • Time window. Spreading the job over 20 hours instead of 10 halves the proxy count.

CAPTCHAs as a signal

A rising challenge rate is usually the first sign that each IP is working too hard. You can solve the challenges, and sometimes that is cheaper than adding IPs, but a sudden jump means the site has noticed you. Track the share of pages that return a challenge per IP. If it climbs, spread the load over more IPs or slow down. When challenges do appear, a token task such as Cloudflare Turnstile solves under 3 seconds and costs $0.84 per 1,000, which helps you weigh solving against buying more proxies.

Small jobs need fewer than you think

A job of a few thousand pages a day against a lightly protected site may need no proxies at all, or a handful of datacenter IPs. Start small, measure, and add proxies when the data says so. Buying a large pool up front often hides scraper problems, such as missing headers, that would cause blocks with any number of IPs.

Keep the pool healthy

Track per-IP success rate, latency and challenge rate, and retire IPs that fall behind. Rotate rested IPs back in after a cool-down. The guides on IP rotation and large scale proxy setup describe pool management, and avoiding IP bans lists habits that let each IP do more.

Write the numbers from your test into the job's config: requests per hour, safe rate per IP, margin. When the site changes and challenges rise, you rerun the test and update one line, instead of rediscovering the method.

Common questions

Is one proxy enough for a small scraper?

Often yes, or none at all, if the site is lightly protected and you keep the request rate modest.

How do rotating proxies change the count?

You pay for traffic rather than IPs, so plan the number of parallel sessions and the rotation policy instead.

What margin should I add?

Between 20 and 50 percent, depending on how often IPs get slowed or blocked on your target.

Do more proxies mean fewer CAPTCHAs?

Spreading load lowers the rate per IP, which usually reduces challenges, but headers and behavior matter too.

Should every worker have its own proxy?

For session based flows, yes; for stateless page fetches, workers can share a rotating pool.

Keep reading