GTM Engineering term, automation and APIs

API rate limit

An API rate limit is a cap a service sets on how many requests a client can make within a time window, enforced by rejecting or delaying excess requests.

Also called: rate limiting, API throttling, 429 error, API quota, API limits

API rate limit sits under every stage: it's part of the data and systems the whole funnel runs on, near related terms like API, REST API and Retry logic (the blue squares).

An API rate limit is a cap a service puts on how many requests you can make in a set window, like 100 per 10 seconds or a fixed number per day. Go over it and the API rejects you, usually with a 429 error. For GTM teams, rate limits decide how fast enrichment runs, how fresh CRM syncs stay and whether one runaway workflow takes down every other integration.

How it works

Providers count requests per key, per app, per user or per account, then enforce one or more windows:

  • Burst limits: requests per second or per 10 seconds, to protect servers from spikes.
  • Sustained quotas: requests per day, often on a rolling 24-hour basis. Salesforce, for example, allocates a daily API request budget per org based on edition and licenses.
  • Cost-based limits: common with GraphQL, where bigger queries spend more points.
  • Concurrency limits: how many requests can be in flight at once.

When you exceed a limit, a REST API typically returns 429 Too Many Requests, often with a Retry-After header and headers showing remaining budget. Good retry logic reads those headers and waits instead of hammering the API.

The detail teams miss: limits are usually shared. Your marketing automation sync, sequencer, enrichment workflows and BI connector may all draw on the same CRM budget.

Example

Say you want to enrich 40,000 CRM records and each record needs 3 calls: read the record, call your enrichment API, write the result. That's 120,000 requests. If the CRM allows 100 requests per 10 seconds (assumption), that's 10 per second, so the CRM side alone takes 80,000 / 10 = 8,000 seconds, about 2.2 hours, while starving every other integration.

Now redesign it. Pull records with a search endpoint at 100 per page (400 calls) and write back with batch updates of 100 (400 calls). CRM usage drops from 80,000 calls to 800, about 80 seconds of budget. The enrichment provider's own limit becomes the constraint, which you can plan around separately.

How to plan around rate limits

  1. Inventory consumers. List every tool and workflow hitting each API and roughly how many calls a day.
  2. Read the limits. Note per-second, per-day and per-endpoint caps, and whether batch endpoints count as one call.
  3. Fetch only changes. Use modified-since filters instead of re-pulling everything, especially when polling.
  4. Throttle on purpose. Queue big jobs and run them off-hours at a steady pace below the limit.
  5. Handle 429s. Back off, honor Retry-After, and alert through your error handling if retries run out.

Common mistakes

  • Running a backfill of 100,000 records during business hours and breaking live lead routing.
  • Retrying instantly in a tight loop, which extends the lockout.
  • Forgetting that every integration shares the same budget.
  • Building one-record-at-a-time loops when batch endpoints exist.
  • Never watching remaining-quota headers until something fails.
  • Treating data enrichment credits and API rate limits as the same constraint.

FAQ

What happens when you hit an API rate limit?

The API rejects extra requests, usually with an HTTP 429 Too Many Requests status. Many APIs include a Retry-After header or rate limit headers telling you when you can try again, and well-built integrations wait and retry automatically.

How do you avoid API rate limits?

Use batch endpoints, request only changed records, spread jobs out over time, cache data you've already fetched and add backoff when you get a 429. Also remember that every integration on the same account usually shares the same limit.

What is the difference between a rate limit and a quota?

A rate limit controls how fast you can call, such as requests per second or per 10 seconds. A quota caps the total over a longer period, such as requests per day or credits per month. Many APIs enforce both.

See all automation and APIs terms ↳

Used in these articles