A stock integration falls behind during a busy morning. The supplier says it hit a rate limit. Should it wait, slow down, stop accepting work or ask someone to intervene? And can staff still use the application while that integration catches up?
Agree those answers before accepting an integration. A useful API rate-limit checklist defines whose requests share a budget, how waiting work is bounded and what evidence shows that recovery did not overwhelm the service again.
HTTP status 429 means that a user has sent too many requests in a given amount of time. The standard allows a Retry-After header, but does not require it or prescribe how the server identifies users and counts requests.[2] A response code is therefore a starting point, not the whole operating agreement.
This guide is a planning framework for a proposed business integration. The stock-sync example is fictional. Every acceptance case below is Not run; none is evidence of a tested application or a particular provider's limits.
Define the API request budget before choosing retries
Ask the supplier to describe each applicable limit in plain language:
- Scope: per account, organization, credential, endpoint or another documented boundary.
- Measurement: the counting window, any burst allowance and what consumes it.
- Shared use: whether background synchronization and interactive staff requests compete for the same budget.
- Exhaustion: what the application does when it cannot make another permitted request.
- Ownership: who maintains the agreed settings when the upstream service changes its rules.
These are proposed buying questions, not universal API behavior. RFC 6585 deliberately leaves counting and user identification open, including examples of per-resource and server-wide limits.[2] Verify the actual provider's current documentation rather than copying a number from a different integration.
Request rate, in-flight requests and queued work need separate boundaries in the brief. Sending new requests slowly does not by itself bound how many long-running calls remain active or how much waiting work accumulates. Agree a maximum for each and an explicit response when either the in-flight or queue boundary fills. Do not accept “it retries automatically” as the answer to all three decisions.
Handle 429 and both forms of Retry-After
Retry-After can contain an HTTP date or a non-negative integer number of seconds to delay after receiving the response.[1] An implementation that only understands one form needs that limitation identified and resolved against the provider's contract.
For a fictional stock-sync job receiving 429 with Retry-After: 120, the proposed acceptance rule is to defer further requests within the affected quota scope for at least that delay. This does not mean the pending synchronization finished, that stock is fresh, or that the next attempt will succeed.
Agree a bounded fallback for a missing or unusable header: a delay policy, a retry ceiling, an overall work deadline and an escalation owner. Those values depend on the provider and the business need; this guide does not supply universal settings. Never turn a missing header into an immediate endless retry loop.
A wait that extends past the useful deadline needs a visible outcome. For example, a proposed inventory screen might show the last successful sync time and a delayed-update message rather than quietly presenting old stock as current. That is a design choice to agree, not a feature this article claims has been built.
Bound the backlog and protect other users
Write down which work shares a throttle and which work must remain separately usable. Do not assume a staff button has spare capacity just because it uses a different screen. Ask for a demonstration with one synthetic integration busy and another permitted user carrying out an ordinary task.
For the fictional stock workflow, choose what happens to updates arriving during a pause:
- Keep every required change, with a bounded backlog and a defined overflow action.
- Combine superseded updates only when the business meaning permits it.
- Stop or reject new work explicitly when neither safe storage nor safe consolidation is available.
A “latest stock value” update and a “record this stock movement” event are different requirements. Combining them indiscriminately could discard work the business needs. Have the buyer approve the distinction before using consolidation to reduce calls.
Separate throttling from duplicate prevention. Waiting controls when another request is attempted; it does not establish whether repeating a write creates another business effect. Use the separate safe-retries planning guide to define action identity and uncertain-outcome handling.
API rate-limit acceptance worksheet
Ask the developer to run controlled checks with synthetic data and an approved test environment. Avoid deliberately exhausting a live provider allowance or disturbing real users merely to test a screen. A simulated upstream response can check application behavior, but cannot by itself prove a provider's actual enforcement.
| Planning case | Expected behavior to agree | Evidence to request | Status |
|---|---|---|---|
| A scoped request receives 429 and an integer Retry-After | Affected work waits; no success claim appears | Response, scope identity, next permitted attempt time and request trace | Not run |
| Retry-After contains an HTTP date | The date is interpreted under the agreed clock assumptions | Controlled clock conditions and observed attempt times | Not run |
| Retry-After is absent or malformed | Bounded fallback applies; no tight retry loop forms | Delay sequence, attempt ceiling and terminal outcome | Not run |
| New work arrives while waiting | Backlog stays within its agreed boundary; overflow is explicit | Queue counts and retained, combined or rejected synthetic items | Not run |
| Another user acts during a busy sync | The agreed isolation or shared-limit behavior is visible | Both users' request traces and UI outcomes | Not run |
| Delay outlasts the business deadline | Work is marked delayed or stopped and reaches its named owner | Deadline record, visible status and escalation result | Not run |
| Service recovers with work waiting | Recovery respects the agreed rate and in-flight limits | Dispatch trace and reconciled final business records | Not run |
Keep request traces free of credentials and sensitive business payloads. For each result, record the application revision, upstream API version where applicable, test configuration, clock conditions, expected outcome, observed outcome and remaining limitation. Ask the developer to review the proposed checks and run the relevant implementation tests; do not convert this worksheet into a pass report without that evidence.
Agree the handover before signing off
Before sign-off, be able to finish these sentences:
“Our requests share a budget with ___. When that budget is unavailable, we ___. We allow at most ___ in-flight requests and keep at most ___ waiting items under the agreed retention rules. Work stops or escalates when ___. Staff can tell the information is delayed by ___. The person responsible is ___.”
Blank spaces are useful here. They expose decisions that a generic retry setting cannot make for you.
If you are planning an integration, use the CodeDrawn Digital project brief to describe the systems, expected workload and acceptable delay without including API keys or private records. The helper lets you prepare a brief and request an email draft; it does not submit an inquiry or confirm app opening, sending or receipt.
Sources
[1] https:
[2] https: