A technical guide to architecting and shipping AI agents that act on live web data — covering tool design, failure modes, and production dec

Throughput Guarantees and Concurrency Contracts Agents Should Demand From Bulk Scraping APIs

Five contract terms decide whether a scraping API's advertised capacity is usable.

· 8 min read
Cover illustration for “Throughput Guarantees and Concurrency Contracts Agents Should Demand From Bulk Scraping APIs”
Tool and API Design · November 13, 2026 · 8 min read · 1,821 words

The best web scraping API for an agent workload is one that makes concurrency, queue behavior, timeouts, rate-limit signals, and failure costs explicit. This article explains those five guarantees and why they determine usable throughput. For JavaScript rendering, dynamic content, and protected sites, the buying decision also needs to account for browser capacity and what blocked requests cost.

Why agent workloads break the assumptions scraping APIs were built around

When people drive the scraping, they usually work through pages one after another. Traditional batch pipelines also tend to organize work sequentially, while agent fleets run many sessions at once. Even when each agent works in sequence, the fleet needs to run work in parallel. These workloads are low-bandwidth and high-concurrency by design.

That changes which specifications govern pipeline success. Concurrent session limits determine how much work can run, queue depth determines how much can wait, and waiting work expires when it exceeds the timeout. A generous request allowance does not resolve any of those constraints. The structural gap is that agents need these operating terms up front, while vendor offerings were not built to surface them clearly.

How vendors obscure the specs that actually govern agent throughput

Requests per minute is a friendly number to advertise. It suggests room for bursts, but only if a separate concurrency cap does not prevent those bursts from running. Vendors also express limits as queries per second, requests per hour, concurrent sessions, daily caps, and lifetime-spend tiers. These units measure different limits, so their raw numbers do not show whether they allow the same amount of work.

Perplexity ties usage-tier advancement to cumulative lifetime API spend, with tiers that never downgrade. Billing introduces another mismatch. A request can cost one credit while counting as multiple rate-limit units, so a pipeline can remain within budget and still receive 429 responses.

Brave documents X-RateLimit-Limit, X-RateLimit-Policy, X-RateLimit-Remaining, and X-RateLimit-Reset on every API response, while most providers leave clients to count or guess. Standard tiers at most direct API providers also lack uptime SLAs, although Amazon Bedrock and Azure OpenAI publish standing SLAs outside enterprise tiers.

What concurrency contracts actually look like across providers

Some providers publish how many concurrent threads each plan allows, along with rules for queue depth and queue timeout. Those contracts can specify that a full queue produces a 429. They may also count queue time against the request timeout. Waiting then consumes the time available for scraping. A job can expire before it runs, making the advertised scrapes-per-minute figure incomplete without the concurrent browser count and waiting rules.

ScrapingAnt removes concurrency caps across all paid plan tiers, including entry-level paid plans, while its free plan permits one concurrent request. Its cluster allocates browsers and proxies per request rather than using a shared pool governed by a per-plan cap. Most entry-plan rivals cap simultaneous requests roughly between 5 and 25. The planning constraint is therefore different. Without a plan-level concurrency cap, credit volume becomes the binding limit rather than the number of paid requests allowed to run together.

DataImpulse structures concurrency at the proxy layer, with a large residential pool, a high default thread allowance raisable on request, and per-GB pricing without a separate per-connection fee. This contract structure requires separate evaluation from a scraping API promise. API capacity and proxy capacity each have their own limits. A limit at either layer restricts the whole operation, while run-start throttles can independently restrict how many runs begin per second. None of these terms alone establishes which service handles a particular site's rendering or blocking behavior best.

Why multi-worker deployments make client-side rate limiting fail silently

A local rate limiter sees only the work in its own process. When several workers each obey the same per-second allowance, their combined traffic can exceed the upstream limit even though every worker appears compliant. No individual process needs to behave unusually. The shared quota is exhausted by their sum, so 429 responses can arrive without a local alarm explaining the burst.

A bounded thread pool is the minimum safe starting point for controlling concurrent work within a process. But pools in separate processes do not share a limit. The practical fix is a distributed semaphore or rate limiter that every worker consults, sized to the plan's published concurrent session allowance. A request-rate limit and a concurrent-session limit are not the same thing.

Timeouts need their own control as well. An executor does not impose a network timeout, so the actual HTTP read needs one separately. Otherwise, limiting the number of workers does not limit how long a worker can remain occupied. Keeping failed URLs shows which work is unfinished, so a batch that only partly succeeded does not look complete.

How throughput constraints become a data correctness problem for GTM and enrichment pipelines

For sales and contact enrichment, delayed collection changes the usefulness of the result. Pricing pages, job postings, press mentions, and product pages change while a throttled pipeline works through its backlog. A public price replaced by “contact us” is a signal that slow monitoring can miss. Speed therefore affects more than delivery time. A pipeline can return successfully while giving the CRM an outdated picture of the source.

