Skip to content
Independent guides for support teamsHow we work
Support SystemsJournal

The software.
The decisions.
The people behind support.

Integrations and Data

Planning Support API Work Around Rate Limits

Build a request budget that accounts for shared limits, bursts, batching, retries and queue age, with a checkable capacity worksheet.

Wooden blocks and a clock beside a laptop
AI-generated editorial illustration.

An API budget should answer two questions: how much work must finish, and how quickly the platform permits that work to arrive. An hourly average can look comfortable while a short burst exceeds a per-minute limit. A useful plan therefore combines request counts, the actual limit windows, shared consumers, retries and the age of waiting work.

Start with the current documentation and contract for your plan and endpoints. Limits can be scoped to an account, application, credential, endpoint or concurrent job. Bulk operations may have separate limits. Record the scope instead of assuming that every endpoint receives an independent allowance. Where documentation is unclear, ask the provider and keep the workflow conservative while validating it; an observed ceiling is not a contractual entitlement.

Count requests against the system that receives them

Suppose an order-context workflow makes one request to an ecommerce API and one request to a support API for each new ticket. At 300 tickets per hour, that produces 300 requests per hour to each API, not 600 requests to the support endpoint. If a workflow also needs a user lookup or a second update, list that additional request explicitly.

Count pagination, polling, retries and background jobs as well as the visible action. One export operation may involve many requests. A batch endpoint may reduce HTTP requests while still charging quota per object or consuming an asynchronous-job allowance. Confirm its rules before assuming that ten records in one call reduce billable or limited usage by 90%.

A request-budget worksheet

The following figures are hypothetical. They assume a shared account allowance of 100 requests per minute, with all listed calls charged once against that allowance. The team reserves 20 requests per minute as planning headroom and schedules work at up to 80. The actual provider may use a different window or burst model, so these values are not recommendations for a particular product.

Workload Baseline requests per hour Sale scenario per hour Assumption
Order-context writes 1,200 2,400 Ticket volume doubles; one support write per ticket
CRM context updates 600 600 Independent workload remains unchanged
Reporting reads 1,200 1,200 Scheduled work remains unchanged
Total planned work 3,000 4,200 Excludes retries, which use reserved headroom

If the allowance is sustained for a full hour, 100 × 60 gives a theoretical ceiling of 6,000 requests. The chosen planning rate gives 80 × 60 = 4,800. Baseline work consumes 3,000 / 6,000 = 50% of the theoretical ceiling; the sale scenario consumes 4,200 / 6,000 = 70%. The sale scenario leaves 600 requests below the planning budget, but this does not guarantee that any particular minute fits.

Add a second worksheet for peak intervals and other limits. For example, a 50-request-per-minute export endpoint constrains its own requests even when the account has spare capacity. An endpoint ceiling and a shared-account ceiling both apply; passing one does not override the other.

Control the dispatch rate and concurrency separately

Concurrency is the number of requests in flight. Rate is how many start during a period. One fast worker can exceed a rate limit, while several slow requests can remain below it. Use a shared rate-control mechanism for each relevant limit scope and a separate concurrency cap to protect connections and server capacity.

For a simple pacing example, starting one request every 1.5 seconds averages 40 starts per minute. At that pace, 2,400 requests require about 60 minutes of dispatch time, before allowing for outages, retries or additional bottlenecks. That arithmetic is not a guarantee that a fixed or rolling window will accept every request. Respect the provider’s specified window, observed headers and other consumers of the same allowance.

Coordinate multiple applications that share a limit. A scheduler that budgets 80 requests per minute for itself can still overload a 100-request allowance if another integration sends 40. Reserve capacity for essential customer work and make lower-priority jobs aware of current availability.

Retry without turning a queue into a storm

When the provider returns a rate-limit response, follow its documented handling of Retry-After or reset information. Retry-After can use a delay or an HTTP date, depending on the protocol and provider. Do not schedule an earlier retry because a random jitter value reduced the required wait. Add suitable randomized delay after any mandated minimum where appropriate.

Use bounded attempts and a maximum work age, then send exhausted work to a visible recovery queue. A fixed three-attempt rule is not right for every workflow. An expired credential, invalid request or denied permission needs investigation; retrying the same request indefinitely is not a repair. Some transient server failures are retryable, but writes also need a strategy for an uncertain prior outcome.

Use supported idempotency or conditional-write behavior for operations that could otherwise duplicate side effects. Do not assume every API accepts an idempotency-key header. Where it does not, define reconciliation and an explicit hold for ambiguous results. Never rotate credentials or accounts to evade a provider’s intended limit.

A checkable batching scenario

Return to the fictional sale workload of 4,200 requests per hour. Suppose the provider confirms that an eligible batch endpoint accepts ten order-context updates per call, charges one request per batch, and has sufficient job capacity. The 2,400 individual order writes become 240 batch calls. With 600 CRM requests and 1,200 reporting requests unchanged, the new planned total is 2,040 requests per hour.

The order-write request count falls by 2,160 / 2,400 = 90%. The total planned count falls by 2,160 / 4,200, or about 51.4%. Those percentages apply only to this stated model. They exclude status polling, failed items and any additional calls required by the batch API. Check partial failures per item; a successful batch submission does not necessarily mean every update completed.

If batching is unsupported or unsuitable, defer lower-priority reporting, reduce unnecessary reads through approved caching, or spread the work over more windows. Moving a job helps shared capacity only when it actually competes for that capacity. Do not delay customer-critical work merely to achieve a tidy hourly utilization figure.

Measure queue age, not just response codes

A system can avoid all rate-limit responses by sending almost nothing, yet still fail its users. Track the oldest pending item, completion delay by priority, retry volume and unresolved failures. Define which workflows can wait and how long. Ensure lower-priority work eventually runs instead of being permanently starved by a busy high-priority queue.

Test with realistic bursts and all shared consumers in a safe environment whose limits are understood. Include a rate-limit response, a slow endpoint, a temporary outage, an uncertain write result and a partially failed batch. A quiet test with zero 429 responses is useful evidence, but it does not prove that production capacity is unlimited or that all records arrived.

For incremental exports, retain the documented cursor only at the appropriate processing boundary and account for that endpoint’s change-capture delay. Different providers have different lag and retention rules. Check completeness through reconciliation suited to the exported objects; a random 10% sample cannot certify that every update was captured.

Keep the budget current

Assign an owner to update the worksheet when ticket volume, plan, endpoints or integrations change. Record measured requests per operation, peak-window usage, shared consumers, retry overhead and the chosen reserve. Revisit the reserve after real incidents rather than treating 20% as a universal safety margin.

The final acceptance criteria should cover both limits and service: essential work completes within its agreed delay, writes are recoverable, exhausted work has an owner, and every applicable allowance is respected. The purpose of capacity planning is reliable support, not maximizing requests or hiding a growing backlog behind a successful HTTP status.

Have a question or a correction?

Contact the editorial team