For relatively stable sources such as a competitor's pricing page, scheduled extraction with diffing against the previous pull is the recommended pattern. For noisier blogs and news, raw text extraction followed by LLM structuring handles variation better than imposing a schema during collection. The recency needed for data to remain actionable sets the minimum viable throughput requirement.

Available concurrency does not guarantee affordable freshness either. With weighted credit pricing, charges for JavaScript rendering and residential proxies can multiply the cost of a base request. Those charges can make a mixed workload run out of budget while it still has sessions to spare. That is a separate bottleneck to evaluate. Browser access, proxy access, and credits have to support the required collection cadence together.

The five guarantees agents should require before committing to a bulk scraping API

First, require published concurrent session limits for each plan on the pricing page. Coverage of both the scraping API and the underlying proxy pool is necessary to assess concurrent session limits. The buying decision needs a stable commitment. A number disclosed only through a support conversation does not provide that stability. Ask whether excess work is rejected or queued, because services with the same session allowance can behave very differently under load.

Second, require documented queue depth and queue-full behavior for the chosen plan. The documentation should give the maximum queue size and queue timeout and say whether waiting counts against the request timeout. Require an immediate 429 when the queue is full. Agents need a failure they can recognize. Those terms also give the team enough information to set task deadlines that account for waiting as well as processing.

Third, require a clear timeout contract that states which error responses to expect. Look for the timeout value, the returned error code, and whether a timed-out request consumes credits. A generic timeout is not enough information. A slow page, a dead endpoint, and a provider-side outage call for different retry decisions, so the documented behavior must make clear what the response means.

Fourth, require rate-limit response headers on every 429, including X-RateLimit-Remaining and Retry-After. Ask to see the documented response fields rather than accepting a general promise that rate limits are handled. Remaining capacity and a retry delay let the client adjust its pace without repeatedly testing a closed gate. Without Retry-After, a fixed delay can either waste available throughput or retry too soon and extend a penalty window.

Fifth, require the terms or pricing page to spell out the failure-cost policy. Ask explicitly whether failed, blocked, and timed-out requests consume no credits, partial credits, or full credits. Failed attempts can still drain a budget. On protected targets, the charge for unsuccessful retrieval directly affects the economics of managed versus self-managed infrastructure. A support FAQ is not a substitute for stable terms covering the pages the service cannot retrieve.

How MCP's stateless server model changes what high-concurrency scraping infrastructure can look like

The MCP 2026-07-28 release candidate introduced fully stateless servers at the protocol layer. This removes the protocol requirement for sticky routing and shared session stores, allowing tool servers to scale horizontally like other HTTP services. That changes the infrastructure available for concurrent scraping tools. More tool-server capacity no longer depends on preserving a client's route to one server, removing a source of fragility in high-concurrency deployments.

Transport migration is part of that architectural shift. The legacy HTTP+SSE transport was deprecated as of March 2025, and Atlassian set June 30, 2026 as its stated cutoff. A stated cutoff should not be confused with evidence of enforcement. The migration pattern is provider-flag-based rather than a wholesale rewrite, which changes how teams can assess its cost. Separately, tool descriptions affect scraping cost because clear descriptions help the model choose the right tool on its first call.

Statelessness does not erase an upstream service's restrictions. An MCP server can spread incoming work across more instances, but they all still share the same scraping API allowance. An undisclosed cap remains an undisclosed cap after integration. The five guarantees therefore apply directly to MCP-exposed scraping tools, with shared client controls needed across the horizontally scaled service.

What to build on the client side while vendor contracts remain incomplete

Most providers do not yet publish all five guarantees. Until they do, the client needs defensive controls that survive multi-worker deployment rather than relying on each process to behave politely. Put the shared semaphore check before dispatch. A check made after a request is sent comes too late to prevent the burst it has already joined. The shared allowance should match the published plan limit, while the worker pool and HTTP timeout control how work runs within each process.

Use AIMD adaptive concurrency to adjust below that allowance. Add one concurrent worker after a streak of successful responses below a utilization threshold, and halve the worker count immediately on any 429. Respect Retry-After whenever it is available. When it is not, apply exponential backoff.

Keep per-target throttling separate from global concurrency control. That allows work across many targets to remain concurrent without exceeding polite per-site limits and wasting capacity on blocked retries. Preserve failed and timed-out URLs as explicit error records, including cases where an HTTP 200 response contains an error page. Status alone does not establish successful retrieval. Downstream systems need to know which records are missing.

Use the share of tasks that finish without rate-limit-induced failure as the main service-level objective. Use the rate-limit error ratio on outbound calls as an early warning, with a sustained rise above a small threshold indicating overly aggressive pacing. Bring those measurements into vendor discussions. Ask the provider to connect observed failures to its documented limits, recovery signals, and charges. The provider's ability to make those commitments contractually distinguishes its offering.

More in Tool and API Design